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.001239/0.001239, allocations: 116.4 kB / 17.08 MB, free: 5.992 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.00111/0.00111, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.387/1.387, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2453/0.2453, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 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.002099/0.002099, allocations: 63.91 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1147, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006631/0.1213, allocations: 5.282 MB / 0.4937 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.1242, allocations: 1.616 MB / 0.4953 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.1248, allocations: 20 kB / 0.4953 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003439/0.1283, allocations: 1.599 MB / 0.4968 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.1293, allocations: 309.6 kB / 0.4971 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.1307, allocations: 0.6658 MB / 0.4978 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1318, allocations: 0.8125 MB / 0.4986 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.133, allocations: 0.7328 MB / 0.4993 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005064/0.1335, allocations: 342.8 kB / 0.4996 GB, free: 372 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006767/0.1342, allocations: 458.2 kB / 0.5001 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.1344, allocations: 76 kB / 0.5001 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.1349, allocations: 195.8 kB / 0.5003 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1351, allocations: 175.3 kB / 0.5005 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.1355, allocations: 421.9 kB / 0.5009 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.1368, allocations: 1.156 MB / 0.502 GB, free: 13.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1368, allocations: 0 / 0.502 GB, free: 13.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1368, allocations: 0 / 0.502 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.121e-05/0.1368, allocations: 0 / 0.502 GB, free: 13.9 MB / 398.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.003534/0.1404, allocations: 1.342 MB / 0.5033 GB, free: 12.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1404, allocations: 19.83 kB / 0.5034 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.1419, allocations: 227.7 kB / 0.5036 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1421, allocations: 271.7 kB / 0.5038 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.1422, allocations: 74.38 kB / 0.5039 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.1424, allocations: 100.1 kB / 0.504 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.1439, allocations: 0.9283 MB / 0.5049 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.144, allocations: 7.906 kB / 0.5049 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.404e-05/0.1441, allocations: 40 kB / 0.505 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.1441, allocations: 24 kB / 0.505 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.1453, allocations: 0.726 MB / 0.5057 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004727/0.1501, allocations: 3.898 MB / 0.5095 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.1526, allocations: 3.384 MB / 0.5128 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.153, allocations: 288.5 kB / 0.5131 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.1531, allocations: 93.38 kB / 0.5132 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1532, allocations: 54.81 kB / 0.5132 GB, free: 1.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.144e-06/0.1532, allocations: 0 / 0.5132 GB, free: 1.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002645/0.1558, allocations: 1.322 MB / 0.5145 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.1559, allocations: 140.5 kB / 0.5146 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.1563, allocations: 310.8 kB / 0.5149 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.1564, allocations: 37.7 kB / 0.515 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.1566, allocations: 402.3 kB / 0.5154 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.1568, allocations: 228.7 kB / 0.5156 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.157, allocations: 150.5 kB / 0.5157 GB, free: 14.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1572, allocations: 350.8 kB / 0.516 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.1575, allocations: 197.9 kB / 0.5162 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.158, allocations: 396.6 kB / 0.5166 GB, free: 13.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.1588, allocations: 0.6388 MB / 0.5172 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.1588, allocations: 4 kB / 0.5172 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001465/0.1603, allocations: 0.8697 MB / 0.5181 GB, free: 11.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1603, allocations: 8 kB / 0.5181 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1604, allocations: 8 kB / 0.5181 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/0.161, allocations: 223.3 kB / 0.5183 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.1615, allocations: 139.8 kB / 0.5185 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005632/0.1671, allocations: 6.705 MB / 0.525 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.1676, allocations: 83.19 kB / 0.5251 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.1677, allocations: 35.98 kB / 0.5251 GB, free: 4.207 MB / 414.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.0003169/0.168, allocations: 226.8 kB / 0.5253 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.1682, allocations: 39.53 kB / 0.5254 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.1694, allocations: 0.6986 MB / 0.5261 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.1694, allocations: 8 kB / 0.5261 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1695, allocations: 4 kB / 0.5261 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1695, allocations: 3.984 kB / 0.5261 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.1718, allocations: 1.562 MB / 0.5276 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1719, allocations: 4 kB / 0.5276 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.1721, allocations: 67.91 kB / 0.5277 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005401/0.1727, allocations: 219.2 kB / 0.5279 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.1727, allocations: 12 kB / 0.5279 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2305/0.4032, allocations: 6.684 MB / 0.5344 GB, free: 34.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4033, allocations: 4.984 kB / 0.5344 GB, free: 34.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.4055, allocations: 1.188 MB / 0.5356 GB, free: 33.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.4057, allocations: 127.6 kB / 0.5357 GB, free: 33.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.4058, allocations: 19.31 kB / 0.5357 GB, free: 33.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/0.4064, allocations: 14.53 kB / 0.5357 GB, free: 33.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.4066, allocations: 58.98 kB / 0.5358 GB, free: 33.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.4067, allocations: 17.53 kB / 0.5358 GB, free: 33.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003575/0.407, allocations: 215.2 kB / 0.536 GB, free: 33.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.407, allocations: 0 / 0.536 GB, free: 33.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001638/0.4087, allocations: 275.5 kB / 0.5363 GB, free: 33.59 MB / 414.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.0003005/0.409, allocations: 132.6 kB / 0.5364 GB, free: 33.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.4111, allocations: 1.083 MB / 0.5375 GB, free: 33.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4112, allocations: 0 / 0.5375 GB, free: 33.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.4124, allocations: 0.7665 MB / 0.5382 GB, free: 32.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.4136, allocations: 65.97 kB / 0.5383 GB, free: 32.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.4166, allocations: 1.252 MB / 0.5395 GB, free: 32.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.4171, allocations: 0.9139 MB / 0.5404 GB, free: 31.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.4173, allocations: 43.58 kB / 0.5404 GB, free: 31.29 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4173, allocations: 3.391 kB / 0.5404 GB, free: 31.29 MB / 414.1 MB Notification: Performance of Templates: time 0.02914/0.4465, allocations: 19.42 MB / 0.5594 GB, free: 24.19 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches