Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00192/0.00192, allocations: 196.8 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007645/0.0007645, allocations: 100.6 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002202/0.0002202, allocations: 4 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1991, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08933/0.2885, allocations: 83.95 MB / 493.3 MB, free: 7.543 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.2887, allocations: 94.3 kB / 493.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2231/0.5118, allocations: 27.65 MB / 0.5089 GB, free: 84.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5118, allocations: 0 / 0.5089 GB, free: 84.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.5119, allocations: 13.62 kB / 0.5089 GB, free: 84.79 MB / 378.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.002816/0.5147, allocations: 1.107 MB / 0.51 GB, free: 84.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5147, allocations: 9.625 kB / 0.51 GB, free: 84.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.5164, allocations: 259 kB / 0.5102 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.5168, allocations: 261.1 kB / 0.5105 GB, free: 83.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.5169, allocations: 75.09 kB / 0.5105 GB, free: 83.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.5172, allocations: 100.9 kB / 0.5106 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.5191, allocations: 0.9311 MB / 0.5115 GB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.5192, allocations: 9.156 kB / 0.5115 GB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.5193, allocations: 44.53 kB / 0.5116 GB, free: 83.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.5193, allocations: 23.38 kB / 0.5116 GB, free: 83.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.5206, allocations: 0.7781 MB / 0.5124 GB, free: 83.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.5252, allocations: 3.659 MB / 0.5159 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.527, allocations: 1.414 MB / 0.5173 GB, free: 81.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.5275, allocations: 368.7 kB / 0.5177 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.5276, allocations: 186.7 kB / 0.5179 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.5277, allocations: 48.09 kB / 0.5179 GB, free: 81.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.815e-06/0.5277, allocations: 0 / 0.5179 GB, free: 81.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001845/0.5295, allocations: 1.304 MB / 0.5192 GB, free: 80.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.5296, allocations: 87.86 kB / 0.5193 GB, free: 80.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.53, allocations: 366.2 kB / 0.5196 GB, free: 80.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.53, allocations: 40.64 kB / 0.5196 GB, free: 80.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.5302, allocations: 380.5 kB / 0.52 GB, free: 80.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5303, allocations: 302 kB / 0.5203 GB, free: 80.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.5304, allocations: 21.62 kB / 0.5203 GB, free: 80.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.5305, allocations: 362.9 kB / 0.5207 GB, free: 79.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.5309, allocations: 260.7 kB / 0.5209 GB, free: 79.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/0.5314, allocations: 471.6 kB / 0.5214 GB, free: 79.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/0.5322, allocations: 0.765 MB / 0.5221 GB, free: 79.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5322, allocations: 0 / 0.5221 GB, free: 79.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001338/0.5336, allocations: 0.9764 MB / 0.5231 GB, free: 78.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5336, allocations: 7.094 kB / 0.5231 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5336, allocations: 3.875 kB / 0.5231 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.534, allocations: 125 kB / 0.5232 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/0.5347, allocations: 198.9 kB / 0.5234 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.5373, allocations: 5.571 MB / 0.5288 GB, free: 73.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.5379, allocations: 107 kB / 0.5289 GB, free: 73.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.538, allocations: 39.42 kB / 0.529 GB, free: 73.19 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.0002955/0.5383, allocations: 234.7 kB / 0.5292 GB, free: 73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5384, allocations: 57.06 kB / 0.5292 GB, free: 72.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.5397, allocations: 0.8409 MB / 0.5301 GB, free: 72.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5397, allocations: 9.938 kB / 0.5301 GB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5397, allocations: 3.875 kB / 0.5301 GB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5397, allocations: 7.547 kB / 0.5301 GB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.543, allocations: 3.312 MB / 0.5333 GB, free: 69.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.543, allocations: 11.2 kB / 0.5333 GB, free: 69.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.5435, allocations: 140.9 kB / 0.5335 GB, free: 69.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002513/0.5438, allocations: 113.5 kB / 0.5336 GB, free: 69.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.5439, allocations: 22.84 kB / 0.5336 GB, free: 69.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.5461, allocations: 5.316 MB / 0.5388 GB, free: 64.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.5461, allocations: 14.91 kB / 0.5388 GB, free: 64.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.5476, allocations: 1.393 MB / 0.5402 GB, free: 63.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.5478, allocations: 159.3 kB / 0.5403 GB, free: 63.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-05/0.5479, allocations: 36.67 kB / 0.5403 GB, free: 63.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.5483, allocations: 30.97 kB / 0.5404 GB, free: 63.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5484, allocations: 81.59 kB / 0.5405 GB, free: 63.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.5485, allocations: 34.19 kB / 0.5405 GB, free: 63.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002418/0.5487, allocations: 272.4 kB / 0.5407 GB, free: 63.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5487, allocations: 0 / 0.5407 GB, free: 63.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009526/0.5497, allocations: 266.6 kB / 0.541 GB, free: 63.09 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.0002502/0.5499, allocations: 186.5 kB / 0.5412 GB, free: 62.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.5513, allocations: 1.156 MB / 0.5423 GB, free: 62.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.5513, allocations: 0 / 0.5423 GB, free: 62.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006458/0.5519, allocations: 0.7927 MB / 0.5431 GB, free: 61.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009229/0.5529, allocations: 78.86 kB / 0.5432 GB, free: 61.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.555, allocations: 1.83 MB / 0.5449 GB, free: 59.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.5554, allocations: 0.9153 MB / 0.5458 GB, free: 58.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005402/0.556, allocations: 106.6 kB / 0.5459 GB, free: 58.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.5561, allocations: 51.44 kB / 0.546 GB, free: 58.71 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5561, allocations: 0 / 0.546 GB, free: 58.71 MB / 378.7 MB Notification: Performance of Templates: time 0.01147/0.5676, allocations: 7.117 MB / 0.5529 GB, free: 54.61 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches