Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 200 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 229.5 MB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008022/0.0008024, allocations: 99.5 kB / 299.9 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002677, allocations: 4 kB / 360.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1966, allocations: 51.42 MB / 412.1 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002149/0.1988, allocations: 2.423 MB / 414.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2002, allocations: 1.532 MB / 416 MB, free: 21.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.2004, allocations: 7.938 kB / 416 MB, free: 21.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.2006, allocations: 51.16 kB / 416.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.201, allocations: 187 kB / 416.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.2012, allocations: 115.9 kB / 416.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.2014, allocations: 431 kB / 416.8 MB, free: 21.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2016, allocations: 70.7 kB / 416.9 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.2018, allocations: 163.5 kB / 417 MB, free: 20.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.202, allocations: 203.1 kB / 417.2 MB, free: 20.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.202, allocations: 28 kB / 417.3 MB, free: 20.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.2023, allocations: 139.9 kB / 417.4 MB, free: 20.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.2023, allocations: 79.7 kB / 417.5 MB, free: 20.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2025, allocations: 188.8 kB / 417.6 MB, free: 20.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.2028, allocations: 490.2 kB / 418.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2028, allocations: 0 / 418.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2029, allocations: 3.938 kB / 418.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.2029, allocations: 0 / 418.1 MB, free: 19.68 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.001244/0.2041, allocations: 0.651 MB / 418.8 MB, free: 18.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.2042, allocations: 8.031 kB / 418.8 MB, free: 18.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.2043, allocations: 44.56 kB / 418.8 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.2046, allocations: 333.2 kB / 419.2 MB, free: 18.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.2047, allocations: 50.83 kB / 419.2 MB, free: 18.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.2048, allocations: 36.48 kB / 419.2 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.2053, allocations: 340.4 kB / 419.6 MB, free: 18.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2054, allocations: 0 / 419.6 MB, free: 18.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.2054, allocations: 12 kB / 419.6 MB, free: 18.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2054, allocations: 4 kB / 419.6 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.206, allocations: 318 kB / 419.9 MB, free: 17.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.2073, allocations: 1.16 MB / 421.1 MB, free: 16.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.2078, allocations: 297.1 kB / 421.4 MB, free: 16.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.2081, allocations: 173.6 kB / 421.5 MB, free: 16.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.2082, allocations: 7.984 kB / 421.5 MB, free: 16.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.2082, allocations: 34.56 kB / 421.6 MB, free: 16.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.382e-06/0.2082, allocations: 0 / 421.6 MB, free: 16.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.008507/0.2167, allocations: 2.543 MB / 424.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.2168, allocations: 81.11 kB / 424.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.217, allocations: 285 kB / 424.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.217, allocations: 29.7 kB / 424.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.2171, allocations: 172.4 kB / 424.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/0.2172, allocations: 141.9 kB / 424.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.2172, allocations: 12 kB / 424.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.2173, allocations: 346.7 kB / 425.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.2176, allocations: 168.7 kB / 425.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.218, allocations: 238.7 kB / 425.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006953/0.2187, allocations: 419.8 kB / 426 MB, free: 11.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2187, allocations: 0 / 426 MB, free: 11.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008536/0.2196, allocations: 0.5042 MB / 426.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2196, allocations: 5.25 kB / 426.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2196, allocations: 4 kB / 426.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2196, allocations: 4 kB / 426.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.2202, allocations: 119.8 kB / 426.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.2203, allocations: 4 kB / 426.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.2206, allocations: 40.02 kB / 426.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.2207, allocations: 23.92 kB / 426.7 MB, free: 10.76 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.0001205/0.2208, allocations: 157.6 kB / 426.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.2209, allocations: 31.62 kB / 426.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.2226, allocations: 0.6838 MB / 427.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2226, allocations: 4 kB / 427.5 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2226, allocations: 0 / 427.5 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2226, allocations: 3.984 kB / 427.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.2255, allocations: 1.318 MB / 428.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2255, allocations: 0 / 428.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.2259, allocations: 95.88 kB / 428.9 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.2276, allocations: 288.5 kB / 429.2 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.2277, allocations: 11.98 kB / 429.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/0.2311, allocations: 2.28 MB / 431.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2311, allocations: 4 kB / 431.5 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.2332, allocations: 1.053 MB / 432.6 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.2333, allocations: 152.7 kB / 432.7 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.2334, allocations: 8 kB / 432.7 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.2338, allocations: 35.97 kB / 432.8 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2339, allocations: 32.39 kB / 432.8 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.2339, allocations: 19.98 kB / 432.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.2341, allocations: 208.5 kB / 433 MB, free: 4.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2341, allocations: 3.938 kB / 433 MB, free: 4.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004799/0.2346, allocations: 123.9 kB / 433.1 MB, free: 4.004 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.0002156/0.2348, allocations: 147.1 kB / 433.3 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008278/0.2357, allocations: 446 kB / 433.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2357, allocations: 0 / 433.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006059/0.2363, allocations: 393.5 kB / 434.1 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.2368, allocations: 44.28 kB / 434.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.2382, allocations: 1.212 MB / 435.4 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.2384, allocations: 0.7855 MB / 436.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.2386, allocations: 42.95 kB / 436.2 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.2387, allocations: 35.41 kB / 436.2 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2387, allocations: 4 kB / 436.2 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of Templates: time 0.009799/0.2486, allocations: 5.879 MB / 442.1 MB, free: 10.97 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/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