Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 172.6 kB / 24.92 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9338/0.9338, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.487e-05, allocations: 2.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00267/0.002685, allocations: 2.819 MB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.003676, allocations: 0.9497 MB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.952e-05/0.003776, allocations: 4 kB / 277.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.003959, allocations: 67.38 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.004293, allocations: 119.1 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.00447, allocations: 107.7 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.00471, allocations: 366.4 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.004831, allocations: 79.98 kB / 278 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.00503, allocations: 215.5 kB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.005159, allocations: 107.7 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.005192, allocations: 32 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.991e-05/0.005262, allocations: 35.94 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.005297, allocations: 71.72 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.005361, allocations: 107.8 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.005567, allocations: 235.1 kB / 278.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005569, allocations: 4 kB / 278.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00557, allocations: 0 / 278.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.005573, allocations: 0 / 278.8 MB, free: 11.95 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.0005131/0.006087, allocations: 0.5232 MB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.006113, allocations: 8.031 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.006228, allocations: 52.89 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.006401, allocations: 178.2 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.006424, allocations: 25.03 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.006449, allocations: 28.38 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.006649, allocations: 217 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.006658, allocations: 192 / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.006673, allocations: 16.31 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.00668, allocations: 7.938 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.006772, allocations: 68.56 kB / 279.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006848/0.007457, allocations: 0.6418 MB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.007613, allocations: 126.4 kB / 280.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.007687, allocations: 56.83 kB / 280.7 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.007705, allocations: 4 kB / 280.7 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.007725, allocations: 34.56 kB / 280.7 MB, free: 9.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.223e-06/0.007726, allocations: 0 / 280.7 MB, free: 9.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00228/0.01001, allocations: 1.212 MB / 281.9 MB, free: 8.602 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.01003, allocations: 55.41 kB / 282 MB, free: 8.535 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.01015, allocations: 217 kB / 282.2 MB, free: 8.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.01016, allocations: 29.7 kB / 282.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.01023, allocations: 172.4 kB / 282.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.01028, allocations: 126.9 kB / 282.5 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.01035, allocations: 70.03 kB / 282.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.01043, allocations: 342.7 kB / 282.9 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.01048, allocations: 36.73 kB / 283 MB, free: 7.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.01055, allocations: 93.22 kB / 283.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01069, allocations: 155.9 kB / 283.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.0107, allocations: 0 / 283.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000519/0.01121, allocations: 338.6 kB / 283.5 MB, free: 6.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01123, allocations: 6.188 kB / 283.6 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01123, allocations: 4 kB / 283.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007103/0.01194, allocations: 297.5 kB / 283.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.0121, allocations: 70.56 kB / 283.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.01424, allocations: 3.147 MB / 287.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.01431, allocations: 8 kB / 287.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.01433, allocations: 8 kB / 287.1 MB, free: 3.203 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 8.011e-05/0.01441, allocations: 137.7 kB / 287.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.01444, allocations: 23.98 kB / 287.2 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.01448, allocations: 42.95 kB / 287.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01448, allocations: 4 kB / 287.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01449, allocations: 0 / 287.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01449, allocations: 7.984 kB / 287.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/0.01524, allocations: 0.5754 MB / 287.9 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01524, allocations: 0 / 287.9 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01536, allocations: 55.06 kB / 287.9 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006811/0.01604, allocations: 297.3 kB / 288.2 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.01605, allocations: 8 kB / 288.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.01788, allocations: 3.143 MB / 291.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.01788, allocations: 7.938 kB / 291.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.01859, allocations: 462.3 kB / 291.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.01861, allocations: 27.83 kB / 291.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.01863, allocations: 8 kB / 291.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.01872, allocations: 8 kB / 291.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.01877, allocations: 35.88 kB / 291.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01878, allocations: 11.98 kB / 291.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.627e-05/0.01883, allocations: 66.78 kB / 292 MB, free: 14.06 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01883, allocations: 0 / 292 MB, free: 14.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.01915, allocations: 104 kB / 292.1 MB, free: 13.96 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 0.0001045/0.01925, allocations: 92.36 kB / 292.2 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.01968, allocations: 441.3 kB / 292.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.01968, allocations: 4 kB / 292.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.01993, allocations: 390.1 kB / 293 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.02011, allocations: 24.44 kB / 293 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/0.02101, allocations: 0.6306 MB / 293.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.852e-05/0.02107, allocations: 101.1 kB / 293.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.571e-05/0.02112, allocations: 18.28 kB / 293.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.0212, allocations: 79.38 kB / 293.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0212, allocations: 0 / 293.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of Templates: time 0.007337/0.02854, allocations: 6.279 MB / 300.1 MB, free: 5.824 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.799048292450607]