Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [: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 3.2.3+maint.om/package.mo): time 0.001702/0.001701, allocations: 179 kB / 8.151 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.2 MB / 213.7 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 90.31 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.597e-06, allocations: 0 / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2502, allocations: 47.54 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.3757, allocations: 81.26 MB / 443.1 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.3761, allocations: 95.88 kB / 443.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1001/0.4762, allocations: 25.4 MB / 468.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.608e-05/0.4763, allocations: 12 kB / 468.6 MB, free: 11.06 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004888/0.4812, allocations: 1.087 MB / 469.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.4812, allocations: 8.031 kB / 469.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/0.4843, allocations: 274.7 kB / 470 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.4847, allocations: 257.9 kB / 470.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/0.4848, allocations: 32 kB / 470.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/0.4852, allocations: 59.98 kB / 470.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002645/0.4878, allocations: 0.6991 MB / 471 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.4904, allocations: 0.7782 MB / 471.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.637e-05/0.4905, allocations: 11.91 kB / 471.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.4906, allocations: 0 / 471.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.4907, allocations: 27.94 kB / 471.8 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009583/0.5003, allocations: 3.256 MB / 475.1 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.5033, allocations: 0.7795 MB / 475.9 MB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.5047, allocations: 395 kB / 476.2 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.505, allocations: 105.8 kB / 476.3 MB, free: 3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.5051, allocations: 43.41 kB / 476.4 MB, free: 2.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 3.797e-06/0.5051, allocations: 0 / 476.4 MB, free: 2.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.002801/0.5079, allocations: 0.6576 MB / 477 MB, free: 2.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.508, allocations: 90.92 kB / 477.1 MB, free: 2.164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005847/0.5086, allocations: 271.2 kB / 477.4 MB, free: 1.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.5087, allocations: 33.73 kB / 477.4 MB, free: 1.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.509, allocations: 437.2 kB / 477.9 MB, free: 1.418 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.5094, allocations: 291.6 kB / 478.1 MB, free: 1.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.5095, allocations: 0 / 478.1 MB, free: 1.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5097, allocations: 346.8 kB / 478.5 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.5105, allocations: 230.6 kB / 478.7 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009826/0.5115, allocations: 436.9 kB / 479.1 MB, free: 52 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.5129, allocations: 338.8 kB / 479.5 MB, free: 15.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.513, allocations: 4 kB / 479.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003271/0.5163, allocations: 0.8736 MB / 480.3 MB, free: 14.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5163, allocations: 9.219 kB / 480.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.5164, allocations: 4 kB / 480.4 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/0.5169, allocations: 107.4 kB / 480.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.5187, allocations: 211.6 kB / 480.7 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/0.5249, allocations: 5.464 MB / 486.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.526, allocations: 63.25 kB / 486.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.5261, allocations: 43.92 kB / 486.2 MB, free: 8.453 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.5263, allocations: 49.55 kB / 486.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.5265, allocations: 51.34 kB / 486.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/0.5297, allocations: 0.8053 MB / 487.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.5297, allocations: 12 kB / 487.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.5298, allocations: 0 / 487.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.5298, allocations: 3.984 kB / 487.2 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007003/0.5368, allocations: 2.578 MB / 489.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.5369, allocations: 8 kB / 489.7 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.5381, allocations: 139.8 kB / 489.9 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/0.5387, allocations: 116.1 kB / 490 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-05/0.5388, allocations: 12 kB / 490 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005194/0.544, allocations: 5.037 MB / 495 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-05/0.5441, allocations: 11.94 kB / 495.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003978/0.5481, allocations: 1.71 MB / 496.8 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.5484, allocations: 164.3 kB / 496.9 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.5486, allocations: 8 kB / 496.9 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000824/0.5494, allocations: 19.89 kB / 497 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.5496, allocations: 64.22 kB / 497 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.5497, allocations: 28 kB / 497 MB, free: 12.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003662/0.55, allocations: 203.1 kB / 497.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00163/0.5517, allocations: 232.3 kB / 497.5 MB, free: 12.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 1 (referenceSensor.port.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004614/0.5522, allocations: 153 kB / 497.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.5548, allocations: 1.038 MB / 498.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/0.5549, allocations: 4 kB / 498.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.5564, allocations: 0.7105 MB / 499.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.5572, allocations: 40.64 kB / 499.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.5616, allocations: 1.184 MB / 0.4889 GB, free: 8.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/0.5629, allocations: 1.003 MB / 0.4898 GB, free: 7.723 MB / 394.7 MB Notification: Performance of SimCode: time 3.356e-06/0.5629, allocations: 0 / 0.4898 GB, free: 7.723 MB / 394.7 MB Notification: Performance of Templates: time 0.1655/0.7284, allocations: 19.82 MB / 0.5092 GB, free: 149.7 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches