Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 112.6 kB / 17.75 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 187 kB / 18.68 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009999/0.0009999, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2115, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007664/0.2192, allocations: 6.461 MB / 407.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.2233, allocations: 2.534 MB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005313/0.2239, allocations: 20 kB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.2268, allocations: 1.271 MB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.2283, allocations: 0.6867 MB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.2303, allocations: 1.118 MB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000998/0.2314, allocations: 1.067 MB / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.2325, allocations: 0.8951 MB / 415.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.2329, allocations: 438.4 kB / 415.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005828/0.2335, allocations: 0.5446 MB / 416.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.2337, allocations: 100 kB / 416.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000675/0.2343, allocations: 407.6 kB / 416.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.2345, allocations: 223.2 kB / 417.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004286/0.235, allocations: 0.5208 MB / 417.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.2365, allocations: 1.51 MB / 419.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2365, allocations: 0 / 419.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2365, allocations: 3.984 kB / 419.2 MB, free: 7.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.2365, allocations: 0 / 419.2 MB, free: 7.02 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004011/0.2406, allocations: 1.657 MB / 420.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2406, allocations: 8.031 kB / 420.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.2438, allocations: 483.8 kB / 421.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/0.2444, allocations: 498.4 kB / 421.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.2445, allocations: 82.22 kB / 421.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.2447, allocations: 115.9 kB / 422 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.2464, allocations: 0.9706 MB / 423 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.2465, allocations: 4 kB / 423 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/0.2466, allocations: 44 kB / 423 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.2466, allocations: 28 kB / 423.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.2485, allocations: 0.9574 MB / 424 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005478/0.2539, allocations: 3.678 MB / 427.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.2559, allocations: 1.556 MB / 429.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000772/0.2567, allocations: 436.3 kB / 429.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.2568, allocations: 106.1 kB / 429.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008224/0.2576, allocations: 478.5 kB / 430.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.375e-06/0.2576, allocations: 0 / 430.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.008831/0.2665, allocations: 4.012 MB / 434.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.2666, allocations: 149.5 kB / 434.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.267, allocations: 393.6 kB / 434.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.2671, allocations: 45.7 kB / 434.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.2673, allocations: 436.9 kB / 435.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.2676, allocations: 440.2 kB / 435.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.2679, allocations: 202.9 kB / 435.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2681, allocations: 374.8 kB / 436.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007219/0.2688, allocations: 358.5 kB / 436.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008482/0.2697, allocations: 0.5351 MB / 437.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.2713, allocations: 0.945 MB / 438.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2713, allocations: 7.938 kB / 438.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002552/0.2739, allocations: 1.382 MB / 439.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2739, allocations: 11.94 kB / 439.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2739, allocations: 8 kB / 439.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008844/0.2748, allocations: 355.1 kB / 439.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/0.2757, allocations: 207.6 kB / 440 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007875/0.2836, allocations: 8.488 MB / 448.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/0.2842, allocations: 43.98 kB / 448.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.448e-05/0.2843, allocations: 51.98 kB / 448.6 MB, free: 8.137 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003507/0.2847, allocations: 253.5 kB / 448.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2848, allocations: 75.64 kB / 448.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/0.2874, allocations: 1.305 MB / 450.2 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.2874, allocations: 11.91 kB / 450.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2875, allocations: 0 / 450.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.2877, allocations: 228.5 kB / 450.5 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2878, allocations: 20 kB / 450.5 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.2883, allocations: 43.92 kB / 450.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.2885, allocations: 104.8 kB / 450.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00329/0.2918, allocations: 1.476 MB / 452.1 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002579/0.2944, allocations: 1.617 MB / 453.7 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007193/0.2951, allocations: 399.8 kB / 454.1 MB, free: 2.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002854/0.2954, allocations: 267.2 kB / 454.4 MB, free: 2.289 MB / 366.1 MB Notification: Performance of Backend: time 1.864e-06/0.2954, allocations: 4 kB / 454.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.2982, allocations: 1.557 MB / 456 MB, free: 0.668 MB / 366.1 MB Notification: Performance of SimCode: time 0.002681/0.3009, allocations: 2.4 MB / 458.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of Templates: time 0.02297/0.3239, allocations: 14.88 MB / 473.2 MB, free: 15.33 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches