Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.001873/0.001873, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002314/0.002314, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 51.91 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2496, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004324/0.2539, allocations: 2.685 MB / 434.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.2561, allocations: 1.203 MB / 435.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.2562, allocations: 8 kB / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.2565, allocations: 67.36 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.2571, allocations: 234.4 kB / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.2573, allocations: 135.7 kB / 435.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004982/0.2578, allocations: 455.1 kB / 436.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.258, allocations: 56.89 kB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.2583, allocations: 203.3 kB / 436.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.2586, allocations: 195.2 kB / 436.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.659e-05/0.2587, allocations: 40 kB / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.259, allocations: 163.9 kB / 437 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2591, allocations: 95.64 kB / 437.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.2593, allocations: 155.3 kB / 437.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006496/0.2599, allocations: 0.5161 MB / 437.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2599, allocations: 0 / 437.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2599, allocations: 0 / 437.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.2599, allocations: 0 / 437.7 MB, free: 0.5039 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001687/0.2616, allocations: 0.6453 MB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2616, allocations: 8.031 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.2619, allocations: 44.73 kB / 438.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.2624, allocations: 283.2 kB / 438.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.2625, allocations: 106.3 kB / 438.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.2627, allocations: 36.48 kB / 438.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.2633, allocations: 351.3 kB / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2633, allocations: 0 / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.2634, allocations: 12 kB / 439.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2634, allocations: 8 kB / 439.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007104/0.2641, allocations: 301.7 kB / 439.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.2659, allocations: 0.9916 MB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.2665, allocations: 280.3 kB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.2668, allocations: 157.6 kB / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.2668, allocations: 4 kB / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2669, allocations: 34.56 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.2669, allocations: 0 / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009377/0.2763, allocations: 2.28 MB / 443.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.2763, allocations: 81.11 kB / 443.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.2767, allocations: 293 kB / 443.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.2768, allocations: 29.7 kB / 443.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.2769, allocations: 176.6 kB / 443.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.277, allocations: 154.6 kB / 444 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.2772, allocations: 78.11 kB / 444.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.2774, allocations: 346.8 kB / 444.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.2778, allocations: 156.8 kB / 444.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.2782, allocations: 234.6 kB / 444.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008815/0.2791, allocations: 399.8 kB / 445.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2791, allocations: 0 / 445.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001095/0.2802, allocations: 496.6 kB / 445.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2802, allocations: 4 kB / 445.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2802, allocations: 4 kB / 445.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2803, allocations: 4 kB / 445.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/0.2809, allocations: 116 kB / 445.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.2809, allocations: 11.98 kB / 445.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.2813, allocations: 31.98 kB / 445.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.2813, allocations: 11.98 kB / 445.8 MB, free: 8.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.2815, allocations: 153.7 kB / 446 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2816, allocations: 35.77 kB / 446 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.2836, allocations: 0.6525 MB / 446.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.2836, allocations: 4 kB / 446.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2836, allocations: 4 kB / 446.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.2836, allocations: 7.984 kB / 446.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.2868, allocations: 1.123 MB / 447.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2868, allocations: 0 / 447.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.2872, allocations: 95.88 kB / 447.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/0.2888, allocations: 264.6 kB / 448.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.2889, allocations: 15.98 kB / 448.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004257/0.2931, allocations: 2.278 MB / 450.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2931, allocations: 3.938 kB / 450.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.2955, allocations: 0.9998 MB / 451.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.2958, allocations: 83.72 kB / 451.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.2958, allocations: 8 kB / 451.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.2963, allocations: 23.98 kB / 451.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.2964, allocations: 36.36 kB / 451.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.2964, allocations: 16 kB / 451.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.2967, allocations: 212.5 kB / 451.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2967, allocations: 0 / 451.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005557/0.2972, allocations: 123.9 kB / 451.9 MB, free: 1.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002713/0.2975, allocations: 141.2 kB / 452.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009878/0.2985, allocations: 414 kB / 452.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2985, allocations: 0 / 452.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007215/0.2992, allocations: 368.9 kB / 452.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.2997, allocations: 32.75 kB / 452.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.3015, allocations: 0.9841 MB / 453.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.3017, allocations: 179.1 kB / 454 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.3019, allocations: 42.94 kB / 454.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.3021, allocations: 39.42 kB / 454.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3021, allocations: 0 / 454.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Templates: time 0.0126/0.3147, allocations: 6.476 MB / 460.6 MB, free: 9.113 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.65493980795145]