Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.0009742/0.0009742, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.0009459/0.0009459, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9689/0.9689, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.706e-05, allocations: 2.312 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002807/0.002824, allocations: 2.817 MB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.004154, allocations: 0.9228 MB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.004297, allocations: 11.88 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.004505, allocations: 59.45 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.004744, allocations: 107.1 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.005006, allocations: 119.7 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.005302, allocations: 362.5 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.005439, allocations: 78.02 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.005682, allocations: 211.5 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.005815, allocations: 107.7 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.005855, allocations: 28 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.005914, allocations: 39.94 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.005954, allocations: 79.66 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.006028, allocations: 103.8 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.006273, allocations: 239.1 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006276, allocations: 0 / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006276, allocations: 0 / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.00628, allocations: 0 / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006523/0.006932, allocations: 0.6402 MB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.006973, allocations: 15.98 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.007159, allocations: 64.72 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.007414, allocations: 217 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.007439, allocations: 21.03 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.007473, allocations: 24.38 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.007766, allocations: 229.1 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007775, allocations: 192 / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.0078, allocations: 12.38 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.00781, allocations: 11.94 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.007981, allocations: 115.8 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009253/0.008907, allocations: 0.8359 MB / 280.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.009123, allocations: 147.1 kB / 280.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.009244, allocations: 75.59 kB / 280.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.009264, allocations: 4 kB / 280.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.009287, allocations: 41.33 kB / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.644e-06/0.009289, allocations: 0 / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00253/0.01182, allocations: 1.217 MB / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.01185, allocations: 59.39 kB / 281.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.01201, allocations: 280.3 kB / 282.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.01203, allocations: 33.7 kB / 282.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.01213, allocations: 239.2 kB / 282.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.01219, allocations: 122.9 kB / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.843e-05/0.01229, allocations: 71.72 kB / 282.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.01246, allocations: 0.5117 MB / 283.1 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.01258, allocations: 56.72 kB / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.01271, allocations: 123.6 kB / 283.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.01294, allocations: 194.1 kB / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.01294, allocations: 0 / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007195/0.01366, allocations: 439.9 kB / 283.9 MB, free: 6.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.01368, allocations: 4 kB / 283.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01368, allocations: 4 kB / 283.9 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009108/0.01459, allocations: 310.9 kB / 284.2 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.01482, allocations: 59.89 kB / 284.3 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.01768, allocations: 4.596 MB / 288.9 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.01777, allocations: 12.03 kB / 288.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.01779, allocations: 19.94 kB / 288.9 MB, free: 0.8555 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.0179, allocations: 176.5 kB / 289.1 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.01794, allocations: 39.81 kB / 289.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.01798, allocations: 38.97 kB / 289.1 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01798, allocations: 4 kB / 289.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.01799, allocations: 7.938 kB / 289.2 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01799, allocations: 3.984 kB / 289.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.01901, allocations: 0.7959 MB / 290 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01901, allocations: 4.062 kB / 290 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.01911, allocations: 39.97 kB / 290 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008121/0.01993, allocations: 306.9 kB / 290.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.01994, allocations: 12 kB / 290.3 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/0.02258, allocations: 4.588 MB / 294.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.02258, allocations: 4 kB / 294.9 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.02345, allocations: 0.6032 MB / 295.5 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.02347, allocations: 31.78 kB / 295.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.02349, allocations: 8 kB / 295.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/0.02358, allocations: 15.98 kB / 295.6 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.02366, allocations: 27.94 kB / 295.6 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.02367, allocations: 8 kB / 295.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.848e-05/0.02377, allocations: 197.1 kB / 295.8 MB, free: 9.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02377, allocations: 0 / 295.8 MB, free: 9.613 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000366/0.02413, allocations: 100 kB / 295.9 MB, free: 9.516 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 9.196e-05/0.02422, allocations: 111.2 kB / 296 MB, free: 9.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.02478, allocations: 0.5894 MB / 296.6 MB, free: 8.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02478, allocations: 4 kB / 296.6 MB, free: 8.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.02509, allocations: 0.5031 MB / 297.1 MB, free: 8.223 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.02531, allocations: 29.28 kB / 297.1 MB, free: 8.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.02638, allocations: 0.6462 MB / 297.8 MB, free: 7.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.326e-05/0.02645, allocations: 105 kB / 297.9 MB, free: 7.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.363e-05/0.0265, allocations: 18.28 kB / 297.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.02654, allocations: 20.5 kB / 297.9 MB, free: 7.344 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02654, allocations: 0 / 297.9 MB, free: 7.344 MB / 282.7 MB Notification: Performance of Templates: time 0.007541/0.03408, allocations: 6.116 MB / 304 MB, free: 1.258 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8058305480517447]