Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.00094/0.00094, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.0009497/0.0009497, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9688/0.9688, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.061e-05, allocations: 6.25 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.006582/0.006603, allocations: 2.88 MB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004889/0.01149, allocations: 1.261 MB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.01164, allocations: 4 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.01189, allocations: 71.36 kB / 277.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.01242, allocations: 230.5 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.01268, allocations: 131.7 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.01311, allocations: 474.9 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.01324, allocations: 64.81 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.01661, allocations: 271.4 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.01684, allocations: 179.5 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.01689, allocations: 40 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.01714, allocations: 155.8 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.0172, allocations: 99.69 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.01733, allocations: 139.6 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.01779, allocations: 394.6 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.01779, allocations: 0 / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01779, allocations: 0 / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.0178, allocations: 0 / 279.2 MB, free: 11.11 MB / 266.7 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.001117/0.01892, allocations: 0.7452 MB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.01895, allocations: 11.98 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.01913, allocations: 68.73 kB / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.02248, allocations: 260.8 kB / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.02256, allocations: 98.33 kB / 280.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.02268, allocations: 40.67 kB / 280.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.0231, allocations: 301 kB / 280.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.02312, allocations: 11.94 kB / 280.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.02315, allocations: 8 kB / 280.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.02316, allocations: 8 kB / 280.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.02347, allocations: 162.8 kB / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.02475, allocations: 1.086 MB / 282 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.02507, allocations: 226.6 kB / 282.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.0252, allocations: 99.31 kB / 282.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.02522, allocations: 8 kB / 282.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.02528, allocations: 37.39 kB / 282.4 MB, free: 7.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.983e-06/0.02528, allocations: 0 / 282.4 MB, free: 7.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.005274/0.03055, allocations: 1.81 MB / 284.2 MB, free: 5.891 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.03059, allocations: 85.11 kB / 284.3 MB, free: 5.789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.03083, allocations: 308.3 kB / 284.6 MB, free: 5.473 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.03086, allocations: 33.7 kB / 284.6 MB, free: 5.434 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.03095, allocations: 215.4 kB / 284.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.03103, allocations: 150.7 kB / 285 MB, free: 5.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/0.03112, allocations: 83.83 kB / 285.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.03124, allocations: 0.5156 MB / 285.6 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.03137, allocations: 72.95 kB / 285.6 MB, free: 4.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.03153, allocations: 155.1 kB / 285.8 MB, free: 4.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.03184, allocations: 263.4 kB / 286.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.03184, allocations: 0 / 286.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004302/0.03227, allocations: 332.8 kB / 286.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.03229, allocations: 7.938 kB / 286.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.03229, allocations: 192 / 286.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.0323, allocations: 8 kB / 286.4 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.0326, allocations: 115.8 kB / 286.5 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.03261, allocations: 4 kB / 286.5 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.03276, allocations: 31.94 kB / 286.5 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.03279, allocations: 19.98 kB / 286.6 MB, free: 3.402 MB / 266.7 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.0001058/0.03289, allocations: 180.5 kB / 286.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.03296, allocations: 47.75 kB / 286.8 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/0.03372, allocations: 468.7 kB / 287.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.03373, allocations: 7.938 kB / 287.2 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.03373, allocations: 0 / 287.2 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.03374, allocations: 7.984 kB / 287.3 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.03515, allocations: 0.951 MB / 288.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.03516, allocations: 3.938 kB / 288.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.03537, allocations: 83.89 kB / 288.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006899/0.03606, allocations: 223.4 kB / 288.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.03609, allocations: 8 kB / 288.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.03797, allocations: 2.442 MB / 291 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.03797, allocations: 7.984 kB / 291 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009389/0.03891, allocations: 0.7941 MB / 291.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.755e-05/0.039, allocations: 67.75 kB / 291.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.03904, allocations: 8 kB / 291.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.03923, allocations: 31.95 kB / 291.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.03931, allocations: 44.36 kB / 291.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.03933, allocations: 12 kB / 291.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.03946, allocations: 225.1 kB / 292.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03946, allocations: 0 / 292.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003446/0.0398, allocations: 111.9 kB / 292.3 MB, free: 13.48 MB / 282.7 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.0001961/0.04, allocations: 151 kB / 292.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.04037, allocations: 259.7 kB / 292.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.04037, allocations: 4 kB / 292.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.04071, allocations: 368.2 kB / 293 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.04101, allocations: 44.98 kB / 293.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.04217, allocations: 0.8134 MB / 293.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.773e-05/0.04224, allocations: 98.61 kB / 294 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.04235, allocations: 50.94 kB / 294 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.04245, allocations: 40.48 kB / 294.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04245, allocations: 0 / 294.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of Templates: time 0.00795/0.0504, allocations: 6.586 MB / 300.6 MB, free: 5.039 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8041935837827623]