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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 179.4 kB / 8.519 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 221.4 MB / 230.3 MB, free: 7.664 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009006/0.0009006, allocations: 92.03 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1764/0.1764, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.081e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 61.91 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4663, allocations: 92.3 MB / 0.5842 GB, free: 4.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4666, allocations: 79.95 kB / 0.5843 GB, free: 4.402 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06155/0.5282, allocations: 26.44 MB / 0.6101 GB, free: 9.617 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.5282, allocations: 16 kB / 0.6101 GB, free: 9.602 MB / 426.7 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.002534/0.5308, allocations: 1.037 MB / 0.6112 GB, free: 8.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.5308, allocations: 11.97 kB / 0.6112 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.5324, allocations: 246.8 kB / 0.6114 GB, free: 8.266 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.5327, allocations: 250.5 kB / 0.6116 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.5328, allocations: 46 kB / 0.6117 GB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.533, allocations: 67.89 kB / 0.6118 GB, free: 7.863 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001314/0.5343, allocations: 0.6249 MB / 0.6124 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.5357, allocations: 0.7716 MB / 0.6131 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.5357, allocations: 4 kB / 0.6131 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.5358, allocations: 3.906 kB / 0.6131 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.5359, allocations: 24 kB / 0.6132 GB, free: 6.418 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005202/0.5411, allocations: 3.788 MB / 0.6168 GB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008325/0.5419, allocations: 0.5744 MB / 0.6174 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.5423, allocations: 240.1 kB / 0.6176 GB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.5425, allocations: 97.41 kB / 0.6177 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.5425, allocations: 50.83 kB / 0.6178 GB, free: 1.273 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 3.717e-06/0.5425, allocations: 0 / 0.6178 GB, free: 1.273 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.001715/0.5443, allocations: 0.6093 MB / 0.6184 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/0.5444, allocations: 140.6 kB / 0.6185 GB, free: 492 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.5447, allocations: 244.8 kB / 0.6187 GB, free: 244 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.5447, allocations: 25.7 kB / 0.6188 GB, free: 212 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.5451, allocations: 394.4 kB / 0.6191 GB, free: 15.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.5453, allocations: 220.7 kB / 0.6194 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.5453, allocations: 0 / 0.6194 GB, free: 15.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.5455, allocations: 346.8 kB / 0.6197 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.5458, allocations: 178 kB / 0.6199 GB, free: 15.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.5464, allocations: 382.7 kB / 0.6202 GB, free: 14.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006774/0.5471, allocations: 273.9 kB / 0.6205 GB, free: 14.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.5471, allocations: 4 kB / 0.6205 GB, free: 14.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001676/0.5487, allocations: 0.8143 MB / 0.6213 GB, free: 13.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5488, allocations: 4 kB / 0.6213 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.5488, allocations: 8 kB / 0.6213 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007143/0.5495, allocations: 207.5 kB / 0.6215 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.5501, allocations: 139.8 kB / 0.6216 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005439/0.5556, allocations: 5.849 MB / 0.6273 GB, free: 6.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.5562, allocations: 63.28 kB / 0.6274 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.5563, allocations: 51.91 kB / 0.6274 GB, free: 6.723 MB / 442.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.5565, allocations: 124.7 kB / 0.6276 GB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.5566, allocations: 39.53 kB / 0.6276 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.5581, allocations: 0.6743 MB / 0.6283 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.5582, allocations: 8 kB / 0.6283 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5582, allocations: 4 kB / 0.6283 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.5582, allocations: 3.984 kB / 0.6283 GB, free: 5.852 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.5607, allocations: 1.5 MB / 0.6297 GB, free: 4.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5607, allocations: 8.469 kB / 0.6297 GB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.561, allocations: 63.91 kB / 0.6298 GB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005405/0.5615, allocations: 211.2 kB / 0.63 GB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.5616, allocations: 11.91 kB / 0.63 GB, free: 3.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004763/0.5663, allocations: 5.838 MB / 0.6357 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5664, allocations: 7.906 kB / 0.6357 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001725/0.5681, allocations: 1.193 MB / 0.6369 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.5683, allocations: 128.5 kB / 0.637 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.5683, allocations: 3.984 kB / 0.637 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.5687, allocations: 4 kB / 0.637 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.5688, allocations: 35.86 kB / 0.6371 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.5688, allocations: 16 kB / 0.6371 GB, free: 12.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0002099/0.569, allocations: 185.3 kB / 0.6373 GB, free: 12.03 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001154/0.5702, allocations: 235.1 kB / 0.6375 GB, free: 11.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002839/0.5705, allocations: 137 kB / 0.6376 GB, free: 11.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.5719, allocations: 0.9514 MB / 0.6385 GB, free: 10.67 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5719, allocations: 0 / 0.6385 GB, free: 10.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.5726, allocations: 0.6828 MB / 0.6392 GB, free: 9.945 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.573, allocations: 16.5 kB / 0.6392 GB, free: 9.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.5752, allocations: 0.9557 MB / 0.6402 GB, free: 8.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/0.5758, allocations: 0.9612 MB / 0.6411 GB, free: 7.941 MB / 458.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5758, allocations: 4 kB / 0.6411 GB, free: 7.938 MB / 458.7 MB Notification: Performance of Templates: time 0.01445/0.5902, allocations: 7.799 MB / 0.6487 GB, free: 160 kB / 458.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches