Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001505/0.001505, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001653/0.001653, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.243, allocations: 53.33 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004169/0.2472, allocations: 2.805 MB / 434.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2488, allocations: 0.9501 MB / 435.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.2489, allocations: 7.938 kB / 435.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.2491, allocations: 55.5 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.2494, allocations: 115.2 kB / 436 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.2498, allocations: 111.7 kB / 436.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.2501, allocations: 358.6 kB / 436.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.2503, allocations: 77.69 kB / 436.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.2505, allocations: 147.4 kB / 436.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.2507, allocations: 155.2 kB / 436.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.2508, allocations: 28 kB / 436.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.2509, allocations: 32 kB / 436.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.2509, allocations: 71.75 kB / 436.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.2511, allocations: 155.2 kB / 437.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.2515, allocations: 368 kB / 437.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2515, allocations: 0 / 437.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2515, allocations: 0 / 437.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.2515, allocations: 0 / 437.5 MB, free: 1.953 MB / 334.1 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.001022/0.2526, allocations: 0.6194 MB / 438.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2526, allocations: 8.031 kB / 438.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.2528, allocations: 44.73 kB / 438.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.2531, allocations: 280.7 kB / 438.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.2532, allocations: 16.94 kB / 438.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.2532, allocations: 28.38 kB / 438.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.2537, allocations: 253.2 kB / 438.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2537, allocations: 3.938 kB / 438.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.2537, allocations: 12 kB / 438.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2537, allocations: 4 kB / 438.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.2542, allocations: 206.1 kB / 438.9 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.2558, allocations: 0.9979 MB / 439.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.2562, allocations: 194.5 kB / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.2565, allocations: 100.8 kB / 440.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.2565, allocations: 4 kB / 440.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.2565, allocations: 34.55 kB / 440.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.2565, allocations: 0 / 440.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00514/0.2617, allocations: 1.558 MB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.2617, allocations: 63.33 kB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.262, allocations: 229 kB / 442.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.262, allocations: 29.7 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.2621, allocations: 192.5 kB / 442.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.2623, allocations: 118.9 kB / 442.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.2624, allocations: 66.06 kB / 442.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2625, allocations: 342.8 kB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.2628, allocations: 112.7 kB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.2631, allocations: 157.7 kB / 443.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.2636, allocations: 291.5 kB / 443.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2636, allocations: 0 / 443.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001597/0.2652, allocations: 0.5333 MB / 443.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2652, allocations: 8 kB / 443.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2652, allocations: 4 kB / 443.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.2665, allocations: 241.4 kB / 444.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.2667, allocations: 59.91 kB / 444.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005169/0.2719, allocations: 4.14 MB / 448.3 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.2722, allocations: 8.031 kB / 448.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.2722, allocations: 16 kB / 448.4 MB, free: 6.395 MB / 350.1 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.0001977/0.2724, allocations: 153.7 kB / 448.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.2724, allocations: 23.86 kB / 448.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/0.2725, allocations: 47.02 kB / 448.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2725, allocations: 4 kB / 448.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2725, allocations: 0 / 448.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2726, allocations: 3.984 kB / 448.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.2747, allocations: 0.9891 MB / 449.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2747, allocations: 3.984 kB / 449.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.2749, allocations: 43.98 kB / 449.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.2761, allocations: 237.5 kB / 449.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.2762, allocations: 8 kB / 449.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0049/0.2811, allocations: 4.126 MB / 454 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.2811, allocations: 7.969 kB / 454 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.2829, allocations: 0.7175 MB / 454.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.283, allocations: 105 kB / 454.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.283, allocations: 11.94 kB / 454.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2833, allocations: 16 kB / 454.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.2833, allocations: 27.95 kB / 454.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.2834, allocations: 8 kB / 454.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.2835, allocations: 168.5 kB / 455 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2835, allocations: 3.938 kB / 455 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006031/0.2842, allocations: 100 kB / 455.1 MB, free: 15.2 MB / 366.1 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.0001437/0.2843, allocations: 111.2 kB / 455.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.2853, allocations: 0.5476 MB / 455.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2853, allocations: 0 / 455.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006009/0.2859, allocations: 421.1 kB / 456.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2862, allocations: 28.75 kB / 456.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.2876, allocations: 0.7392 MB / 457 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.288, allocations: 0.784 MB / 457.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.2881, allocations: 19.44 kB / 457.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2881, allocations: 0 / 457.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of Templates: time 0.008982/0.2971, allocations: 6.152 MB / 463.9 MB, free: 6.277 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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: 7.2778076198883355]