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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 180 kB / 17.01 MB, free: 5.125 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.388/1.388, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0007998/0.0007997, allocations: 92.08 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002252/0.0002252, allocations: 12 kB / 328.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2141, allocations: 47.56 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09212/0.3063, allocations: 82.08 MB / 457.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.3066, allocations: 91.94 kB / 458 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05768/0.3643, allocations: 26.11 MB / 484.1 MB, free: 4.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3643, allocations: 8 kB / 484.1 MB, free: 4.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.3643, allocations: 12 kB / 484.1 MB, free: 4.02 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.002693/0.367, allocations: 1.108 MB / 485.2 MB, free: 2.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3671, allocations: 15.97 kB / 485.2 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.3687, allocations: 254.8 kB / 485.5 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3689, allocations: 262.8 kB / 485.8 MB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.3689, allocations: 77.95 kB / 485.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.3691, allocations: 99.91 kB / 485.9 MB, free: 2.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.3706, allocations: 0.9187 MB / 486.8 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.3706, allocations: 7.984 kB / 486.9 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.3707, allocations: 40 kB / 486.9 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.3707, allocations: 28 kB / 486.9 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.372, allocations: 0.7808 MB / 487.7 MB, free: 344 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004953/0.3769, allocations: 3.409 MB / 491.1 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.3789, allocations: 1.417 MB / 492.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.379, allocations: 106.1 kB / 492.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3791, allocations: 39.56 kB / 492.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.046e-06/0.3791, allocations: 0 / 492.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.002116/0.3812, allocations: 1.296 MB / 494 MB, free: 9.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.3813, allocations: 94.05 kB / 494.1 MB, free: 9.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.3816, allocations: 323.6 kB / 494.4 MB, free: 9.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.3817, allocations: 41.7 kB / 494.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.3819, allocations: 382.8 kB / 494.8 MB, free: 8.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.3821, allocations: 299.7 kB / 495.1 MB, free: 8.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.3822, allocations: 20 kB / 495.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3823, allocations: 366.7 kB / 495.5 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.3828, allocations: 262.5 kB / 495.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.3833, allocations: 471.4 kB / 496.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/0.3838, allocations: 334.9 kB / 496.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3838, allocations: 4 kB / 496.5 MB, free: 6.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001529/0.3854, allocations: 0.9688 MB / 497.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3854, allocations: 8 kB / 497.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.3854, allocations: 8 kB / 497.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.3858, allocations: 123.5 kB / 497.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/0.3866, allocations: 195.7 kB / 497.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1597/0.5463, allocations: 5.597 MB / 0.4916 GB, free: 95.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/0.5471, allocations: 98.27 kB / 0.4917 GB, free: 95.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.5472, allocations: 39.83 kB / 0.4917 GB, free: 95.89 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.0004258/0.5477, allocations: 228.9 kB / 0.4919 GB, free: 95.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.5478, allocations: 57.89 kB / 0.492 GB, free: 95.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.5496, allocations: 0.8535 MB / 0.4928 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.5497, allocations: 11.75 kB / 0.4928 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.5497, allocations: 2.781 kB / 0.4929 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5497, allocations: 6.906 kB / 0.4929 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.5525, allocations: 2.039 MB / 0.4948 GB, free: 94.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.5525, allocations: 5.969 kB / 0.4949 GB, free: 94.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.5531, allocations: 134.6 kB / 0.495 GB, free: 94.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002664/0.5534, allocations: 114.3 kB / 0.4951 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.5534, allocations: 18.12 kB / 0.4951 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.5559, allocations: 5.328 MB / 0.5003 GB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.5559, allocations: 3.594 kB / 0.5003 GB, free: 89.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.5576, allocations: 1.38 MB / 0.5017 GB, free: 89.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.5577, allocations: 148 kB / 0.5018 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-05/0.5578, allocations: 19.47 kB / 0.5018 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.5582, allocations: 21.34 kB / 0.5018 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.5583, allocations: 67.02 kB / 0.5019 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.5584, allocations: 26.22 kB / 0.5019 GB, free: 89.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002382/0.5586, allocations: 252.6 kB / 0.5022 GB, free: 89.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5586, allocations: 0 / 0.5022 GB, free: 89.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009848/0.5596, allocations: 265.4 kB / 0.5024 GB, free: 89.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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.0002505/0.5599, allocations: 163.2 kB / 0.5026 GB, free: 89.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.5613, allocations: 1.169 MB / 0.5037 GB, free: 88.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5613, allocations: 2.25 kB / 0.5037 GB, free: 88.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007199/0.5621, allocations: 0.7906 MB / 0.5045 GB, free: 88.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.5624, allocations: 48.41 kB / 0.5045 GB, free: 88.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.5649, allocations: 1.707 MB / 0.5062 GB, free: 87.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.5653, allocations: 0.9308 MB / 0.5071 GB, free: 86.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000523/0.5658, allocations: 109.4 kB / 0.5072 GB, free: 86.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.5659, allocations: 53.25 kB / 0.5073 GB, free: 86.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5659, allocations: 0 / 0.5073 GB, free: 86.49 MB / 378.7 MB Notification: Performance of Templates: time 0.01081/0.5768, allocations: 6.753 MB / 0.5139 GB, free: 86.14 MB / 378.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