Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 188.9 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.581/1.581, allocations: 222.9 MB / 240.9 MB, free: 10.96 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.001002/0.001002, allocations: 114.7 kB / 291.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000896/0.000896, allocations: 35.95 kB / 350 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2224, allocations: 49.45 MB / 399.5 MB, free: 33.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003809/0.2262, allocations: 3.429 MB / 402.9 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.2281, allocations: 1.436 MB / 404.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.2283, allocations: 4 kB / 404.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.23, allocations: 1.852 MB / 406.2 MB, free: 26.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.2304, allocations: 139.1 kB / 406.3 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.2309, allocations: 275.9 kB / 406.6 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.2321, allocations: 1.71 MB / 408.3 MB, free: 24.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2323, allocations: 115.9 kB / 408.4 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.2325, allocations: 293 kB / 408.7 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.2328, allocations: 302.8 kB / 409 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.2329, allocations: 28 kB / 409 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.233, allocations: 63.97 kB / 409.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003794/0.2334, allocations: 0.8297 MB / 409.9 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.2338, allocations: 0.8955 MB / 410.8 MB, free: 21.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.235, allocations: 2.543 MB / 413.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2351, allocations: 0 / 413.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2351, allocations: 0 / 413.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.2351, allocations: 0 / 413.4 MB, free: 19.39 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003101/0.2382, allocations: 2.807 MB / 416.2 MB, free: 16.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2382, allocations: 12.03 kB / 416.2 MB, free: 16.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.2385, allocations: 281.3 kB / 416.5 MB, free: 16.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.2403, allocations: 1.816 MB / 418.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.2404, allocations: 55.27 kB / 418.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.2406, allocations: 51.92 kB / 418.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.2411, allocations: 399 kB / 418.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2412, allocations: 4 kB / 418.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.2412, allocations: 12 kB / 418.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.2412, allocations: 11.98 kB / 418.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.2418, allocations: 327.8 kB / 419.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.2449, allocations: 2.911 MB / 422 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.2455, allocations: 312.1 kB / 422.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.2458, allocations: 169.5 kB / 422.5 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.2458, allocations: 12 kB / 422.5 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.2458, allocations: 38.5 kB / 422.5 MB, free: 9.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 2.325e-06/0.2458, allocations: 0 / 422.5 MB, free: 9.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.003846/0.2497, allocations: 2.398 MB / 424.9 MB, free: 7.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.2497, allocations: 85.55 kB / 425 MB, free: 7.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00411/0.2538, allocations: 5.427 MB / 430.5 MB, free: 1.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2539, allocations: 29.7 kB / 430.5 MB, free: 1.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/0.2546, allocations: 1.211 MB / 431.7 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.907e-05/0.2547, allocations: 169.6 kB / 431.9 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2548, allocations: 90.25 kB / 432 MB, free: 440 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.2549, allocations: 322 kB / 432.3 MB, free: 112 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.2552, allocations: 145 kB / 432.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.2555, allocations: 221.7 kB / 432.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.2562, allocations: 376.3 kB / 433 MB, free: 15.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2562, allocations: 3.938 kB / 433 MB, free: 15.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001048/0.2572, allocations: 0.6879 MB / 433.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2573, allocations: 7.938 kB / 433.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.2573, allocations: 4 kB / 433.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2573, allocations: 4 kB / 433.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.2578, allocations: 119.8 kB / 433.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2578, allocations: 7.984 kB / 433.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.2582, allocations: 19.94 kB / 433.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2582, allocations: 20.12 kB / 433.9 MB, free: 14.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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.0008754/0.2591, allocations: 0.9269 MB / 434.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.2594, allocations: 272.4 kB / 435.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.2607, allocations: 0.7981 MB / 435.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2607, allocations: 4 kB / 435.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2607, allocations: 4 kB / 435.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2608, allocations: 0 / 435.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.2622, allocations: 1.469 MB / 437.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2623, allocations: 3.938 kB / 437.3 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.2627, allocations: 91.89 kB / 437.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003485/0.263, allocations: 100.7 kB / 437.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.2631, allocations: 12 kB / 437.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005243/0.2636, allocations: 0.6304 MB / 438.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2636, allocations: 0 / 438.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/0.2781, allocations: 9.595 MB / 447.8 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009662/0.2791, allocations: 497.5 kB / 448.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.2793, allocations: 11.94 kB / 448.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000523/0.2798, allocations: 19.98 kB / 448.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.2799, allocations: 24.41 kB / 448.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.28, allocations: 16.05 kB / 448.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.005112/0.2851, allocations: 3.974 MB / 452.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2851, allocations: 0 / 452.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001246/0.2864, allocations: 364 kB / 452.6 MB, free: 11.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/0.2874, allocations: 471.7 kB / 453.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009266/0.2884, allocations: 372.9 kB / 453.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2884, allocations: 0 / 453.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.2889, allocations: 214.9 kB / 453.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.2901, allocations: 187.2 kB / 453.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008486/0.2986, allocations: 6.496 MB / 460.4 MB, free: 3.629 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/0.3005, allocations: 1.83 MB / 462.2 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007337/0.3013, allocations: 287.5 kB / 462.5 MB, free: 1.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.3017, allocations: 91.42 kB / 462.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3017, allocations: 0 / 462.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of Templates: time 0.03343/0.3352, allocations: 16.73 MB / 479.3 MB, free: 0.7109 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches