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.001318/0.001318, allocations: 109.1 kB / 16.41 MB, free: 6.461 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.001541/0.001541, allocations: 189.5 kB / 17.34 MB, free: 5.723 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.788/1.788, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2363/0.2363, allocations: 43.53 MB / 314.1 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.001381/0.001381, allocations: 69.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1222, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007089/0.1293, allocations: 5.274 MB / 0.493 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.1329, allocations: 1.624 MB / 0.4946 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.1333, allocations: 20 kB / 0.4946 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.1368, allocations: 1.587 MB / 0.4962 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000978/0.1378, allocations: 313.6 kB / 0.4965 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1392, allocations: 0.6735 MB / 0.4971 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.1404, allocations: 0.8047 MB / 0.4979 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.1416, allocations: 0.7367 MB / 0.4986 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.1421, allocations: 338.7 kB / 0.499 GB, free: 372 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005591/0.1426, allocations: 462.2 kB / 0.4994 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.466e-05/0.1427, allocations: 76 kB / 0.4995 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004843/0.1432, allocations: 191.8 kB / 0.4997 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1434, allocations: 175.3 kB / 0.4998 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.1438, allocations: 429.9 kB / 0.5002 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.145, allocations: 1.156 MB / 0.5014 GB, free: 13.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.145, allocations: 0 / 0.5014 GB, free: 13.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.145, allocations: 0 / 0.5014 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.145, allocations: 0 / 0.5014 GB, free: 13.89 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.003263/0.1483, allocations: 1.346 MB / 0.5027 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1483, allocations: 11.89 kB / 0.5027 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.1497, allocations: 227.7 kB / 0.5029 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.15, allocations: 263.8 kB / 0.5032 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/0.1501, allocations: 74.38 kB / 0.5032 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.1502, allocations: 100.1 kB / 0.5033 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.1517, allocations: 0.9321 MB / 0.5042 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.1517, allocations: 7.844 kB / 0.5043 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/0.1518, allocations: 40 kB / 0.5043 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.1519, allocations: 24 kB / 0.5043 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.153, allocations: 0.7299 MB / 0.505 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004569/0.1576, allocations: 3.898 MB / 0.5088 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.1602, allocations: 3.387 MB / 0.5121 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.1606, allocations: 288.5 kB / 0.5124 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.1607, allocations: 101.4 kB / 0.5125 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1608, allocations: 42.89 kB / 0.5126 GB, free: 1.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.1608, allocations: 0 / 0.5126 GB, free: 1.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002574/0.1634, allocations: 1.334 MB / 0.5139 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.1634, allocations: 136.5 kB / 0.514 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.1638, allocations: 318.8 kB / 0.5143 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.1638, allocations: 33.7 kB / 0.5143 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.1641, allocations: 402.4 kB / 0.5147 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.1642, allocations: 228.7 kB / 0.5149 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.1644, allocations: 150.5 kB / 0.5151 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1646, allocations: 346.8 kB / 0.5154 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.1649, allocations: 201.9 kB / 0.5156 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.1654, allocations: 396.6 kB / 0.516 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.1662, allocations: 0.631 MB / 0.5166 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1663, allocations: 0 / 0.5166 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001425/0.1677, allocations: 0.8737 MB / 0.5174 GB, free: 11.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1677, allocations: 8 kB / 0.5174 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1677, allocations: 4 kB / 0.5175 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.1684, allocations: 227.3 kB / 0.5177 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.1688, allocations: 139.8 kB / 0.5178 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005277/0.1741, allocations: 6.713 MB / 0.5244 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.1746, allocations: 87.17 kB / 0.5244 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.1747, allocations: 32 kB / 0.5245 GB, free: 4.195 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.0003243/0.175, allocations: 222.9 kB / 0.5247 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.1751, allocations: 39.53 kB / 0.5247 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.1763, allocations: 0.6985 MB / 0.5254 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1763, allocations: 8 kB / 0.5254 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1763, allocations: 8 kB / 0.5254 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.1763, allocations: 3.984 kB / 0.5254 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.1786, allocations: 1.562 MB / 0.5269 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1786, allocations: 0 / 0.5269 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.1789, allocations: 67.91 kB / 0.527 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004987/0.1794, allocations: 211.2 kB / 0.5272 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.1795, allocations: 20 kB / 0.5272 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2687/0.4481, allocations: 6.689 MB / 0.5338 GB, free: 34.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4482, allocations: 5.812 kB / 0.5338 GB, free: 34.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.4498, allocations: 1.182 MB / 0.5349 GB, free: 33.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.4499, allocations: 124 kB / 0.535 GB, free: 33.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.45, allocations: 15.78 kB / 0.5351 GB, free: 33.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.4503, allocations: 12.78 kB / 0.5351 GB, free: 33.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.4505, allocations: 61.5 kB / 0.5351 GB, free: 33.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.4505, allocations: 20.84 kB / 0.5351 GB, free: 33.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.4508, allocations: 212.1 kB / 0.5354 GB, free: 33.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4508, allocations: 0 / 0.5354 GB, free: 33.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001115/0.4519, allocations: 276.8 kB / 0.5356 GB, free: 33.61 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.0002497/0.4522, allocations: 138.8 kB / 0.5357 GB, free: 33.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.4537, allocations: 1.08 MB / 0.5368 GB, free: 33.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4537, allocations: 0 / 0.5368 GB, free: 33.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007688/0.4545, allocations: 0.7693 MB / 0.5376 GB, free: 32.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.4552, allocations: 52.09 kB / 0.5376 GB, free: 32.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.4573, allocations: 1.22 MB / 0.5388 GB, free: 32.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.4578, allocations: 0.9132 MB / 0.5397 GB, free: 31.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000254/0.458, allocations: 73.44 kB / 0.5398 GB, free: 31.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.4581, allocations: 32.77 kB / 0.5398 GB, free: 31.33 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4581, allocations: 0 / 0.5398 GB, free: 31.33 MB / 414.1 MB Notification: Performance of Templates: time 0.01462/0.4728, allocations: 6.802 MB / 0.5464 GB, free: 30.84 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/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