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.001949/0.001949, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002331/0.002331, allocations: 156.9 kB / 24.27 MB, free: 176 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 1.497/1.497, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 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.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.503e-06/1.503e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.907e-05, allocations: 2.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.005234/0.005263, allocations: 2.69 MB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.007908, allocations: 1.207 MB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.008193, allocations: 0 / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.008544, allocations: 67.42 kB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008274/0.009371, allocations: 238.5 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.009778, allocations: 135.7 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007419/0.01052, allocations: 474.9 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.01071, allocations: 60.88 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006471/0.01136, allocations: 267.5 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.01174, allocations: 175.5 kB / 277.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.01185, allocations: 40 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.01224, allocations: 163.8 kB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.01235, allocations: 87.7 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.01257, allocations: 143.6 kB / 277.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.01345, allocations: 0.5529 MB / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01346, allocations: 0 / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01346, allocations: 0 / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.01347, allocations: 0 / 278.5 MB, free: 11.53 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.001991/0.01546, allocations: 0.6375 MB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.01551, allocations: 11.98 kB / 279.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/0.01581, allocations: 64.73 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.01645, allocations: 278.7 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.01659, allocations: 106.3 kB / 279.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.01679, allocations: 40.67 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007961/0.01759, allocations: 351.8 kB / 279.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.01761, allocations: 7.938 kB / 279.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.01765, allocations: 12 kB / 279.9 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.01767, allocations: 8 kB / 280 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.01844, allocations: 289.8 kB / 280.2 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.02075, allocations: 1.004 MB / 281.2 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.02143, allocations: 281.1 kB / 281.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.02181, allocations: 157.6 kB / 281.7 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.02184, allocations: 8 kB / 281.7 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.02188, allocations: 38.56 kB / 281.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.02188, allocations: 7.938 kB / 281.7 MB, free: 8.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.01023/0.03211, allocations: 2.263 MB / 284 MB, free: 5.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.0322, allocations: 89.05 kB / 284.1 MB, free: 5.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.03266, allocations: 293.8 kB / 284.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.03271, allocations: 33.7 kB / 284.4 MB, free: 5.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.03288, allocations: 168.7 kB / 284.6 MB, free: 5.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.03306, allocations: 154.6 kB / 284.7 MB, free: 5.008 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.03323, allocations: 78.17 kB / 284.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.03344, allocations: 342.8 kB / 285.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.03391, allocations: 160.9 kB / 285.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.03442, allocations: 235.3 kB / 285.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009702/0.03539, allocations: 411.6 kB / 285.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.03539, allocations: 0 / 285.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001245/0.03664, allocations: 0.4928 MB / 286.4 MB, free: 3.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.03666, allocations: 15.88 kB / 286.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.03667, allocations: 0 / 286.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.0367, allocations: 4 kB / 286.4 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.03734, allocations: 119.8 kB / 286.5 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.03735, allocations: 7.984 kB / 286.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.03782, allocations: 32.02 kB / 286.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.03787, allocations: 19.98 kB / 286.6 MB, free: 3.059 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.0002195/0.03809, allocations: 145.8 kB / 286.7 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.03823, allocations: 51.75 kB / 286.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.0406, allocations: 0.6501 MB / 287.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.04062, allocations: 7.938 kB / 287.4 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.04063, allocations: 0 / 287.4 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.04064, allocations: 3.984 kB / 287.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.04418, allocations: 1.125 MB / 288.6 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.04419, allocations: 3.938 kB / 288.6 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.04468, allocations: 87.88 kB / 288.7 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.04644, allocations: 268.6 kB / 288.9 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/0.04649, allocations: 19.98 kB / 288.9 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004896/0.05139, allocations: 2.274 MB / 291.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.05139, allocations: 4.031 kB / 291.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.05415, allocations: 1.018 MB / 292.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.0544, allocations: 75.72 kB / 292.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.05448, allocations: 12 kB / 292.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.05498, allocations: 35.92 kB / 292.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.05513, allocations: 36.42 kB / 292.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.05517, allocations: 16 kB / 292.4 MB, free: 13.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003049/0.05547, allocations: 213.2 kB / 292.6 MB, free: 12.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05547, allocations: 0 / 292.6 MB, free: 12.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006503/0.05612, allocations: 119.9 kB / 292.7 MB, free: 12.73 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.0003604/0.05648, allocations: 147 kB / 292.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.05763, allocations: 410.9 kB / 293.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.05764, allocations: 384 / 293.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.05847, allocations: 372.4 kB / 293.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.05901, allocations: 48.48 kB / 293.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.06109, allocations: 0.8522 MB / 294.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.06147, allocations: 183.1 kB / 294.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.0617, allocations: 42.94 kB / 294.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.06186, allocations: 40.48 kB / 294.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.06186, allocations: 0 / 294.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of Templates: time 0.01384/0.0757, allocations: 6.145 MB / 301 MB, free: 4.473 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.612579886103049]