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.0009148/0.0009148, allocations: 88.86 kB / 21.5 MB, free: 2.984 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.001511/0.001511, allocations: 159.4 kB / 24.91 MB, free: 9.191 MB / 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.9751/0.9751, allocations: 177 MB / 205.2 MB, free: 5.473 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.103e-06/1.103e-06, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.249e-05, allocations: 2.312 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003167/0.00318, allocations: 2.822 MB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.004397, allocations: 0.9459 MB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.004514, allocations: 7.938 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.004704, allocations: 67.38 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.004907, allocations: 111.2 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.005122, allocations: 115.7 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.0054, allocations: 370.4 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.005541, allocations: 76 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.005766, allocations: 207.6 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.005898, allocations: 115.7 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.005928, allocations: 28 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.005995, allocations: 35.94 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.006031, allocations: 71.67 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.006098, allocations: 111.7 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.006323, allocations: 239.1 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.006329, allocations: 4 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006329, allocations: 0 / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.006334, allocations: 4 kB / 278.7 MB, free: 11.88 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.0005149/0.006849, allocations: 0.5077 MB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.006879, allocations: 19.98 kB / 279.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.006995, allocations: 52.89 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.007171, allocations: 182.2 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.007193, allocations: 17.03 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.007221, allocations: 32.36 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.007436, allocations: 213 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.007444, allocations: 192 / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.007459, allocations: 8.375 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.007468, allocations: 11.94 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.586e-05/0.007564, allocations: 80.55 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000704/0.008268, allocations: 0.6301 MB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.008425, allocations: 121.3 kB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.008501, allocations: 64.81 kB / 280.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.008518, allocations: 4 kB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.008539, allocations: 46.5 kB / 280.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.008541, allocations: 0 / 280.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002371/0.01091, allocations: 1.203 MB / 281.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.01094, allocations: 55.41 kB / 281.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.01106, allocations: 221 kB / 282.2 MB, free: 8.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.01108, allocations: 29.7 kB / 282.2 MB, free: 8.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.01115, allocations: 176.4 kB / 282.4 MB, free: 8.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.0112, allocations: 126.9 kB / 282.5 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.01128, allocations: 66.03 kB / 282.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.01136, allocations: 342.7 kB / 282.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.01141, allocations: 36.73 kB / 282.9 MB, free: 7.465 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.01149, allocations: 93.25 kB / 283 MB, free: 7.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.01163, allocations: 159.9 kB / 283.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.01163, allocations: 0 / 283.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005142/0.01215, allocations: 338.6 kB / 283.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01216, allocations: 7.984 kB / 283.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01217, allocations: 0 / 283.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007163/0.01288, allocations: 297.3 kB / 283.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.01304, allocations: 71.89 kB / 283.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.01517, allocations: 3.131 MB / 287 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.01526, allocations: 11.98 kB / 287 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.01528, allocations: 12 kB / 287 MB, free: 3.141 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 9.975e-05/0.01538, allocations: 129.7 kB / 287.1 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.01542, allocations: 27.98 kB / 287.2 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.01546, allocations: 42.95 kB / 287.2 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01546, allocations: 8.031 kB / 287.2 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.01547, allocations: 3.938 kB / 287.2 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01547, allocations: 7.984 kB / 287.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007589/0.01623, allocations: 0.5752 MB / 287.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01624, allocations: 0 / 287.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.01636, allocations: 52.7 kB / 287.9 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006873/0.01704, allocations: 293.5 kB / 288.1 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.01706, allocations: 4 kB / 288.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.01898, allocations: 3.135 MB / 291.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.01898, allocations: 7.922 kB / 291.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.01959, allocations: 470.2 kB / 291.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.01961, allocations: 19.86 kB / 291.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.01962, allocations: 4 kB / 291.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.01971, allocations: 15.98 kB / 291.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.01977, allocations: 31.88 kB / 291.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.01978, allocations: 16.03 kB / 291.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.01983, allocations: 66.78 kB / 291.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01983, allocations: 3.938 kB / 291.9 MB, free: 14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.02016, allocations: 104 kB / 292 MB, free: 13.9 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 7.211e-05/0.02023, allocations: 80.42 kB / 292.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004132/0.02065, allocations: 450.3 kB / 292.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.02065, allocations: 4 kB / 292.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.02089, allocations: 381.5 kB / 292.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.02106, allocations: 28.75 kB / 292.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000855/0.02191, allocations: 0.6354 MB / 293.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.534e-05/0.02198, allocations: 101.1 kB / 293.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.739e-05/0.02204, allocations: 22.28 kB / 293.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.02212, allocations: 79.36 kB / 293.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of SimCode: time 5e-07/0.02212, allocations: 0 / 293.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of Templates: time 0.00786/0.02998, allocations: 6.274 MB / 300 MB, free: 5.762 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 -s gbode -gbm=radauIIA3 -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.865652491338551]