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.001929/0.001929, allocations: 89.22 kB / 20.68 MB, free: 1.023 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.002301/0.002301, allocations: 157.8 kB / 23.95 MB, free: 4.152 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.482/1.482, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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 2.164e-06/2.164e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.027e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00604/0.00607, allocations: 2.688 MB / 327.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.009362, allocations: 1.209 MB / 328.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.009786, allocations: 4 kB / 328.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.0102, allocations: 66.56 kB / 329 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.01129, allocations: 235.5 kB / 329.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.01186, allocations: 138.2 kB / 329.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009414/0.0128, allocations: 477.5 kB / 329.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.01302, allocations: 54.14 kB / 329.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008021/0.01382, allocations: 277.9 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000529/0.01435, allocations: 173 kB / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.0145, allocations: 40.25 kB / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005152/0.01502, allocations: 159.3 kB / 330.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.01517, allocations: 97.38 kB / 330.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.01545, allocations: 134.5 kB / 330.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.01647, allocations: 0.5493 MB / 331.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.01648, allocations: 1.438 kB / 331.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01648, allocations: 0 / 331.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.654e-05/0.0165, allocations: 7.938 kB / 331.3 MB, free: 12.54 MB / 302.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.002391/0.01889, allocations: 0.6347 MB / 331.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.01895, allocations: 14.11 kB / 331.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.01925, allocations: 49.17 kB / 332 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.02002, allocations: 271.8 kB / 332.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.02015, allocations: 108.3 kB / 332.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.02037, allocations: 35.05 kB / 332.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009176/0.02129, allocations: 350.9 kB / 332.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.02131, allocations: 5.031 kB / 332.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.02136, allocations: 10.28 kB / 332.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.02137, allocations: 6.719 kB / 332.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009977/0.02237, allocations: 300.7 kB / 333 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.02479, allocations: 0.9928 MB / 334 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/0.02568, allocations: 290.3 kB / 334.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.02615, allocations: 152.8 kB / 334.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.02618, allocations: 2.781 kB / 334.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.02622, allocations: 44.73 kB / 334.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.02623, allocations: 1.094 kB / 334.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.01313/0.03936, allocations: 2.262 MB / 336.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.03944, allocations: 81.73 kB / 336.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.03998, allocations: 294.4 kB / 337.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.04005, allocations: 39.83 kB / 337.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.04026, allocations: 170.9 kB / 337.3 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.04045, allocations: 150.7 kB / 337.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.04068, allocations: 82.17 kB / 337.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.04089, allocations: 334.8 kB / 337.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/0.04151, allocations: 164.9 kB / 338.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/0.04218, allocations: 231.2 kB / 338.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.04368, allocations: 407.5 kB / 338.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.04369, allocations: 8 kB / 338.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001837/0.04553, allocations: 484.4 kB / 339.2 MB, free: 6.586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.04556, allocations: 11.94 kB / 339.2 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.04557, allocations: 0 / 339.2 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.0456, allocations: 8.188 kB / 339.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/0.04658, allocations: 111.9 kB / 339.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.0466, allocations: 7.938 kB / 339.3 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005798/0.04718, allocations: 35.97 kB / 339.3 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.04725, allocations: 16 kB / 339.4 MB, free: 6.398 MB / 302.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.0002646/0.04751, allocations: 153.8 kB / 339.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.04767, allocations: 35.75 kB / 339.5 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.05031, allocations: 0.6501 MB / 340.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.05032, allocations: 7.938 kB / 340.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.05033, allocations: 0 / 340.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.05034, allocations: 3.938 kB / 340.2 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.05402, allocations: 1.125 MB / 341.3 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.05402, allocations: 3.938 kB / 341.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.0545, allocations: 87.89 kB / 341.4 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/0.05617, allocations: 272.5 kB / 341.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.05622, allocations: 12 kB / 341.7 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/0.06093, allocations: 2.282 MB / 344 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.06094, allocations: 4.062 kB / 344 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.06366, allocations: 1.013 MB / 345 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.06391, allocations: 67.8 kB / 345.1 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.06401, allocations: 12 kB / 345.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.06456, allocations: 31.91 kB / 345.1 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.06472, allocations: 40.42 kB / 345.1 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.06476, allocations: 12 kB / 345.2 MB, free: 424 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.06507, allocations: 213.2 kB / 345.4 MB, free: 204 kB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06507, allocations: 0 / 345.4 MB, free: 204 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006781/0.06575, allocations: 119.9 kB / 345.5 MB, free: 84 kB / 302.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.0004551/0.0662, allocations: 147.2 kB / 345.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.06733, allocations: 410.9 kB / 346 MB, free: 15.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.06733, allocations: 3.938 kB / 346 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008464/0.06818, allocations: 369.8 kB / 346.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.06874, allocations: 40.48 kB / 346.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.0709, allocations: 0.8463 MB / 347.3 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.07114, allocations: 187.1 kB / 347.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002116/0.07135, allocations: 42.94 kB / 347.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.07151, allocations: 36.48 kB / 347.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.07151, allocations: 0 / 347.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of Templates: time 0.01368/0.08518, allocations: 6.114 MB / 353.7 MB, free: 7.871 MB / 318.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/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.6287044659256935]