Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 205.9 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 230.4 MB / 250 MB, free: 9.031 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.83 kB / 367.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2559, allocations: 53.31 MB / 420.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00426/0.2602, allocations: 2.847 MB / 423.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.2623, allocations: 1.3 MB / 424.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.2625, allocations: 4 kB / 424.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.2627, allocations: 63.44 kB / 424.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000547/0.2633, allocations: 234.6 kB / 425.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.2635, allocations: 135.7 kB / 425.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000518/0.2641, allocations: 459 kB / 425.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.2642, allocations: 68.69 kB / 425.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.2645, allocations: 187.4 kB / 425.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.2648, allocations: 215.2 kB / 426.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.396e-05/0.2649, allocations: 44 kB / 426.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.2652, allocations: 167.9 kB / 426.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/0.2653, allocations: 95.72 kB / 426.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.2655, allocations: 195 kB / 426.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006367/0.2661, allocations: 0.5057 MB / 427.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2661, allocations: 0 / 427.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2661, allocations: 0 / 427.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.2661, allocations: 0 / 427.1 MB, free: 1.844 MB / 334.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.00167/0.2678, allocations: 0.7207 MB / 427.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2678, allocations: 12.03 kB / 427.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.268, allocations: 40.75 kB / 427.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.2686, allocations: 341.3 kB / 428.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.889e-05/0.2686, allocations: 50.83 kB / 428.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.2688, allocations: 40.48 kB / 428.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.2695, allocations: 328.4 kB / 428.7 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2695, allocations: 4 kB / 428.7 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.2695, allocations: 8 kB / 428.7 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2695, allocations: 11.94 kB / 428.7 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.2703, allocations: 302 kB / 429 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.2721, allocations: 1.152 MB / 430.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.2728, allocations: 277 kB / 430.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.2731, allocations: 157.6 kB / 430.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2732, allocations: 4 kB / 430.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.2732, allocations: 38.56 kB / 430.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.432e-06/0.2732, allocations: 0 / 430.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009877/0.2831, allocations: 2.427 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.2831, allocations: 85.05 kB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.2835, allocations: 289 kB / 433.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.2835, allocations: 37.64 kB / 433.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.2837, allocations: 176.6 kB / 433.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.2838, allocations: 150.7 kB / 433.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.2839, allocations: 78.11 kB / 433.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2841, allocations: 342.8 kB / 434.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.2845, allocations: 156.8 kB / 434.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.285, allocations: 230.7 kB / 434.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/0.2858, allocations: 399.8 kB / 434.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2858, allocations: 4 kB / 434.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001064/0.2869, allocations: 492.4 kB / 435.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2869, allocations: 8 kB / 435.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2869, allocations: 0 / 435.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2869, allocations: 4 kB / 435.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.2876, allocations: 120 kB / 435.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.2876, allocations: 11.92 kB / 435.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.288, allocations: 31.98 kB / 435.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.288, allocations: 19.98 kB / 435.6 MB, free: 8.988 MB / 350.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.0001726/0.2882, allocations: 157.7 kB / 435.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/0.2883, allocations: 31.81 kB / 435.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.2903, allocations: 0.6486 MB / 436.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.2903, allocations: 4 kB / 436.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2903, allocations: 0 / 436.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2903, allocations: 3.984 kB / 436.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/0.2936, allocations: 1.279 MB / 437.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2936, allocations: 0 / 437.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.2941, allocations: 91.88 kB / 437.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/0.2958, allocations: 272.5 kB / 438.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.2958, allocations: 8 kB / 438.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004257/0.3001, allocations: 2.447 MB / 440.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3001, allocations: 64 / 440.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.3025, allocations: 1.011 MB / 441.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.3027, allocations: 148.9 kB / 441.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.3028, allocations: 8 kB / 441.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.3032, allocations: 31.98 kB / 441.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3033, allocations: 36.38 kB / 441.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.3034, allocations: 12 kB / 441.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.3036, allocations: 212.5 kB / 442 MB, free: 2.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3036, allocations: 0 / 442 MB, free: 2.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005592/0.3042, allocations: 119.9 kB / 442.1 MB, free: 2.223 MB / 350.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.0002597/0.3044, allocations: 147.1 kB / 442.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009755/0.3054, allocations: 410.2 kB / 442.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3054, allocations: 8 kB / 442.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007114/0.3061, allocations: 368.9 kB / 443 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.3066, allocations: 40.42 kB / 443 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3084, allocations: 0.9777 MB / 444 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.3088, allocations: 0.7891 MB / 444.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.309, allocations: 42.94 kB / 444.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.3091, allocations: 35.42 kB / 444.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3091, allocations: 96 / 444.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01208/0.3212, allocations: 6.491 MB / 451.4 MB, free: 8.887 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches