Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009804/0.0009804, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.5 MB / 230.3 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 85.94 kB / 281.2 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.715e-05, allocations: 7.984 kB / 337.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1224, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4976, allocations: 80.31 MB / 467.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.498, allocations: 93.81 kB / 467.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03806/0.5361, allocations: 11.26 MB / 479.1 MB, free: 3.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5361, allocations: 4 kB / 479.1 MB, free: 3.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.5362, allocations: 8 kB / 479.1 MB, free: 3.043 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001869/0.538, allocations: 0.6005 MB / 479.7 MB, free: 2.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.5381, allocations: 12.03 kB / 479.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.5393, allocations: 107.5 kB / 479.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.5397, allocations: 268.2 kB / 480.1 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.5398, allocations: 8 kB / 480.1 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.5399, allocations: 20 kB / 480.1 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005906/0.5405, allocations: 213.5 kB / 480.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007001/0.5412, allocations: 277.5 kB / 480.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.5412, allocations: 11.83 kB / 480.6 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.5413, allocations: 7.891 kB / 480.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.5413, allocations: 11.94 kB / 480.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.544, allocations: 1.381 MB / 482 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008957/0.5449, allocations: 0.6811 MB / 482.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.5452, allocations: 92.84 kB / 482.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.5453, allocations: 89.11 kB / 482.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.5454, allocations: 30.56 kB / 482.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 3.196e-06/0.5454, allocations: 0 / 482.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001082/0.5465, allocations: 266.4 kB / 483.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5465, allocations: 55.41 kB / 483.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.5467, allocations: 146.5 kB / 483.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.5468, allocations: 25.7 kB / 483.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.5469, allocations: 176.2 kB / 483.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/0.547, allocations: 78.91 kB / 483.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.5471, allocations: 0 / 483.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5472, allocations: 322.8 kB / 484 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.5474, allocations: 64.55 kB / 484 MB, free: 13.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.5476, allocations: 107.1 kB / 484.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.5481, allocations: 113.1 kB / 484.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5481, allocations: 0 / 484.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001043/0.5492, allocations: 324.3 kB / 484.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5492, allocations: 4 kB / 484.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5492, allocations: 4 kB / 484.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004457/0.5497, allocations: 84.92 kB / 484.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.55, allocations: 35.92 kB / 484.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.5526, allocations: 1.759 MB / 486.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.5529, allocations: 19.78 kB / 486.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.5529, allocations: 8 kB / 486.5 MB, free: 11.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.553, allocations: 115 kB / 486.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.5531, allocations: 23.75 kB / 486.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.5542, allocations: 290.8 kB / 486.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.5542, allocations: 4 kB / 486.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5542, allocations: 0 / 486.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5542, allocations: 8 kB / 486.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.5559, allocations: 0.6479 MB / 487.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5559, allocations: 0 / 487.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.5561, allocations: 27.98 kB / 487.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003694/0.5565, allocations: 72.81 kB / 487.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.5565, allocations: 0 / 487.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.5591, allocations: 1.756 MB / 489.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5591, allocations: 0 / 489.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.5603, allocations: 464.7 kB / 489.9 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.5605, allocations: 108.9 kB / 490 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.5605, allocations: 0 / 490 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.5607, allocations: 0 / 490 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.5608, allocations: 19.97 kB / 490 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.5608, allocations: 4 kB / 490 MB, free: 7.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.561, allocations: 117 kB / 490.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.561, allocations: 0 / 490.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008787/0.5619, allocations: 91.64 kB / 490.2 MB, free: 7.195 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002856/0.5622, allocations: 135.2 kB / 490.3 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007714/0.5629, allocations: 315.9 kB / 490.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.563, allocations: 0 / 490.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.5634, allocations: 241.8 kB / 490.9 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.5638, allocations: 15.98 kB / 490.9 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.5649, allocations: 373.5 kB / 491.3 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.5654, allocations: 0.7597 MB / 492 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.5656, allocations: 25.84 kB / 492 MB, free: 5.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.5656, allocations: 15.44 kB / 492.1 MB, free: 5.266 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5656, allocations: 0 / 492.1 MB, free: 5.266 MB / 362.7 MB Notification: Performance of Templates: time 0.00834/0.574, allocations: 2.245 MB / 494.3 MB, free: 3.035 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches