Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001549/0.001549, allocations: 176.9 kB / 8.475 MB, free: 1.879 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.443/1.443, allocations: 205.2 MB / 214.1 MB, free: 5.152 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008437/0.0008436, allocations: 79.34 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.043e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06955/0.06957, allocations: 47.58 MB / 362.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2163/0.2859, allocations: 81.25 MB / 443.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.2861, allocations: 84.3 kB / 443.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.05031/0.3365, allocations: 25.4 MB / 469.3 MB, free: 1.426 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.3365, allocations: 13.78 kB / 469.3 MB, free: 1.426 MB / 314.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.002506/0.339, allocations: 1.085 MB / 470.4 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3391, allocations: 12.38 kB / 470.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.3408, allocations: 273.2 kB / 470.7 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.341, allocations: 254 kB / 470.9 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.341, allocations: 31.16 kB / 470.9 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.3411, allocations: 56.56 kB / 471 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001206/0.3423, allocations: 0.7061 MB / 471.7 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.3436, allocations: 0.7797 MB / 472.5 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.3436, allocations: 9.766 kB / 472.5 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.3437, allocations: 1.438 kB / 472.5 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.3437, allocations: 23.34 kB / 472.5 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004712/0.3484, allocations: 3.251 MB / 475.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.3499, allocations: 0.7771 MB / 476.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.3506, allocations: 399 kB / 476.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.3507, allocations: 107.1 kB / 477 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3507, allocations: 43.91 kB / 477.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 2.364e-06/0.3507, allocations: 0 / 477.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=87): time 0.001433/0.3522, allocations: 0.658 MB / 477.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3522, allocations: 93.83 kB / 477.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.3525, allocations: 273.4 kB / 478.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.3526, allocations: 25.7 kB / 478.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.3527, allocations: 375 kB / 478.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.3529, allocations: 289.9 kB / 478.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.353, allocations: 0 / 478.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3531, allocations: 358.3 kB / 479.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.3535, allocations: 230.4 kB / 479.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.3541, allocations: 437.9 kB / 479.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007882/0.3549, allocations: 342.5 kB / 480.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3549, allocations: 0 / 480.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001712/0.3566, allocations: 0.8818 MB / 481 MB, free: 10.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3566, allocations: 4 kB / 481 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3566, allocations: 8 kB / 481 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.357, allocations: 123.5 kB / 481.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/0.3579, allocations: 207.7 kB / 481.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.3615, allocations: 5.285 MB / 486.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.3621, allocations: 79.09 kB / 486.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.3622, allocations: 44.03 kB / 486.7 MB, free: 4.578 MB / 330.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.000153/0.3624, allocations: 132.6 kB / 486.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3625, allocations: 47.44 kB / 486.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.3641, allocations: 0.8008 MB / 487.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3642, allocations: 11.98 kB / 487.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.3642, allocations: 4 kB / 487.7 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3642, allocations: 3.984 kB / 487.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.368, allocations: 2.558 MB / 490.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.368, allocations: 8.969 kB / 490.3 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.3686, allocations: 135.8 kB / 490.4 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00029/0.3689, allocations: 115.3 kB / 490.5 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.3689, allocations: 23.89 kB / 490.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003333/0.3723, allocations: 5.029 MB / 495.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.3723, allocations: 15.84 kB / 495.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002174/0.3745, allocations: 1.706 MB / 497.3 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.3747, allocations: 152.2 kB / 497.5 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.3748, allocations: 8 kB / 497.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.3752, allocations: 12 kB / 497.5 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.3753, allocations: 72.27 kB / 497.6 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.3754, allocations: 32 kB / 497.6 MB, free: 8.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002131/0.3756, allocations: 207.1 kB / 497.8 MB, free: 8.418 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00102/0.3766, allocations: 236.2 kB / 498 MB, free: 8.188 MB / 346.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.0002688/0.3769, allocations: 152.2 kB / 498.2 MB, free: 8.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.3783, allocations: 1.03 MB / 499.2 MB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.3783, allocations: 4 kB / 499.2 MB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.3791, allocations: 0.7068 MB / 499.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.3795, allocations: 52.48 kB / 500 MB, free: 6.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.3818, allocations: 1.15 MB / 0.4894 GB, free: 4.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007087/0.3826, allocations: 0.994 MB / 0.4903 GB, free: 3.879 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3826, allocations: 0 / 0.4903 GB, free: 3.879 MB / 346.7 MB Notification: Performance of Templates: time 0.01468/0.3973, allocations: 8.714 MB / 0.4988 GB, free: 11.18 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches