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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007092/0.0007092, allocations: 86.38 kB / 271.9 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002888, allocations: 8 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2098, allocations: 47.58 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0902/0.3, allocations: 82.14 MB / 457.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.3003, allocations: 95.94 kB / 458 MB, free: 14.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05813/0.3585, allocations: 26.04 MB / 484 MB, free: 4.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3585, allocations: 4 kB / 484 MB, free: 4.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.52e-05/0.3585, allocations: 12 kB / 484 MB, free: 4.004 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.003179/0.3617, allocations: 1.1 MB / 485.1 MB, free: 2.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3618, allocations: 12.03 kB / 485.1 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.3633, allocations: 255.7 kB / 485.4 MB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3636, allocations: 263.8 kB / 485.6 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.016e-05/0.3637, allocations: 70.38 kB / 485.7 MB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.3639, allocations: 104.3 kB / 485.8 MB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.3656, allocations: 0.9388 MB / 486.8 MB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.3656, allocations: 4.188 kB / 486.8 MB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/0.3657, allocations: 43.94 kB / 486.8 MB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.3657, allocations: 24 kB / 486.8 MB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.3672, allocations: 0.7731 MB / 487.6 MB, free: 336 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005366/0.3725, allocations: 3.429 MB / 491 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.3745, allocations: 1.421 MB / 492.5 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/0.3751, allocations: 365.2 kB / 492.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.3752, allocations: 102.1 kB / 492.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3753, allocations: 39.56 kB / 492.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.665e-06/0.3753, allocations: 0 / 492.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.002213/0.3775, allocations: 1.312 MB / 494.3 MB, free: 9.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3776, allocations: 86.11 kB / 494.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.378, allocations: 364.5 kB / 494.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.378, allocations: 41.7 kB / 494.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.3783, allocations: 382.7 kB / 495.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.3785, allocations: 295.7 kB / 495.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.3785, allocations: 24 kB / 495.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3787, allocations: 358.8 kB / 495.8 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.3791, allocations: 262.5 kB / 496 MB, free: 7.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.3797, allocations: 463.4 kB / 496.5 MB, free: 6.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.3807, allocations: 0.7744 MB / 497.3 MB, free: 6.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3807, allocations: 0 / 497.3 MB, free: 6.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001598/0.3823, allocations: 0.9648 MB / 498.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3824, allocations: 11.98 kB / 498.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3824, allocations: 4 kB / 498.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.3828, allocations: 123.6 kB / 498.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.3835, allocations: 199.7 kB / 498.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1704/0.554, allocations: 5.568 MB / 0.4923 GB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/0.5548, allocations: 102.8 kB / 0.4924 GB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/0.5549, allocations: 42.17 kB / 0.4924 GB, free: 95.73 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 () * Number of clocked 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.0004095/0.5553, allocations: 231.8 kB / 0.4927 GB, free: 95.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.5555, allocations: 53.88 kB / 0.4927 GB, free: 95.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.5571, allocations: 0.8475 MB / 0.4935 GB, free: 95.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5571, allocations: 8.656 kB / 0.4936 GB, free: 95.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5571, allocations: 9.094 kB / 0.4936 GB, free: 95.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.5572, allocations: 4.422 kB / 0.4936 GB, free: 95.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/0.5606, allocations: 2.734 MB / 0.4962 GB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.5606, allocations: 9.125 kB / 0.4962 GB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.5611, allocations: 138.2 kB / 0.4964 GB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.5614, allocations: 113.7 kB / 0.4965 GB, free: 94.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.5614, allocations: 32.78 kB / 0.4965 GB, free: 94.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.5638, allocations: 5.32 MB / 0.5017 GB, free: 89.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.5639, allocations: 10.5 kB / 0.5017 GB, free: 89.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.5655, allocations: 1.39 MB / 0.5031 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.5657, allocations: 152.4 kB / 0.5032 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.5658, allocations: 32.64 kB / 0.5033 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.5662, allocations: 26.69 kB / 0.5033 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5663, allocations: 87.77 kB / 0.5034 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.5664, allocations: 29.25 kB / 0.5034 GB, free: 88.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002842/0.5667, allocations: 279.6 kB / 0.5037 GB, free: 88.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5667, allocations: 0 / 0.5037 GB, free: 88.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001061/0.5677, allocations: 263.8 kB / 0.5039 GB, free: 88.41 MB / 378.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 () * Number of clocked 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.0002554/0.568, allocations: 172.7 kB / 0.5041 GB, free: 88.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.5695, allocations: 1.153 MB / 0.5052 GB, free: 87.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5695, allocations: 1.688 kB / 0.5052 GB, free: 87.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.5703, allocations: 0.7952 MB / 0.506 GB, free: 87.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.5712, allocations: 75.97 kB / 0.5061 GB, free: 87.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.5737, allocations: 1.858 MB / 0.5079 GB, free: 86.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.574, allocations: 0.9127 MB / 0.5088 GB, free: 85.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.5743, allocations: 61.17 kB / 0.5088 GB, free: 85.59 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5743, allocations: 4 kB / 0.5088 GB, free: 85.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01729/0.5916, allocations: 20.95 MB / 0.5293 GB, free: 79.67 MB / 378.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