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.001324/0.001324, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001501/0.001501, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 8.023 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+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 0.001636/0.001636, allocations: 51.94 kB / 378.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2511, allocations: 53.36 MB / 431.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004577/0.2556, allocations: 2.809 MB / 434.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.2573, allocations: 0.9579 MB / 435.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.2574, allocations: 11.94 kB / 435.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.2577, allocations: 51.52 kB / 435.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.258, allocations: 107.2 kB / 435.6 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.2583, allocations: 127.6 kB / 435.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.2587, allocations: 354.7 kB / 436 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.2589, allocations: 85.84 kB / 436.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.2591, allocations: 147.4 kB / 436.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.2593, allocations: 151.3 kB / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.2594, allocations: 32 kB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-05/0.2595, allocations: 36 kB / 436.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.2595, allocations: 63.77 kB / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.2597, allocations: 155.2 kB / 436.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.2601, allocations: 371.7 kB / 437 MB, free: 1.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2601, allocations: 4 kB / 437 MB, free: 1.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2601, allocations: 4 kB / 437 MB, free: 1.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2601, allocations: 0 / 437 MB, free: 1.5 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.001036/0.2612, allocations: 0.5402 MB / 437.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2612, allocations: 8.031 kB / 437.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.2614, allocations: 44.73 kB / 437.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.2618, allocations: 214.9 kB / 437.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.2618, allocations: 21.03 kB / 437.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.2618, allocations: 24.38 kB / 437.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.2623, allocations: 254.3 kB / 438.1 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2623, allocations: 0 / 438.1 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.863e-05/0.2624, allocations: 16 kB / 438.2 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.2625, allocations: 8 kB / 438.2 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.2629, allocations: 210.5 kB / 438.4 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.2647, allocations: 0.9597 MB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.2651, allocations: 190.5 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.2654, allocations: 98.44 kB / 439.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.2654, allocations: 11.98 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2654, allocations: 34.56 kB / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.2654, allocations: 0 / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005378/0.2708, allocations: 1.404 MB / 441.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.2708, allocations: 59.34 kB / 441.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.2711, allocations: 225 kB / 441.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.2712, allocations: 37.7 kB / 441.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.2713, allocations: 192.4 kB / 441.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2714, allocations: 126.9 kB / 441.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.2716, allocations: 66.06 kB / 441.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2717, allocations: 338.8 kB / 442.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.272, allocations: 112.6 kB / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.2723, allocations: 161.4 kB / 442.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.2728, allocations: 283.6 kB / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2728, allocations: 0 / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001654/0.2745, allocations: 0.5335 MB / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2745, allocations: 8 kB / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2745, allocations: 0 / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.2758, allocations: 241.5 kB / 443.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.2761, allocations: 55.91 kB / 443.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005332/0.2815, allocations: 3.947 MB / 447.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.2817, allocations: 8.031 kB / 447.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.2817, allocations: 19.98 kB / 447.4 MB, free: 6.594 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.0001789/0.2819, allocations: 153.8 kB / 447.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.282, allocations: 23.86 kB / 447.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.866e-05/0.2821, allocations: 42.95 kB / 447.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2821, allocations: 7.938 kB / 447.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2821, allocations: 0 / 447.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2821, allocations: 0 / 447.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.2844, allocations: 0.957 MB / 448.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2844, allocations: 0 / 448.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.2846, allocations: 39.92 kB / 448.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.2862, allocations: 249.5 kB / 448.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.2862, allocations: 4 kB / 448.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005424/0.2916, allocations: 3.923 MB / 452.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2916, allocations: 0 / 452.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.2936, allocations: 0.7168 MB / 453.5 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.2937, allocations: 23.89 kB / 453.6 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.2937, allocations: 11.94 kB / 453.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.294, allocations: 11.98 kB / 453.6 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.2941, allocations: 35.88 kB / 453.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.2941, allocations: 12.06 kB / 453.6 MB, free: 60 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.2943, allocations: 168.5 kB / 453.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2943, allocations: 0 / 453.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006909/0.295, allocations: 104 kB / 453.9 MB, free: 15.79 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.0001317/0.2951, allocations: 99.25 kB / 454 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.2962, allocations: 0.5554 MB / 454.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2962, allocations: 0 / 454.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006251/0.2968, allocations: 417.5 kB / 455 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.2972, allocations: 28.42 kB / 455 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.2987, allocations: 0.7255 MB / 455.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.2991, allocations: 0.7879 MB / 456.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.802e-05/0.2992, allocations: 22.28 kB / 456.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.2993, allocations: 15.44 kB / 456.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2993, allocations: 0 / 456.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01178/0.311, allocations: 5.795 MB / 462.3 MB, free: 7.25 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.810308734886348]