Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_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.00112/0.00112, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001044/0.001044, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.352/1.352, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.202/0.202, allocations: 44.19 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 72.3 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1273, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006867/0.1342, allocations: 5.301 MB / 475.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.1374, allocations: 1.569 MB / 476.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.1377, allocations: 20 kB / 476.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003286/0.1411, allocations: 1.602 MB / 478.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008298/0.1419, allocations: 309.6 kB / 478.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.1433, allocations: 0.6842 MB / 479.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008653/0.1442, allocations: 0.7893 MB / 480.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.1453, allocations: 0.7331 MB / 480.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.1457, allocations: 338.7 kB / 481.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005826/0.1463, allocations: 466.2 kB / 481.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.1465, allocations: 72 kB / 481.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.1469, allocations: 195.8 kB / 482 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.1471, allocations: 175.4 kB / 482.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.1474, allocations: 429.9 kB / 482.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1486, allocations: 1.148 MB / 483.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1486, allocations: 0 / 483.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1486, allocations: 0 / 483.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1486, allocations: 0 / 483.7 MB, free: 0.5273 MB / 350.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.003159/0.1518, allocations: 1.35 MB / 485.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1518, allocations: 15.97 kB / 485.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.1532, allocations: 223.8 kB / 485.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.1535, allocations: 251.8 kB / 485.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.1536, allocations: 82.55 kB / 485.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.1538, allocations: 103.8 kB / 485.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.1552, allocations: 0.9322 MB / 486.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.1552, allocations: 0 / 486.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/0.1553, allocations: 43.98 kB / 486.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.1554, allocations: 24 kB / 486.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.1568, allocations: 0.7223 MB / 487.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004968/0.1618, allocations: 3.948 MB / 491.4 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.1644, allocations: 3.384 MB / 494.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.1648, allocations: 289.4 kB / 495.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.1649, allocations: 93.42 kB / 495.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1649, allocations: 50.83 kB / 495.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.825e-06/0.1649, allocations: 0 / 495.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002637/0.1676, allocations: 1.321 MB / 496.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.1676, allocations: 136.5 kB / 496.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.168, allocations: 318.8 kB / 497 MB, free: 2.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.1681, allocations: 33.7 kB / 497 MB, free: 1.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.1683, allocations: 406.4 kB / 497.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.1685, allocations: 228.7 kB / 497.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.1687, allocations: 146.5 kB / 497.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1688, allocations: 362.7 kB / 498.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.1692, allocations: 193.9 kB / 498.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.1696, allocations: 404.6 kB / 498.7 MB, free: 176 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008477/0.1705, allocations: 0.6297 MB / 499.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1705, allocations: 4 kB / 499.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001399/0.1719, allocations: 0.8788 MB / 0.4885 GB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.172, allocations: 8 kB / 0.4885 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.172, allocations: 4 kB / 0.4885 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.1726, allocations: 227.3 kB / 0.4887 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.1731, allocations: 139.8 kB / 0.4889 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005539/0.1786, allocations: 6.697 MB / 0.4954 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.1791, allocations: 91.05 kB / 0.4955 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.1792, allocations: 32 kB / 0.4955 GB, free: 6.797 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.0003438/0.1796, allocations: 225.5 kB / 0.4957 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.1797, allocations: 47.5 kB / 0.4958 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.1809, allocations: 0.6793 MB / 0.4964 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.181, allocations: 8 kB / 0.4965 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.181, allocations: 11.98 kB / 0.4965 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.181, allocations: 0 / 0.4965 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.1835, allocations: 1.581 MB / 0.498 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1835, allocations: 3.938 kB / 0.498 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.1838, allocations: 68.19 kB / 0.4981 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005459/0.1843, allocations: 223.2 kB / 0.4983 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.1844, allocations: 15.98 kB / 0.4983 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2316/0.416, allocations: 6.68 MB / 0.5048 GB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.416, allocations: 10.84 kB / 0.5048 GB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.4177, allocations: 1.189 MB / 0.506 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.4179, allocations: 133.3 kB / 0.5061 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.4179, allocations: 12.77 kB / 0.5061 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.4183, allocations: 16.06 kB / 0.5062 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4184, allocations: 50.69 kB / 0.5062 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.4185, allocations: 17.94 kB / 0.5062 GB, free: 45.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00027/0.4187, allocations: 213.9 kB / 0.5064 GB, free: 45.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.4188, allocations: 3.719 kB / 0.5064 GB, free: 45.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00112/0.4199, allocations: 273.3 kB / 0.5067 GB, free: 45.32 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.0002732/0.4202, allocations: 146.4 kB / 0.5068 GB, free: 45.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.4218, allocations: 1.096 MB / 0.5079 GB, free: 44.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4218, allocations: 0 / 0.5079 GB, free: 44.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.4226, allocations: 0.776 MB / 0.5087 GB, free: 44.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.4233, allocations: 42.92 kB / 0.5087 GB, free: 44.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.4255, allocations: 1.269 MB / 0.5099 GB, free: 43.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.4259, allocations: 0.9089 MB / 0.5108 GB, free: 42.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.426, allocations: 44.25 kB / 0.5109 GB, free: 42.72 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.426, allocations: 1.188 kB / 0.5109 GB, free: 42.72 MB / 382.1 MB Notification: Performance of Templates: time 0.02004/0.4461, allocations: 19.39 MB / 0.5298 GB, free: 33.75 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches