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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,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=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001731/0.001731, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 110 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009097/0.0009098, allocations: 59.89 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2094, allocations: 50.44 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003144/0.2126, allocations: 2.878 MB / 409.9 MB, free: 24.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.214, allocations: 1.28 MB / 411.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2142, allocations: 11.94 kB / 411.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.2144, allocations: 55.61 kB / 411.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.2148, allocations: 191 kB / 411.5 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.215, allocations: 107.9 kB / 411.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.2153, allocations: 439 kB / 412 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2154, allocations: 74.67 kB / 412.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.2156, allocations: 171.4 kB / 412.2 MB, free: 22.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.2158, allocations: 207.2 kB / 412.4 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.2159, allocations: 28 kB / 412.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.2161, allocations: 151.9 kB / 412.6 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.2162, allocations: 75.66 kB / 412.7 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.2163, allocations: 167.2 kB / 412.9 MB, free: 22.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.2167, allocations: 498.3 kB / 413.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2167, allocations: 3.984 kB / 413.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2167, allocations: 4 kB / 413.4 MB, free: 21.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2167, allocations: 0 / 413.4 MB, free: 21.51 MB / 298.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.001356/0.2181, allocations: 0.7094 MB / 414.1 MB, free: 20.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2181, allocations: 8.031 kB / 414.1 MB, free: 20.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.2183, allocations: 44.55 kB / 414.1 MB, free: 20.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2186, allocations: 325.2 kB / 414.4 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.2187, allocations: 50.81 kB / 414.5 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.2188, allocations: 40.5 kB / 414.5 MB, free: 20.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.2193, allocations: 324.4 kB / 414.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2194, allocations: 0 / 414.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.2194, allocations: 12 kB / 414.8 MB, free: 19.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2194, allocations: 4 kB / 414.9 MB, free: 19.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.22, allocations: 310 kB / 415.2 MB, free: 19.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.2214, allocations: 1.156 MB / 416.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.2219, allocations: 295.6 kB / 416.6 MB, free: 18.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.2222, allocations: 172.4 kB / 416.8 MB, free: 17.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.2223, allocations: 7.984 kB / 416.8 MB, free: 17.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.2223, allocations: 38.56 kB / 416.8 MB, free: 17.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.2223, allocations: 0 / 416.8 MB, free: 17.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.008112/0.2304, allocations: 2.405 MB / 419.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.2305, allocations: 85.11 kB / 419.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.2307, allocations: 288.9 kB / 419.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.2307, allocations: 41.64 kB / 419.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.2308, allocations: 160.5 kB / 419.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.2309, allocations: 149.9 kB / 419.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.231, allocations: 86.02 kB / 420 MB, free: 14.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.2311, allocations: 334.8 kB / 420.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.2314, allocations: 164.8 kB / 420.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.2318, allocations: 226.7 kB / 420.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.2325, allocations: 403.8 kB / 421.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2325, allocations: 0 / 421.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008507/0.2334, allocations: 492.3 kB / 421.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2334, allocations: 11.98 kB / 421.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2334, allocations: 0 / 421.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2334, allocations: 4 kB / 421.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.234, allocations: 115.9 kB / 421.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.234, allocations: 12.12 kB / 421.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.2343, allocations: 35.88 kB / 421.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.2344, allocations: 12 kB / 421.8 MB, free: 12.68 MB / 298.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.0001201/0.2345, allocations: 163.2 kB / 421.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.2346, allocations: 27.66 kB / 422 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.2362, allocations: 0.6603 MB / 422.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2363, allocations: 4 kB / 422.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2363, allocations: 0 / 422.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2363, allocations: 3.984 kB / 422.6 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.2395, allocations: 1.275 MB / 423.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2395, allocations: 4 kB / 423.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.24, allocations: 87.88 kB / 424 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.2416, allocations: 268.5 kB / 424.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.2417, allocations: 15.98 kB / 424.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.2448, allocations: 2.21 MB / 426.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2448, allocations: 0 / 426.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02203/0.2669, allocations: 8.696 MB / 435.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.2671, allocations: 152.6 kB / 435.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.2671, allocations: 12 kB / 435.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.2675, allocations: 23.98 kB / 435.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.2677, allocations: 40.31 kB / 435.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.2677, allocations: 12 kB / 435.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.2679, allocations: 220.5 kB / 435.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2679, allocations: 0 / 435.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007248/0.2686, allocations: 172 kB / 435.8 MB, free: 14.12 MB / 314.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.0002465/0.2689, allocations: 147.7 kB / 435.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008876/0.2698, allocations: 426 kB / 436.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2698, allocations: 0 / 436.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006264/0.2704, allocations: 389.4 kB / 436.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.271, allocations: 35.02 kB / 436.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.2732, allocations: 1.602 MB / 438.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.2736, allocations: 0.8014 MB / 439.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002515/0.2738, allocations: 46.95 kB / 439.2 MB, free: 10.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.274, allocations: 43.41 kB / 439.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of SimCode: time 3.3e-07/0.274, allocations: 0 / 439.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of Templates: time 0.01312/0.2871, allocations: 9.02 MB / 448.3 MB, free: 1.562 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches