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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00095/0.00095, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 145.1 kB / 25.59 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9244/0.9244, allocations: 173.4 MB / 202.2 MB, free: 8.305 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.729e-05, allocations: 2.312 kB / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.007141/0.007158, allocations: 3.36 MB / 272.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.01217, allocations: 1.437 MB / 274 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.01236, allocations: 11.94 kB / 274 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005713/0.01808, allocations: 2.662 MB / 276.7 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.01845, allocations: 190.5 kB / 276.8 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.01898, allocations: 311.2 kB / 277.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.02017, allocations: 1.817 MB / 279 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.02034, allocations: 83.7 kB / 279 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007593/0.0211, allocations: 496.5 kB / 279.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.02137, allocations: 291.3 kB / 279.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.01e-05/0.02143, allocations: 44 kB / 279.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.02154, allocations: 83.92 kB / 279.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.02195, allocations: 0.861 MB / 280.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.02224, allocations: 470.1 kB / 281.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009741/0.02322, allocations: 1.491 MB / 282.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.02322, allocations: 0 / 282.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.02322, allocations: 0 / 282.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.02324, allocations: 0 / 282.8 MB, free: 12.23 MB / 266.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.002319/0.02556, allocations: 3.035 MB / 285.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.02559, allocations: 11.98 kB / 285.8 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.0258, allocations: 323 kB / 286.1 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008683/0.02667, allocations: 1.201 MB / 287.3 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/0.02673, allocations: 106.7 kB / 287.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/0.02682, allocations: 52.69 kB / 287.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.02713, allocations: 367.4 kB / 287.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.02714, allocations: 0 / 287.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.02716, allocations: 16 kB / 287.8 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.02717, allocations: 8 kB / 287.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.02736, allocations: 162.8 kB / 288 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.02926, allocations: 2.057 MB / 290.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.0295, allocations: 225.2 kB / 290.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.932e-05/0.02959, allocations: 95.66 kB / 290.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.02961, allocations: 8 kB / 290.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.02963, allocations: 49.23 kB / 290.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.372e-06/0.02963, allocations: 0 / 290.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001707/0.03134, allocations: 1.248 MB / 291.7 MB, free: 2.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.03136, allocations: 81.61 kB / 291.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.03366, allocations: 3.28 MB / 295 MB, free: 15.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.03368, allocations: 33.7 kB / 295.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.03474, allocations: 1.524 MB / 296.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/0.03482, allocations: 178.5 kB / 296.8 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.03491, allocations: 95.78 kB / 296.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.03501, allocations: 0.4887 MB / 297.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.03509, allocations: 56.94 kB / 297.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.03521, allocations: 170.5 kB / 297.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.03541, allocations: 251 kB / 297.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.03542, allocations: 4 kB / 297.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004355/0.03585, allocations: 0.5541 MB / 298.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.03586, allocations: 10.03 kB / 298.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.03587, allocations: 0 / 298.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.03588, allocations: 16.17 kB / 298.4 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.03613, allocations: 123.8 kB / 298.5 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.03614, allocations: 7.984 kB / 298.5 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.03631, allocations: 8 kB / 298.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.03633, allocations: 12 kB / 298.6 MB, free: 11.97 MB / 282.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.0001994/0.03653, allocations: 188.4 kB / 298.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.03672, allocations: 302.1 kB / 299 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005668/0.03729, allocations: 0.5407 MB / 299.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.03729, allocations: 8 kB / 299.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.0373, allocations: 3.938 kB / 299.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.0373, allocations: 3.984 kB / 299.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.03817, allocations: 1.003 MB / 300.6 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.03817, allocations: 0 / 300.6 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.03838, allocations: 95.88 kB / 300.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/0.03854, allocations: 75.55 kB / 300.8 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.03856, allocations: 12 kB / 300.8 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000339/0.0389, allocations: 0.839 MB / 301.6 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.0389, allocations: 7.938 kB / 301.6 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.0396, allocations: 0.946 MB / 302.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.03992, allocations: 358 kB / 302.9 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/0.04001, allocations: 12 kB / 302.9 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.04023, allocations: 12 kB / 302.9 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.04028, allocations: 36.38 kB / 303 MB, free: 7.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.04029, allocations: 11.98 kB / 303 MB, free: 7.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001447/0.04174, allocations: 1.841 MB / 304.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04174, allocations: 0 / 304.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003723/0.04211, allocations: 207.9 kB / 305 MB, free: 5.387 MB / 282.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.0007224/0.04283, allocations: 385.2 kB / 305.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.0431, allocations: 242.8 kB / 305.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0431, allocations: 0 / 305.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.04327, allocations: 144.6 kB / 305.8 MB, free: 4.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.04386, allocations: 197.6 kB / 306 MB, free: 4.562 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.04727, allocations: 3.942 MB / 309.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.0477, allocations: 0.5511 MB / 310.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.04793, allocations: 171.4 kB / 310.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000557/0.04848, allocations: 254.2 kB / 310.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.04849, allocations: 4 kB / 310.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of Templates: time 0.02116/0.06965, allocations: 16.43 MB / 327.3 MB, free: 15.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.942516181152314]