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.001845/0.001845, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 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.002199/0.002199, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 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.528/1.528, allocations: 230.2 MB / 255.2 MB, free: 15.2 MB / 206.1 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 0.001857/0.001857, allocations: 67.89 kB / 374.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1087, allocations: 53.32 MB / 427.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.005801/0.1145, allocations: 2.866 MB / 430.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.1174, allocations: 1.292 MB / 432 MB, free: 276 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1175, allocations: 4 kB / 432 MB, free: 272 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1178, allocations: 67.42 kB / 432.1 MB, free: 204 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1868/0.3046, allocations: 223.1 kB / 432.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.3051, allocations: 129.4 kB / 432.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.3056, allocations: 464 kB / 432.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3058, allocations: 64.77 kB / 432.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.3061, allocations: 190.6 kB / 433.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.3064, allocations: 227.9 kB / 433.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.3064, allocations: 41.84 kB / 433.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.3068, allocations: 164.2 kB / 433.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.3068, allocations: 90.84 kB / 433.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.307, allocations: 189 kB / 433.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.3075, allocations: 0.5091 MB / 434.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3075, allocations: 0.5625 kB / 434.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3075, allocations: 0 / 434.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.3075, allocations: 0.7188 kB / 434.3 MB, free: 8.016 MB / 350.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.001439/0.309, allocations: 0.7175 MB / 435 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.309, allocations: 16.62 kB / 435 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.3092, allocations: 40.72 kB / 435.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.3096, allocations: 334.2 kB / 435.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.3097, allocations: 48.89 kB / 435.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.3098, allocations: 42.52 kB / 435.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.3104, allocations: 320.5 kB / 435.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3104, allocations: 5.031 kB / 435.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.3104, allocations: 13.88 kB / 435.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3104, allocations: 9.031 kB / 435.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006646/0.3111, allocations: 295 kB / 436.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.3127, allocations: 1.172 MB / 437.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.3133, allocations: 283.4 kB / 437.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.3136, allocations: 154.2 kB / 437.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3136, allocations: 5.969 kB / 437.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3136, allocations: 37.75 kB / 437.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.3136, allocations: 0 / 437.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009089/0.3227, allocations: 2.418 MB / 440.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.3228, allocations: 83.09 kB / 440.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.3231, allocations: 293.7 kB / 440.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.3231, allocations: 31.2 kB / 440.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.3232, allocations: 170.3 kB / 440.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/0.3233, allocations: 155.2 kB / 440.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.3234, allocations: 83.78 kB / 441 MB, free: 5.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.3235, allocations: 342.7 kB / 441.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.3238, allocations: 166.8 kB / 441.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.3243, allocations: 225.3 kB / 441.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/0.325, allocations: 401.6 kB / 442.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.325, allocations: 5.156 kB / 442.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001069/0.3261, allocations: 491.4 kB / 442.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3261, allocations: 11.53 kB / 442.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3261, allocations: 3 kB / 442.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3261, allocations: 3.406 kB / 442.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.3267, allocations: 114.5 kB / 442.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3267, allocations: 6.844 kB / 442.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.3271, allocations: 31.89 kB / 442.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.3272, allocations: 22.91 kB / 442.8 MB, free: 4.164 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.0001353/0.3273, allocations: 148.2 kB / 442.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.3274, allocations: 36.81 kB / 443 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.3292, allocations: 0.651 MB / 443.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.3292, allocations: 5.406 kB / 443.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3292, allocations: 1.062 kB / 443.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3292, allocations: 1.453 kB / 443.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.3322, allocations: 1.273 MB / 444.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3322, allocations: 4.125 kB / 444.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.3327, allocations: 89.7 kB / 445 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/0.3343, allocations: 273.5 kB / 445.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.3343, allocations: 16.66 kB / 445.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003499/0.3378, allocations: 2.44 MB / 447.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3378, allocations: 4.078 kB / 447.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.34, allocations: 1.002 MB / 448.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.3401, allocations: 152 kB / 448.9 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.3402, allocations: 11.19 kB / 448.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.3406, allocations: 25.08 kB / 448.9 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3407, allocations: 38.45 kB / 448.9 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.3408, allocations: 14.61 kB / 448.9 MB, free: 464 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.341, allocations: 216.3 kB / 449.2 MB, free: 332 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.341, allocations: 1.031 kB / 449.2 MB, free: 332 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005658/0.3415, allocations: 118.4 kB / 449.3 MB, free: 312 kB / 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.0002465/0.3418, allocations: 144.1 kB / 449.4 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009443/0.3427, allocations: 408.3 kB / 449.8 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3427, allocations: 1.125 kB / 449.8 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007185/0.3434, allocations: 367 kB / 450.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.3439, allocations: 45.61 kB / 450.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3457, allocations: 1.01 MB / 451.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.3461, allocations: 0.788 MB / 452 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3463, allocations: 40.47 kB / 452.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3463, allocations: 0 / 452.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of Templates: time 0.008736/0.355, allocations: 5.791 MB / 457.8 MB, free: 12.57 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.467636129818857]