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.0009199/0.0009199, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009257/0.0009257, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9445/0.9445, allocations: 177 MB / 204.8 MB, free: 5.578 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.723e-06/1.723e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.779e-05, allocations: 2.312 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004809/0.004837, allocations: 2.881 MB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.007297, allocations: 1.25 MB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.007539, allocations: 8 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.007868, allocations: 71.36 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007422/0.00861, allocations: 226.5 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.008986, allocations: 135.7 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006202/0.009606, allocations: 474.9 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.009789, allocations: 60.83 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.01031, allocations: 283.4 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.01064, allocations: 171.6 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.517e-05/0.01072, allocations: 40 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.01109, allocations: 163.8 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.891e-05/0.01118, allocations: 99.62 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.01133, allocations: 127.7 kB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.012, allocations: 402.6 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.01201, allocations: 0 / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01201, allocations: 0 / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.01202, allocations: 0 / 279.2 MB, free: 11.08 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.001519/0.01354, allocations: 0.7452 MB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.01358, allocations: 11.98 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.01383, allocations: 64.73 kB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.01432, allocations: 261.3 kB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.933e-05/0.01442, allocations: 106.3 kB / 280.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.01456, allocations: 40.67 kB / 280.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.0151, allocations: 309 kB / 280.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.01512, allocations: 3.938 kB / 280.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.01515, allocations: 8 kB / 280.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.01517, allocations: 8 kB / 280.8 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.01558, allocations: 162.8 kB / 280.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.01721, allocations: 1.083 MB / 282 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.01768, allocations: 224.5 kB / 282.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.01786, allocations: 98.45 kB / 282.3 MB, free: 7.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.01789, allocations: 11.98 kB / 282.4 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.01793, allocations: 37.39 kB / 282.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.364e-06/0.01793, allocations: 4 kB / 282.4 MB, free: 7.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.006349/0.02428, allocations: 1.817 MB / 284.2 MB, free: 5.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.02432, allocations: 81.11 kB / 284.3 MB, free: 5.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.02464, allocations: 312.3 kB / 284.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.02467, allocations: 33.7 kB / 284.6 MB, free: 5.402 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.0248, allocations: 215.4 kB / 284.8 MB, free: 5.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.02493, allocations: 150.7 kB / 285 MB, free: 5.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.02507, allocations: 83.83 kB / 285.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.02523, allocations: 0.5118 MB / 285.6 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.02558, allocations: 72.95 kB / 285.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.02583, allocations: 155.1 kB / 285.8 MB, free: 4.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.02631, allocations: 263.4 kB / 286.1 MB, free: 3.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02631, allocations: 0 / 286.1 MB, free: 3.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006857/0.027, allocations: 332.8 kB / 286.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.02702, allocations: 8.125 kB / 286.4 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.02703, allocations: 11.94 kB / 286.4 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.02705, allocations: 0 / 286.4 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.02753, allocations: 111.9 kB / 286.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.02754, allocations: 4 kB / 286.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.02781, allocations: 31.94 kB / 286.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.02785, allocations: 15.98 kB / 286.6 MB, free: 3.379 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.0001455/0.02799, allocations: 188.4 kB / 286.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.02811, allocations: 47.75 kB / 286.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.02932, allocations: 464.8 kB / 287.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.02932, allocations: 7.938 kB / 287.3 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02933, allocations: 4 kB / 287.3 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.02934, allocations: 11.92 kB / 287.3 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.03183, allocations: 0.9471 MB / 288.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.03183, allocations: 3.938 kB / 288.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.03219, allocations: 83.89 kB / 288.3 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.03332, allocations: 223.3 kB / 288.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.03336, allocations: 12 kB / 288.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/0.03629, allocations: 2.438 MB / 291 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.03629, allocations: 0 / 291 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.03779, allocations: 0.798 MB / 291.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.03797, allocations: 67.78 kB / 291.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.03802, allocations: 19.97 kB / 291.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.03834, allocations: 27.92 kB / 291.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.03846, allocations: 36.42 kB / 291.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.0385, allocations: 16 kB / 291.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.0387, allocations: 221.1 kB / 292.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0387, allocations: 0 / 292.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006123/0.03931, allocations: 123.9 kB / 292.3 MB, free: 13.44 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.0002916/0.0396, allocations: 139.1 kB / 292.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006008/0.0402, allocations: 267.7 kB / 292.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.0402, allocations: 0 / 292.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006848/0.04089, allocations: 364.6 kB / 293 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.0414, allocations: 55.92 kB / 293.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.04324, allocations: 0.8134 MB / 293.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.04335, allocations: 98.61 kB / 294 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.04354, allocations: 50.94 kB / 294 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.04369, allocations: 36.48 kB / 294.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.04369, allocations: 0 / 294.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of Templates: time 0.01159/0.05527, allocations: 6.268 MB / 300.3 MB, free: 5.316 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.885610321070999]