Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 180.8 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008899/0.0008898, allocations: 94.36 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002411/0.0002412, allocations: 7.938 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2321, allocations: 50.42 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3362, allocations: 83.13 MB / 484.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.3365, allocations: 91.95 kB / 484.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05746/0.394, allocations: 26.26 MB / 0.499 GB, free: 2.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.394, allocations: 0 / 0.499 GB, free: 2.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.394, allocations: 16 kB / 0.499 GB, free: 2.629 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.002725/0.3968, allocations: 1.107 MB / 0.5001 GB, free: 1.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3968, allocations: 8.031 kB / 0.5001 GB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.3983, allocations: 258.8 kB / 0.5004 GB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3986, allocations: 250 kB / 0.5006 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.3986, allocations: 73.98 kB / 0.5007 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.3988, allocations: 107.8 kB / 0.5008 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2127/0.6115, allocations: 0.917 MB / 0.5017 GB, free: 87.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.56e-05/0.6116, allocations: 5.203 kB / 0.5017 GB, free: 87.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.6118, allocations: 41.95 kB / 0.5017 GB, free: 87.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.6118, allocations: 24.44 kB / 0.5017 GB, free: 87.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.6135, allocations: 0.7777 MB / 0.5025 GB, free: 87.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005055/0.6186, allocations: 3.412 MB / 0.5058 GB, free: 86.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.6208, allocations: 1.42 MB / 0.5072 GB, free: 85.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.621, allocations: 99.73 kB / 0.5073 GB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.621, allocations: 46.67 kB / 0.5074 GB, free: 85.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 4.438e-06/0.621, allocations: 0 / 0.5074 GB, free: 85.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.00186/0.6229, allocations: 1.303 MB / 0.5086 GB, free: 84.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.6229, allocations: 86.67 kB / 0.5087 GB, free: 84.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.6232, allocations: 331.9 kB / 0.509 GB, free: 84.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.6233, allocations: 39.98 kB / 0.5091 GB, free: 84.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.6234, allocations: 379.2 kB / 0.5094 GB, free: 84.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.6236, allocations: 295.6 kB / 0.5097 GB, free: 84.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.6237, allocations: 22.25 kB / 0.5097 GB, free: 84.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6238, allocations: 362.4 kB / 0.5101 GB, free: 83.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.6242, allocations: 263.9 kB / 0.5103 GB, free: 83.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.6247, allocations: 474.1 kB / 0.5108 GB, free: 83.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.6253, allocations: 337.5 kB / 0.5111 GB, free: 83.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6253, allocations: 3 kB / 0.5111 GB, free: 83.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001495/0.6268, allocations: 0.9608 MB / 0.512 GB, free: 83.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.6268, allocations: 10.94 kB / 0.5121 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.6268, allocations: 7.375 kB / 0.5121 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00038/0.6272, allocations: 131.6 kB / 0.5122 GB, free: 83.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.628, allocations: 201.9 kB / 0.5124 GB, free: 83.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.631, allocations: 5.589 MB / 0.5178 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.6316, allocations: 107.6 kB / 0.5179 GB, free: 78.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.6316, allocations: 49.97 kB / 0.518 GB, free: 78.26 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.0004106/0.6321, allocations: 227.1 kB / 0.5182 GB, free: 78.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6322, allocations: 54.66 kB / 0.5183 GB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.6335, allocations: 0.8518 MB / 0.5191 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.6335, allocations: 6.938 kB / 0.5191 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6335, allocations: 6.797 kB / 0.5191 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.6335, allocations: 3.938 kB / 0.5191 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.636, allocations: 2.044 MB / 0.5211 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.636, allocations: 3.906 kB / 0.5211 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.6365, allocations: 135.8 kB / 0.5212 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/0.6368, allocations: 111.9 kB / 0.5213 GB, free: 77.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.6368, allocations: 21.69 kB / 0.5214 GB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.6392, allocations: 5.334 MB / 0.5266 GB, free: 71.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6392, allocations: 3.781 kB / 0.5266 GB, free: 71.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.6407, allocations: 1.384 MB / 0.5279 GB, free: 70.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.6409, allocations: 149.4 kB / 0.5281 GB, free: 70.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.6409, allocations: 11.56 kB / 0.5281 GB, free: 70.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.6413, allocations: 22.28 kB / 0.5281 GB, free: 70.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.541e-05/0.6414, allocations: 68.88 kB / 0.5282 GB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.6415, allocations: 32.94 kB / 0.5282 GB, free: 70.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002389/0.6417, allocations: 248.4 kB / 0.5284 GB, free: 70.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.6417, allocations: 0 / 0.5284 GB, free: 70.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009057/0.6426, allocations: 263.4 kB / 0.5287 GB, free: 70.5 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.0002674/0.6429, allocations: 174.3 kB / 0.5289 GB, free: 70.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.6442, allocations: 1.158 MB / 0.53 GB, free: 69.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.6443, allocations: 4.062 kB / 0.53 GB, free: 69.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.6449, allocations: 0.7852 MB / 0.5308 GB, free: 69.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.6453, allocations: 46.11 kB / 0.5308 GB, free: 69.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.6474, allocations: 1.708 MB / 0.5325 GB, free: 68.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.6477, allocations: 0.9317 MB / 0.5334 GB, free: 67.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004977/0.6483, allocations: 108.3 kB / 0.5335 GB, free: 67.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.6484, allocations: 52.02 kB / 0.5335 GB, free: 67.28 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/0.6484, allocations: 3.469 kB / 0.5335 GB, free: 67.28 MB / 378.7 MB Notification: Performance of Templates: time 0.01112/0.6595, allocations: 6.787 MB / 0.5402 GB, free: 65.71 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches