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.001116/0.001116, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001193/0.001193, allocations: 165.3 kB / 25.61 MB, free: 8.898 MB / 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.9512/0.9512, allocations: 177 MB / 205.9 MB, free: 4.457 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.312e-06/1.312e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.364e-05, allocations: 2.312 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003166/0.00319, allocations: 2.843 MB / 277 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.004814, allocations: 1.241 MB / 278.2 MB, free: 208 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.004973, allocations: 7.938 kB / 278.2 MB, free: 200 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.005227, allocations: 67.42 kB / 278.3 MB, free: 132 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.00568, allocations: 235.6 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.005896, allocations: 135.7 kB / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.006272, allocations: 470.9 kB / 279.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.006409, allocations: 64.88 kB / 279.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.006723, allocations: 271.4 kB / 279.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.006971, allocations: 179.5 kB / 279.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.007022, allocations: 40 kB / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.007244, allocations: 163.8 kB / 279.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.007312, allocations: 87.7 kB / 279.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.007417, allocations: 135.6 kB / 280 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.007868, allocations: 398.6 kB / 280.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.007873, allocations: 3.984 kB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007874, allocations: 4 kB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.00788, allocations: 4 kB / 280.4 MB, free: 13.98 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.001189/0.00907, allocations: 0.7257 MB / 281.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.009111, allocations: 12.03 kB / 281.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.009287, allocations: 72.69 kB / 281.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.009583, allocations: 252.8 kB / 281.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-05/0.00967, allocations: 102.3 kB / 281.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.009777, allocations: 40.7 kB / 281.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.01012, allocations: 288.9 kB / 281.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.01013, allocations: 3.938 kB / 281.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.01016, allocations: 12 kB / 281.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.01016, allocations: 4 kB / 281.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.01036, allocations: 141.3 kB / 282 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.01137, allocations: 1.052 MB / 283.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.01159, allocations: 191.9 kB / 283.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.01168, allocations: 91.75 kB / 283.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.0117, allocations: 12 kB / 283.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.01173, allocations: 41.39 kB / 283.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.01173, allocations: 0 / 283.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.003847/0.01558, allocations: 1.666 MB / 285.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.01561, allocations: 81.11 kB / 285.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.01579, allocations: 312.1 kB / 285.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.01582, allocations: 29.7 kB / 285.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.0159, allocations: 219.3 kB / 285.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.01598, allocations: 162.6 kB / 285.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.01608, allocations: 83.8 kB / 286 MB, free: 8.129 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.01621, allocations: 0.5156 MB / 286.5 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.01631, allocations: 56.94 kB / 286.5 MB, free: 7.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.01643, allocations: 143.1 kB / 286.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.01666, allocations: 223.4 kB / 286.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01666, allocations: 4 kB / 286.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003491/0.01701, allocations: 296.8 kB / 287.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.01702, allocations: 4 kB / 287.2 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01703, allocations: 7.938 kB / 287.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.01704, allocations: 4 kB / 287.2 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.01733, allocations: 116 kB / 287.3 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01734, allocations: 4 kB / 287.3 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.01749, allocations: 27.98 kB / 287.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.01751, allocations: 19.98 kB / 287.4 MB, free: 6.648 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.0001138/0.01763, allocations: 176.5 kB / 287.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.0177, allocations: 39.81 kB / 287.6 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.01843, allocations: 448.5 kB / 288 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.01843, allocations: 8 kB / 288 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.01843, allocations: 3.938 kB / 288 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.01844, allocations: 3.984 kB / 288 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.01978, allocations: 0.8695 MB / 288.9 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01979, allocations: 4 kB / 288.9 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.02002, allocations: 87.89 kB / 289 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000674/0.02069, allocations: 223.3 kB / 289.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.02072, allocations: 11.94 kB / 289.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.02252, allocations: 2.373 MB / 291.6 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.02252, allocations: 0 / 291.6 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/0.02337, allocations: 0.7472 MB / 292.3 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.02347, allocations: 67.75 kB / 292.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.0235, allocations: 12 kB / 292.4 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.0237, allocations: 23.98 kB / 292.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.02377, allocations: 44.44 kB / 292.5 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.0238, allocations: 23.92 kB / 292.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.0239, allocations: 205.1 kB / 292.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0239, allocations: 0 / 292.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.02425, allocations: 115.9 kB / 292.8 MB, free: 0.9922 MB / 266.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.0002094/0.02446, allocations: 147 kB / 293 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.02477, allocations: 231.6 kB / 293.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.02477, allocations: 4 kB / 293.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.02509, allocations: 344.3 kB / 293.5 MB, free: 256 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.02541, allocations: 51.62 kB / 293.6 MB, free: 208 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.02667, allocations: 0.8053 MB / 294.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.937e-05/0.02674, allocations: 106.6 kB / 294.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.02687, allocations: 38.95 kB / 294.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.02705, allocations: 130.2 kB / 294.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.02705, allocations: 4 kB / 294.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of Templates: time 0.008558/0.03561, allocations: 6.83 MB / 301.5 MB, free: 8.285 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.8110887510702014]