Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0024/0.002399, allocations: 170.2 kB / 8.144 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 96.02 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2801/0.2801, allocations: 43.49 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.293e-06/7.424e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2791, allocations: 58.83 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.4494, allocations: 90.8 MB / 0.554 GB, free: 8.277 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.4497, allocations: 83.45 kB / 0.5541 GB, free: 8.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.09712/0.5468, allocations: 26.26 MB / 0.5798 GB, free: 13.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.5469, allocations: 16 kB / 0.5798 GB, free: 13.56 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.003836/0.5508, allocations: 1.033 MB / 0.5808 GB, free: 12.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.5508, allocations: 8.031 kB / 0.5808 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.5533, allocations: 246.8 kB / 0.581 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.5536, allocations: 250.6 kB / 0.5813 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.5539, allocations: 57.86 kB / 0.5813 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.5541, allocations: 63.89 kB / 0.5814 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00214/0.5563, allocations: 0.6405 MB / 0.582 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.5585, allocations: 0.7483 MB / 0.5828 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.5586, allocations: 7.906 kB / 0.5828 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.5587, allocations: 0 / 0.5828 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.5587, allocations: 24 kB / 0.5828 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007944/0.5667, allocations: 3.784 MB / 0.5865 GB, free: 6.277 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.5681, allocations: 0.5762 MB / 0.587 GB, free: 5.664 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.5687, allocations: 247.8 kB / 0.5873 GB, free: 5.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.5689, allocations: 105.4 kB / 0.5874 GB, free: 5.289 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.563e-05/0.569, allocations: 46.8 kB / 0.5874 GB, free: 5.234 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 3.486e-06/0.569, allocations: 0 / 0.5874 GB, free: 5.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.002415/0.5714, allocations: 0.6074 MB / 0.588 GB, free: 4.609 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.5715, allocations: 140.4 kB / 0.5881 GB, free: 4.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.572, allocations: 240.8 kB / 0.5884 GB, free: 4.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.5721, allocations: 25.7 kB / 0.5884 GB, free: 4.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.5724, allocations: 456.8 kB / 0.5888 GB, free: 3.719 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.5726, allocations: 224.7 kB / 0.5891 GB, free: 3.496 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.5727, allocations: 4 kB / 0.5891 GB, free: 3.492 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5729, allocations: 338.8 kB / 0.5894 GB, free: 3.152 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.5734, allocations: 186 kB / 0.5896 GB, free: 2.973 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/0.5742, allocations: 374.7 kB / 0.5899 GB, free: 2.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.5753, allocations: 268.6 kB / 0.5902 GB, free: 2.262 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5753, allocations: 0 / 0.5902 GB, free: 2.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002818/0.5781, allocations: 0.8065 MB / 0.591 GB, free: 1.434 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5781, allocations: 4 kB / 0.591 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5782, allocations: 4 kB / 0.591 GB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008479/0.579, allocations: 187.5 kB / 0.5911 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.5801, allocations: 143.8 kB / 0.5913 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007587/0.5877, allocations: 5.837 MB / 0.597 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/0.5885, allocations: 51.38 kB / 0.597 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.5887, allocations: 40.55 kB / 0.5971 GB, free: 10.7 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.0001819/0.5889, allocations: 54.02 kB / 0.5971 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.5891, allocations: 35.53 kB / 0.5972 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/0.5919, allocations: 0.6718 MB / 0.5978 GB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.592, allocations: 4 kB / 0.5978 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.592, allocations: 11.98 kB / 0.5978 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.592, allocations: 7.938 kB / 0.5978 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.5961, allocations: 1.516 MB / 0.5993 GB, free: 8.293 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.5962, allocations: 3.938 kB / 0.5993 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.5968, allocations: 71.91 kB / 0.5994 GB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.5978, allocations: 215.2 kB / 0.5996 GB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/0.5979, allocations: 3.984 kB / 0.5996 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007762/0.6057, allocations: 5.838 MB / 0.6053 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.6057, allocations: 3.906 kB / 0.6053 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003007/0.6087, allocations: 1.191 MB / 0.6065 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.609, allocations: 136.4 kB / 0.6066 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.6091, allocations: 0 / 0.6066 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.6098, allocations: 12.06 kB / 0.6066 GB, free: 296 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.6099, allocations: 39.75 kB / 0.6066 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.61, allocations: 23.98 kB / 0.6067 GB, free: 232 kB / 442.7 MB Notification: Performance of sort global known variables: time 0.0002915/0.6103, allocations: 173.2 kB / 0.6068 GB, free: 60 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001393/0.6117, allocations: 243.1 kB / 0.6071 GB, free: 15.82 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.0003354/0.612, allocations: 127.1 kB / 0.6072 GB, free: 15.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.6145, allocations: 0.9552 MB / 0.6081 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.6146, allocations: 320 / 0.6081 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.616, allocations: 0.6861 MB / 0.6088 GB, free: 13.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.6166, allocations: 24.61 kB / 0.6088 GB, free: 13.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.6203, allocations: 0.9964 MB / 0.6098 GB, free: 12.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009906/0.6213, allocations: 0.969 MB / 0.6107 GB, free: 11.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6213, allocations: 0 / 0.6107 GB, free: 11.9 MB / 458.7 MB Notification: Performance of Templates: time 0.032/0.6534, allocations: 18.84 MB / 0.6291 GB, free: 9.016 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches