Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0018/0.0018, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.083e-05, allocations: 2.281 kB / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.006004/0.006025, allocations: 2.671 MB / 327.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.009173, allocations: 1.149 MB / 328.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.009353, allocations: 7.156 kB / 328.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.012, allocations: 0.6075 MB / 329.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006417/0.01264, allocations: 142 kB / 329.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.01497, allocations: 0.6123 MB / 330.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006541/0.01563, allocations: 311.5 kB / 330.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006762/0.0163, allocations: 239 kB / 330.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004549/0.01676, allocations: 195.7 kB / 330.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.01709, allocations: 131.3 kB / 331 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/0.01715, allocations: 25.91 kB / 331.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.01772, allocations: 178.2 kB / 331.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.01781, allocations: 61.98 kB / 331.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.018, allocations: 99.19 kB / 331.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.01908, allocations: 0.5154 MB / 331.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01908, allocations: 0 / 331.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01908, allocations: 1.094 kB / 331.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.01909, allocations: 0 / 331.9 MB, free: 12.18 MB / 302.1 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.002891/0.02198, allocations: 0.6537 MB / 332.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.02202, allocations: 9.594 kB / 332.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.02373, allocations: 112.5 kB / 332.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.0243, allocations: 214.1 kB / 332.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.02434, allocations: 30.03 kB / 332.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.561e-05/0.02444, allocations: 29.41 kB / 333 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009454/0.02538, allocations: 340.9 kB / 333.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.02541, allocations: 4.188 kB / 333.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.862e-05/0.02547, allocations: 14.84 kB / 333.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.02548, allocations: 8.531 kB / 333.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000755/0.02624, allocations: 238.6 kB / 333.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.02926, allocations: 1.03 MB / 334.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.03012, allocations: 241.4 kB / 334.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.03039, allocations: 93.23 kB / 334.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.03053, allocations: 17.73 kB / 334.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.03059, allocations: 40.86 kB / 335 MB, free: 9.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 2.043e-06/0.03059, allocations: 0 / 335 MB, free: 9.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.002065/0.03265, allocations: 416.2 kB / 335.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.03271, allocations: 53.62 kB / 335.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.03294, allocations: 163 kB / 335.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.03299, allocations: 29.7 kB / 335.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.03315, allocations: 183.7 kB / 335.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.03326, allocations: 92.7 kB / 335.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.03341, allocations: 52.53 kB / 335.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.03361, allocations: 327.7 kB / 336.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.03382, allocations: 70.69 kB / 336.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.03413, allocations: 135 kB / 336.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005858/0.03472, allocations: 219.6 kB / 336.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.03472, allocations: 0 / 336.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001033/0.03575, allocations: 326.1 kB / 337 MB, free: 8.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.03577, allocations: 8.375 kB / 337 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.03578, allocations: 10.78 kB / 337 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000483/0.03627, allocations: 73.83 kB / 337.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.03655, allocations: 45.55 kB / 337.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003418/0.03997, allocations: 1.877 MB / 339 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.04021, allocations: 26.41 kB / 339 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.04024, allocations: 12.78 kB / 339 MB, free: 6.605 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002286/0.04047, allocations: 147.6 kB / 339.2 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.04055, allocations: 15.81 kB / 339.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.04155, allocations: 296.2 kB / 339.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.04156, allocations: 0 / 339.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.04157, allocations: 4 kB / 339.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.04158, allocations: 3.938 kB / 339.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.04317, allocations: 0.5788 MB / 340.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.04318, allocations: 0 / 340.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.04339, allocations: 27.98 kB / 340.1 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.04382, allocations: 76.69 kB / 340.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.04385, allocations: 7.984 kB / 340.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003358/0.04721, allocations: 1.88 MB / 342.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.04722, allocations: 3.938 kB / 342.1 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.04838, allocations: 444.7 kB / 342.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.0485, allocations: 31.86 kB / 342.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.04854, allocations: 8 kB / 342.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.04876, allocations: 7.938 kB / 342.6 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.04883, allocations: 27.89 kB / 342.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.04886, allocations: 8.125 kB / 342.6 MB, free: 2.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.04902, allocations: 119.2 kB / 342.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.04902, allocations: 0 / 342.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009433/0.04996, allocations: 99.78 kB / 342.8 MB, free: 2.75 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003255/0.05029, allocations: 127.2 kB / 342.9 MB, free: 2.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009917/0.05128, allocations: 334.3 kB / 343.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.05129, allocations: 0 / 343.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.05188, allocations: 242.4 kB / 343.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.05243, allocations: 27.06 kB / 343.5 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.05402, allocations: 0.5079 MB / 344 MB, free: 1.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.05425, allocations: 146.5 kB / 344.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000166/0.05441, allocations: 25.94 kB / 344.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.05449, allocations: 20.5 kB / 344.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.05449, allocations: 0 / 344.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of Templates: time 0.01189/0.06638, allocations: 2.664 MB / 346.9 MB, free: 14.62 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.545287307351828]