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.0009451/0.0009452, allocations: 179.9 kB / 16.38 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.225/1.225, 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.0008816/0.0008812, allocations: 89.58 kB / 291.5 MB, free: 10.72 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002428/0.0002431, allocations: 11.94 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2317, allocations: 50.41 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3342, allocations: 81.05 MB / 482.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.3346, allocations: 87.94 kB / 482.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02643/0.3611, allocations: 11.43 MB / 494.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3611, allocations: 0 / 494.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.3611, allocations: 4 kB / 494.1 MB, free: 3.758 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001278/0.3624, allocations: 0.6277 MB / 494.7 MB, free: 3.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3625, allocations: 11.97 kB / 494.7 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006874/0.3631, allocations: 107.5 kB / 494.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.3635, allocations: 259.2 kB / 495.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.3636, allocations: 24.66 kB / 495.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.3636, allocations: 36 kB / 495.1 MB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.3641, allocations: 325.1 kB / 495.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3642, allocations: 0 / 495.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.3642, allocations: 12 kB / 495.5 MB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3642, allocations: 11.95 kB / 495.5 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.3646, allocations: 246.4 kB / 495.7 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.3665, allocations: 1.459 MB / 497.2 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.3672, allocations: 0.6936 MB / 497.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.3673, allocations: 85.11 kB / 498 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.3673, allocations: 30.56 kB / 498 MB, free: 15.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.3673, allocations: 0 / 498 MB, free: 15.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001157/0.3685, allocations: 493.8 kB / 498.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.3685, allocations: 51.41 kB / 498.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3687, allocations: 164.1 kB / 498.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3687, allocations: 29.7 kB / 498.7 MB, free: 14.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.885e-05/0.3688, allocations: 180 kB / 498.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/0.3689, allocations: 82.75 kB / 499 MB, free: 14.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.3689, allocations: 8 kB / 499 MB, free: 14.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.369, allocations: 334.8 kB / 499.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3691, allocations: 60.55 kB / 499.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.3693, allocations: 124.2 kB / 499.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3694, allocations: 81.11 kB / 499.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3694, allocations: 4 kB / 499.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005148/0.3699, allocations: 319.8 kB / 499.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.37, allocations: 4 kB / 499.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.37, allocations: 4 kB / 499.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.3703, allocations: 84.92 kB / 500 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3705, allocations: 35.98 kB / 0.4883 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.3723, allocations: 1.862 MB / 0.4901 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.3725, allocations: 23.69 kB / 0.4901 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3725, allocations: 8 kB / 0.4901 GB, free: 11.33 MB / 378.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 () * Number of clocked 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.0001629/0.3727, allocations: 160.8 kB / 0.4903 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.3727, allocations: 15.81 kB / 0.4903 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.3732, allocations: 279.7 kB / 0.4906 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3733, allocations: 4 kB / 0.4906 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3733, allocations: 8 kB / 0.4906 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3733, allocations: 0 / 0.4906 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008972/0.3742, allocations: 0.6943 MB / 0.4913 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3742, allocations: 0 / 0.4913 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3743, allocations: 23.94 kB / 0.4913 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.3746, allocations: 76.8 kB / 0.4914 GB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3746, allocations: 8 kB / 0.4914 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.3762, allocations: 1.855 MB / 0.4932 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3762, allocations: 0 / 0.4932 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.3768, allocations: 443.7 kB / 0.4936 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.3769, allocations: 112.9 kB / 0.4937 GB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.377, allocations: 11.95 kB / 0.4937 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3771, allocations: 4 kB / 0.4937 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.3771, allocations: 19.97 kB / 0.4937 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3771, allocations: 12 kB / 0.4937 GB, free: 7.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.378e-05/0.3772, allocations: 132.4 kB / 0.4939 GB, free: 7.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3772, allocations: 0 / 0.4939 GB, free: 7.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004677/0.3777, allocations: 103.7 kB / 0.494 GB, free: 7.145 MB / 378.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 () * Number of clocked 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.0002078/0.3779, allocations: 131.2 kB / 0.4941 GB, free: 7.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005512/0.3785, allocations: 345.4 kB / 0.4944 GB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.3785, allocations: 0 / 0.4944 GB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.3788, allocations: 250.8 kB / 0.4947 GB, free: 6.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.3791, allocations: 19.98 kB / 0.4947 GB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.3801, allocations: 0.7288 MB / 0.4954 GB, free: 5.633 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3804, allocations: 0.7635 MB / 0.4961 GB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.3805, allocations: 21.94 kB / 0.4962 GB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.3806, allocations: 15.44 kB / 0.4962 GB, free: 4.805 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3806, allocations: 0 / 0.4962 GB, free: 4.805 MB / 378.7 MB Notification: Performance of Templates: time 0.005759/0.3863, allocations: 2.483 MB / 0.4986 GB, free: 2.336 MB / 378.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