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.0009345/0.0009345, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.00106/0.00106, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9477/0.9477, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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 1.673e-06/1.673e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.738e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.006892/0.00692, allocations: 2.865 MB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.01181, allocations: 1.258 MB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.01197, allocations: 7.938 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.0122, allocations: 63.45 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.0127, allocations: 234.5 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.01296, allocations: 131.7 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000441/0.01341, allocations: 482.8 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.01354, allocations: 56.83 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.01385, allocations: 275.4 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.01405, allocations: 175.5 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.0141, allocations: 40 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.01432, allocations: 159.8 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.01437, allocations: 99.64 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.598e-05/0.01447, allocations: 135.7 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.01488, allocations: 402.6 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.01489, allocations: 0 / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01489, allocations: 0 / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.01489, allocations: 0 / 279.3 MB, free: 11.16 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.0009289/0.01582, allocations: 0.7413 MB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01586, allocations: 8.031 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.016, allocations: 60.75 kB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.01628, allocations: 264.8 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.01636, allocations: 106.3 kB / 280.5 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.016e-05/0.01645, allocations: 36.73 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.0168, allocations: 297 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.01681, allocations: 7.938 kB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.01683, allocations: 12 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.01684, allocations: 4 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.01708, allocations: 170.8 kB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01812, allocations: 1.079 MB / 282.1 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.01839, allocations: 224.9 kB / 282.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.01851, allocations: 99.33 kB / 282.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.01853, allocations: 7.984 kB / 282.4 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.01856, allocations: 45.38 kB / 282.4 MB, free: 7.805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.332e-06/0.01856, allocations: 3.938 kB / 282.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.003917/0.02248, allocations: 1.808 MB / 284.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.02252, allocations: 93.11 kB / 284.4 MB, free: 5.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.02272, allocations: 304.3 kB / 284.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.02275, allocations: 29.7 kB / 284.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.02285, allocations: 223.4 kB / 284.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.02296, allocations: 150.7 kB / 285 MB, free: 5.125 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.02307, allocations: 83.83 kB / 285.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.02322, allocations: 0.5079 MB / 285.6 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.02335, allocations: 72.94 kB / 285.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.02352, allocations: 167 kB / 285.9 MB, free: 4.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.02382, allocations: 259.5 kB / 286.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.02383, allocations: 0 / 286.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004351/0.02426, allocations: 336.7 kB / 286.4 MB, free: 3.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.02428, allocations: 7.938 kB / 286.5 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.02428, allocations: 4.188 kB / 286.5 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.02429, allocations: 8 kB / 286.5 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.02458, allocations: 111.9 kB / 286.6 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.02458, allocations: 4 kB / 286.6 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.02473, allocations: 31.94 kB / 286.6 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.02475, allocations: 15.98 kB / 286.6 MB, free: 3.453 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.00011/0.02486, allocations: 184.5 kB / 286.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.02493, allocations: 47.75 kB / 286.9 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007385/0.02567, allocations: 468.6 kB / 287.3 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.02568, allocations: 11.94 kB / 287.3 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.02568, allocations: 0 / 287.3 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.02569, allocations: 7.984 kB / 287.3 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.02704, allocations: 0.9471 MB / 288.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.02705, allocations: 3.938 kB / 288.3 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.02726, allocations: 87.89 kB / 288.4 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006589/0.02792, allocations: 227.3 kB / 288.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.02794, allocations: 8 kB / 288.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.02985, allocations: 2.438 MB / 291 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.02985, allocations: 0 / 291 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.03089, allocations: 0.8018 MB / 291.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.031, allocations: 75.73 kB / 291.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.03104, allocations: 8 kB / 291.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.03122, allocations: 35.95 kB / 292 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/0.03132, allocations: 32.44 kB / 292 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.03134, allocations: 15.98 kB / 292 MB, free: 13.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.03149, allocations: 221.1 kB / 292.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03149, allocations: 0 / 292.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004164/0.03191, allocations: 119.9 kB / 292.3 MB, free: 13.52 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.0002768/0.03218, allocations: 147 kB / 292.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.03262, allocations: 263.7 kB / 292.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03262, allocations: 3.938 kB / 292.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.03305, allocations: 368.1 kB / 293.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.03341, allocations: 48.91 kB / 293.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.03472, allocations: 0.8015 MB / 293.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.381e-05/0.03479, allocations: 106.6 kB / 294.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.03491, allocations: 42.95 kB / 294.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.03501, allocations: 40.47 kB / 294.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of SimCode: time 1.352e-06/0.03501, allocations: 0 / 294.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of Templates: time 0.008187/0.0432, allocations: 6.575 MB / 300.7 MB, free: 5.09 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] 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","",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.8713129917159677]