Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 203.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3838/0.3838, allocations: 43.49 MB / 313.5 MB, free: 8.293 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 60.47 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1682, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006692/0.175, allocations: 5.26 MB / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.1782, allocations: 1.605 MB / 446.7 MB, free: 7.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.1786, allocations: 20 kB / 446.7 MB, free: 7.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003255/0.1819, allocations: 1.506 MB / 448.2 MB, free: 6.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007922/0.1827, allocations: 254.4 kB / 448.5 MB, free: 5.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.184, allocations: 0.6467 MB / 449.1 MB, free: 5.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007585/0.1848, allocations: 0.7658 MB / 449.9 MB, free: 4.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.1858, allocations: 0.6687 MB / 450.5 MB, free: 3.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.1862, allocations: 314.8 kB / 450.9 MB, free: 3.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005177/0.1868, allocations: 462.1 kB / 451.3 MB, free: 3.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.705e-05/0.1869, allocations: 56 kB / 451.4 MB, free: 3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.1873, allocations: 175.8 kB / 451.5 MB, free: 2.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1874, allocations: 159.3 kB / 451.7 MB, free: 2.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.1878, allocations: 413.9 kB / 452.1 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.189, allocations: 1.121 MB / 453.2 MB, free: 1.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.189, allocations: 4 kB / 453.2 MB, free: 1.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.189, allocations: 0 / 453.2 MB, free: 1.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.189, allocations: 0 / 453.2 MB, free: 1.137 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.2658/0.4548, allocations: 1.349 MB / 454.6 MB, free: 48.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.804e-05/0.4549, allocations: 8.969 kB / 454.6 MB, free: 48.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.4567, allocations: 230 kB / 454.8 MB, free: 48.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.4571, allocations: 256.4 kB / 455 MB, free: 48.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.4572, allocations: 81.91 kB / 455.1 MB, free: 48.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.4574, allocations: 98.22 kB / 455.2 MB, free: 48.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.459, allocations: 0.934 MB / 456.2 MB, free: 48.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.459, allocations: 12.53 kB / 456.2 MB, free: 48.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/0.4591, allocations: 39.52 kB / 456.2 MB, free: 48.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.4591, allocations: 22.69 kB / 456.2 MB, free: 48.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.4603, allocations: 0.7218 MB / 457 MB, free: 48.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/0.4642, allocations: 3.944 MB / 460.9 MB, free: 45.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.466, allocations: 3.38 MB / 464.3 MB, free: 42.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.4663, allocations: 289.6 kB / 464.6 MB, free: 41.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-05/0.4664, allocations: 92.16 kB / 464.6 MB, free: 41.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4664, allocations: 53.28 kB / 464.7 MB, free: 41.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.395e-06/0.4664, allocations: 0 / 464.7 MB, free: 41.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002236/0.4687, allocations: 1.319 MB / 466 MB, free: 41.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.4687, allocations: 141.2 kB / 466.2 MB, free: 40.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.4691, allocations: 318 kB / 466.5 MB, free: 40.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.4691, allocations: 39.89 kB / 466.5 MB, free: 40.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.4693, allocations: 399.3 kB / 466.9 MB, free: 40.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.4694, allocations: 232.2 kB / 467.1 MB, free: 40.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.4696, allocations: 141.8 kB / 467.3 MB, free: 40.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.4697, allocations: 348.9 kB / 467.6 MB, free: 39.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.47, allocations: 201.9 kB / 467.8 MB, free: 39.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.4704, allocations: 403.2 kB / 468.2 MB, free: 39.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.471, allocations: 0.6278 MB / 468.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.471, allocations: 3.938 kB / 468.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001215/0.4723, allocations: 0.8824 MB / 469.7 MB, free: 38.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4723, allocations: 6.656 kB / 469.7 MB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4723, allocations: 6.5 kB / 469.7 MB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005763/0.4729, allocations: 230.1 kB / 469.9 MB, free: 38.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.4733, allocations: 136.2 kB / 470.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003899/0.4772, allocations: 6.23 MB / 476.3 MB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.4778, allocations: 88.47 kB / 476.4 MB, free: 32.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.4778, allocations: 36.84 kB / 476.4 MB, free: 32.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * 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,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003642/0.4782, allocations: 230.8 kB / 476.7 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.4783, allocations: 41.12 kB / 476.7 MB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.4795, allocations: 0.692 MB / 477.4 MB, free: 32.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4795, allocations: 9.25 kB / 477.4 MB, free: 32.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4795, allocations: 7.281 kB / 477.4 MB, free: 32.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.4795, allocations: 7.844 kB / 477.4 MB, free: 32.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.4817, allocations: 1.561 MB / 479 MB, free: 31.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4817, allocations: 6.656 kB / 479 MB, free: 31.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.482, allocations: 62.81 kB / 479 MB, free: 31.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/0.4824, allocations: 219.3 kB / 479.3 MB, free: 31.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.4825, allocations: 14.19 kB / 479.3 MB, free: 31.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003907/0.4864, allocations: 6.216 MB / 485.5 MB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4864, allocations: 3.938 kB / 485.5 MB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.4878, allocations: 1.187 MB / 486.7 MB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/0.4879, allocations: 129 kB / 486.8 MB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.4879, allocations: 11.34 kB / 486.8 MB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.4882, allocations: 14.31 kB / 486.8 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.4883, allocations: 58.31 kB / 486.9 MB, free: 24.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.4884, allocations: 17.22 kB / 486.9 MB, free: 24.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.4886, allocations: 218.4 kB / 487.1 MB, free: 24.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4886, allocations: 3.609 kB / 487.1 MB, free: 24.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009806/0.4896, allocations: 279.3 kB / 487.4 MB, free: 24.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002435/0.4898, allocations: 143.7 kB / 487.5 MB, free: 24.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.4911, allocations: 1.071 MB / 488.6 MB, free: 23.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4911, allocations: 4 kB / 488.6 MB, free: 23.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006435/0.4918, allocations: 0.7829 MB / 489.4 MB, free: 22.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.4925, allocations: 40.39 kB / 489.4 MB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.4948, allocations: 1.594 MB / 491 MB, free: 21.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.4952, allocations: 0.915 MB / 491.9 MB, free: 21.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.4955, allocations: 62.7 kB / 492 MB, free: 21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/0.4956, allocations: 36.92 kB / 492 MB, free: 21 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4956, allocations: 4 kB / 492 MB, free: 20.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01287/0.5085, allocations: 6.417 MB / 498.5 MB, free: 20.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches