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.001342/0.001342, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001448/0.001448, allocations: 214.6 kB / 23.73 MB, free: 4.16 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.001937/0.001937, allocations: 55.91 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2514, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004351/0.2558, allocations: 2.626 MB / 434.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2574, allocations: 0.884 MB / 435.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.2576, allocations: 7.938 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.2578, allocations: 59.44 kB / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.2582, allocations: 115.2 kB / 435.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.2585, allocations: 115.7 kB / 435.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.2589, allocations: 354.6 kB / 435.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.2591, allocations: 81.61 kB / 435.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.2594, allocations: 143.5 kB / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.2596, allocations: 131.3 kB / 436.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.2597, allocations: 32 kB / 436.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.2597, allocations: 32 kB / 436.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.2598, allocations: 71.75 kB / 436.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2599, allocations: 127.4 kB / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.2604, allocations: 369 kB / 436.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2604, allocations: 4 kB / 436.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2604, allocations: 0 / 436.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2604, allocations: 3.938 kB / 436.7 MB, free: 1.379 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.001019/0.2615, allocations: 0.5403 MB / 437.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2615, allocations: 11.98 kB / 437.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.2617, allocations: 44.73 kB / 437.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.2621, allocations: 210.9 kB / 437.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.2621, allocations: 21.03 kB / 437.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.2622, allocations: 32.36 kB / 437.6 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.2627, allocations: 284 kB / 437.9 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.2627, allocations: 0 / 437.9 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.2627, allocations: 12 kB / 437.9 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2628, allocations: 8 kB / 437.9 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.2632, allocations: 202.5 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.2648, allocations: 0.8009 MB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.2653, allocations: 198.4 kB / 439.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.2655, allocations: 99.86 kB / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.2655, allocations: 12 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.2656, allocations: 34.56 kB / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.372e-06/0.2656, allocations: 0 / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005251/0.2708, allocations: 1.404 MB / 440.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2709, allocations: 55.41 kB / 440.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.2711, allocations: 232.8 kB / 440.9 MB, free: 13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2712, allocations: 29.7 kB / 440.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.2713, allocations: 196.4 kB / 441.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.2714, allocations: 123 kB / 441.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2715, allocations: 70.02 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2717, allocations: 334.8 kB / 441.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.272, allocations: 108.6 kB / 441.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.2722, allocations: 165.5 kB / 441.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.2728, allocations: 283.6 kB / 442.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2728, allocations: 4 kB / 442.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001616/0.2744, allocations: 0.5296 MB / 442.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2744, allocations: 11.98 kB / 442.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2744, allocations: 0 / 442.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.2757, allocations: 241.5 kB / 443 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.276, allocations: 59.91 kB / 443 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005183/0.2812, allocations: 3.842 MB / 446.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.2814, allocations: 11.98 kB / 446.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2815, allocations: 15.94 kB / 446.9 MB, free: 6.734 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.0001809/0.2816, allocations: 145.8 kB / 447 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.2817, allocations: 31.75 kB / 447.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.2818, allocations: 46.95 kB / 447.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2818, allocations: 0 / 447.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.2818, allocations: 4 kB / 447.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2818, allocations: 3.984 kB / 447.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.284, allocations: 0.8563 MB / 448 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.284, allocations: 0 / 448 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.2842, allocations: 47.84 kB / 448 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.2855, allocations: 245.8 kB / 448.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.2855, allocations: 8 kB / 448.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/0.2904, allocations: 3.826 MB / 452.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2904, allocations: 4.125 kB / 452.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.2923, allocations: 0.7247 MB / 452.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.2923, allocations: 19.81 kB / 452.9 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.2924, allocations: 15.98 kB / 452.9 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.2926, allocations: 12 kB / 452.9 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.2927, allocations: 31.88 kB / 452.9 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.2927, allocations: 8 kB / 452.9 MB, free: 432 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.2929, allocations: 168.5 kB / 453.1 MB, free: 264 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2929, allocations: 4.062 kB / 453.1 MB, free: 260 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006356/0.2935, allocations: 100 kB / 453.2 MB, free: 160 kB / 350.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.0001428/0.2937, allocations: 106.8 kB / 453.3 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.2947, allocations: 0.5562 MB / 453.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2947, allocations: 0 / 453.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006224/0.2954, allocations: 417 kB / 454.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.2957, allocations: 24.81 kB / 454.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2971, allocations: 0.7238 MB / 455 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.2973, allocations: 173.6 kB / 455.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.2974, allocations: 22.28 kB / 455.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.2975, allocations: 15.44 kB / 455.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2975, allocations: 4 kB / 455.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of Templates: time 0.01155/0.309, allocations: 6.002 MB / 461.2 MB, free: 8.039 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/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: 4.702369747683406]