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.001562/0.001562, allocations: 109.1 kB / 21.18 MB, free: 0.7734 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.00178/0.00178, allocations: 205.4 kB / 24.49 MB, free: 4.172 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.441/1.441, allocations: 230.5 MB / 258.1 MB, free: 8.223 MB / 206.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.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 0.002111/0.002111, allocations: 63.91 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2415, allocations: 53.42 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004596/0.2461, allocations: 2.797 MB / 435.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.248, allocations: 0.9695 MB / 436.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.2481, allocations: 4 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.2484, allocations: 63.38 kB / 436.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.2487, allocations: 115.2 kB / 436.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.249, allocations: 107.8 kB / 436.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.2494, allocations: 358.6 kB / 436.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.2495, allocations: 81.95 kB / 436.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.2498, allocations: 139.5 kB / 437.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.25, allocations: 151.3 kB / 437.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.2501, allocations: 32 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.2501, allocations: 35.94 kB / 437.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.2502, allocations: 67.77 kB / 437.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.2504, allocations: 155.1 kB / 437.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.2508, allocations: 379.7 kB / 437.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2508, allocations: 4 kB / 437.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2508, allocations: 0 / 437.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2508, allocations: 0 / 437.9 MB, free: 1.316 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.0009984/0.2518, allocations: 0.5364 MB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2519, allocations: 12.03 kB / 438.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.2521, allocations: 40.73 kB / 438.5 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.2524, allocations: 210.9 kB / 438.7 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.2525, allocations: 28.97 kB / 438.7 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.2525, allocations: 24.38 kB / 438.7 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.253, allocations: 250.4 kB / 439 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.253, allocations: 4 kB / 439 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.253, allocations: 12 kB / 439 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2531, allocations: 8 kB / 439 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.2535, allocations: 210.5 kB / 439.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2551, allocations: 0.9635 MB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.2556, allocations: 196.5 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.2558, allocations: 107.8 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.2559, allocations: 0 / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.2559, allocations: 42.59 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.2559, allocations: 3.938 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005165/0.2611, allocations: 1.388 MB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.2611, allocations: 63.34 kB / 441.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.2614, allocations: 232.9 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.2614, allocations: 29.7 kB / 442.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.2616, allocations: 200.4 kB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.957e-05/0.2617, allocations: 122.9 kB / 442.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2618, allocations: 66.06 kB / 442.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.262, allocations: 338.8 kB / 442.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.2622, allocations: 104.7 kB / 443 MB, free: 11.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.2625, allocations: 165.5 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.263, allocations: 279.6 kB / 443.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.263, allocations: 4 kB / 443.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001606/0.2646, allocations: 0.5334 MB / 444 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2647, allocations: 8 kB / 444 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2647, allocations: 3.984 kB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.2659, allocations: 245.5 kB / 444.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.2662, allocations: 55.91 kB / 444.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005167/0.2714, allocations: 3.923 MB / 448.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.2716, allocations: 11.97 kB / 448.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.2717, allocations: 24.05 kB / 448.2 MB, free: 6.414 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.000201/0.2719, allocations: 149.7 kB / 448.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.2719, allocations: 27.86 kB / 448.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.272, allocations: 42.94 kB / 448.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.272, allocations: 4 kB / 448.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.272, allocations: 0 / 448.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.272, allocations: 0 / 448.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.2742, allocations: 0.9611 MB / 449.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2742, allocations: 7.938 kB / 449.4 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.2744, allocations: 39.97 kB / 449.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.2756, allocations: 241.5 kB / 449.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.2756, allocations: 4 kB / 449.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/0.2805, allocations: 3.923 MB / 453.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2805, allocations: 0 / 453.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.2824, allocations: 0.7169 MB / 454.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.2824, allocations: 23.89 kB / 454.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.2824, allocations: 15.88 kB / 454.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.2827, allocations: 8 kB / 454.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.2828, allocations: 39.94 kB / 454.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.2828, allocations: 12 kB / 454.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.283, allocations: 164.5 kB / 454.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.283, allocations: 0 / 454.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006118/0.2836, allocations: 104 kB / 454.7 MB, free: 15.61 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.0001386/0.2837, allocations: 107.2 kB / 454.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.2847, allocations: 0.552 MB / 455.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2847, allocations: 4 kB / 455.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.2853, allocations: 417.4 kB / 455.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.2857, allocations: 27.8 kB / 455.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.287, allocations: 0.7371 MB / 456.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.2875, allocations: 0.784 MB / 457.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.2876, allocations: 23.44 kB / 457.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2876, allocations: 0 / 457.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Templates: time 0.009052/0.2966, allocations: 6.147 MB / 463.5 MB, free: 6.691 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.821167466929182]