Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 106.9 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008772/0.0008772, allocations: 35.95 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2375, allocations: 49.43 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003876/0.2414, allocations: 2.868 MB / 402.3 MB, free: 30.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2432, allocations: 1.242 MB / 403.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.2435, allocations: 4 kB / 403.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.2439, allocations: 51.61 kB / 403.6 MB, free: 29.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006233/0.2445, allocations: 187 kB / 403.8 MB, free: 29.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.2448, allocations: 111.8 kB / 403.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.2452, allocations: 442.9 kB / 404.4 MB, free: 28.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.2454, allocations: 74.61 kB / 404.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.2457, allocations: 167.4 kB / 404.6 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.2459, allocations: 215.1 kB / 404.8 MB, free: 28.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.246, allocations: 28 kB / 404.8 MB, free: 28.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.2463, allocations: 147.8 kB / 405 MB, free: 27.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.2463, allocations: 75.72 kB / 405.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.2465, allocations: 167.2 kB / 405.2 MB, free: 27.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.247, allocations: 494.3 kB / 405.7 MB, free: 27.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.247, allocations: 0 / 405.7 MB, free: 27.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.247, allocations: 0 / 405.7 MB, free: 27.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.247, allocations: 0 / 405.7 MB, free: 27.15 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.001543/0.2485, allocations: 0.7094 MB / 406.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2486, allocations: 8.031 kB / 406.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/0.2487, allocations: 40.55 kB / 406.5 MB, free: 26.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.2491, allocations: 325.2 kB / 406.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.2491, allocations: 54.83 kB / 406.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.2493, allocations: 40.48 kB / 406.9 MB, free: 25.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.2498, allocations: 320.5 kB / 407.2 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.2498, allocations: 0 / 407.2 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.2499, allocations: 12 kB / 407.2 MB, free: 25.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2499, allocations: 4 kB / 407.2 MB, free: 25.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/0.2505, allocations: 306 kB / 407.5 MB, free: 25.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.252, allocations: 1.175 MB / 408.7 MB, free: 23.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.2525, allocations: 289.9 kB / 409 MB, free: 23.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.2528, allocations: 157.7 kB / 409.1 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.2529, allocations: 11.98 kB / 409.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.2529, allocations: 34.56 kB / 409.2 MB, free: 23.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.2529, allocations: 0 / 409.2 MB, free: 23.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.008167/0.2611, allocations: 2.413 MB / 411.6 MB, free: 20.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.2611, allocations: 81.11 kB / 411.6 MB, free: 20.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.2614, allocations: 292.9 kB / 411.9 MB, free: 20.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2614, allocations: 33.7 kB / 412 MB, free: 20.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.2615, allocations: 164.5 kB / 412.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.2616, allocations: 145.9 kB / 412.3 MB, free: 20.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.2617, allocations: 86 kB / 412.4 MB, free: 20.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.2618, allocations: 334.8 kB / 412.7 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.2621, allocations: 164.8 kB / 412.8 MB, free: 19.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.2625, allocations: 230.7 kB / 413.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.2632, allocations: 411.5 kB / 413.5 MB, free: 18.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2632, allocations: 0 / 413.5 MB, free: 18.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008908/0.2641, allocations: 484.4 kB / 413.9 MB, free: 18.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2641, allocations: 4 kB / 413.9 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.2641, allocations: 7.922 kB / 414 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2642, allocations: 4 kB / 414 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.2647, allocations: 124 kB / 414.1 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2647, allocations: 4 kB / 414.1 MB, free: 18.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.2651, allocations: 27.98 kB / 414.1 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.2652, allocations: 19.98 kB / 414.1 MB, free: 18.32 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.0001259/0.2653, allocations: 153.7 kB / 414.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.619e-05/0.2654, allocations: 31.61 kB / 414.3 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.267, allocations: 0.6602 MB / 415 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.267, allocations: 4 kB / 415 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2671, allocations: 0 / 415 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2671, allocations: 3.984 kB / 415 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.2698, allocations: 1.29 MB / 416.3 MB, free: 16.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2698, allocations: 0 / 416.3 MB, free: 16.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.2703, allocations: 91.88 kB / 416.4 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.2718, allocations: 260.6 kB / 416.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.2718, allocations: 15.98 kB / 416.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00314/0.275, allocations: 2.209 MB / 418.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.275, allocations: 3.938 kB / 418.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02294/0.2979, allocations: 8.679 MB / 427.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.2981, allocations: 148.6 kB / 427.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.2982, allocations: 12 kB / 427.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.2987, allocations: 27.98 kB / 427.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.2988, allocations: 40.38 kB / 427.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.2988, allocations: 16 kB / 427.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.299, allocations: 208.5 kB / 428 MB, free: 3.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.299, allocations: 0 / 428 MB, free: 3.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007914/0.2998, allocations: 172 kB / 428.1 MB, free: 3.789 MB / 298.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.0002599/0.3001, allocations: 147.1 kB / 428.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008738/0.301, allocations: 429.9 kB / 428.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.301, allocations: 0 / 428.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006385/0.3017, allocations: 389.4 kB / 429.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.3022, allocations: 37.67 kB / 429.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.3044, allocations: 1.587 MB / 430.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.3046, allocations: 0.8018 MB / 431.5 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000276/0.3049, allocations: 50.95 kB / 431.5 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.305, allocations: 43.36 kB / 431.6 MB, free: 228 kB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3051, allocations: 0 / 431.6 MB, free: 228 kB / 298.7 MB Notification: Performance of Templates: time 0.01414/0.3192, allocations: 9.036 MB / 440.6 MB, free: 7.215 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches