Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.0009094/0.0009094, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.0008401/0.0008401, allocations: 150.6 kB / 24.9 MB, free: 8.734 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.928/0.928, allocations: 173.3 MB / 201.5 MB, free: 9.207 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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 4 kB / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.433e-05, allocations: 2.312 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004768/0.004782, allocations: 4.318 MB / 272.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.007039, allocations: 1.601 MB / 274.4 MB, free: 208 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.007287, allocations: 11.94 kB / 274.4 MB, free: 196 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.007594, allocations: 126.8 kB / 274.6 MB, free: 68 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006666/0.008261, allocations: 377.3 kB / 274.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.008606, allocations: 235.5 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008059/0.009412, allocations: 1.005 MB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.009656, allocations: 160 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.01022, allocations: 0.5613 MB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.01064, allocations: 331.1 kB / 277.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.01075, allocations: 96 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.01108, allocations: 219.9 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.01121, allocations: 195.3 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.01144, allocations: 295.3 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006768/0.01212, allocations: 0.7046 MB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.01212, allocations: 0 / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01212, allocations: 0 / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.84e-06/0.01213, allocations: 0 / 278.7 MB, free: 11.91 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001386/0.01351, allocations: 0.9901 MB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.01355, allocations: 12.92 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.01368, allocations: 108.8 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.01422, allocations: 330.3 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-05/0.01432, allocations: 119 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.01446, allocations: 68.73 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.01502, allocations: 0.5354 MB / 280.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.01503, allocations: 3.938 kB / 280.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.01507, allocations: 32 kB / 280.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.01509, allocations: 12 kB / 280.9 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.01542, allocations: 194.2 kB / 281.1 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.01733, allocations: 1.478 MB / 282.6 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.01767, allocations: 255.8 kB / 282.8 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.01784, allocations: 114.1 kB / 282.9 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.01786, allocations: 12 kB / 282.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.01789, allocations: 38.56 kB / 283 MB, free: 7.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.724e-06/0.01789, allocations: 0 / 283 MB, free: 7.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.006571/0.02446, allocations: 2.502 MB / 285.5 MB, free: 4.871 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.0245, allocations: 85.61 kB / 285.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.02486, allocations: 412.8 kB / 286 MB, free: 4.352 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.02489, allocations: 33.7 kB / 286 MB, free: 4.312 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.02502, allocations: 273.7 kB / 286.3 MB, free: 4.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.02515, allocations: 230 kB / 286.5 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.0253, allocations: 114.2 kB / 286.6 MB, free: 3.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.02541, allocations: 374.6 kB / 287 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.02554, allocations: 65.28 kB / 287 MB, free: 3.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.02581, allocations: 176.5 kB / 287.2 MB, free: 3.055 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.02617, allocations: 297.6 kB / 287.5 MB, free: 2.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02617, allocations: 0 / 287.5 MB, free: 2.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004879/0.02666, allocations: 350.2 kB / 287.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.02667, allocations: 10.97 kB / 287.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.02668, allocations: 4 kB / 287.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.02683, allocations: 36.83 kB / 287.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.0274, allocations: 199.7 kB / 288.1 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000663/0.02807, allocations: 1.196 MB / 289.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.02833, allocations: 35.98 kB / 289.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.02837, allocations: 19.98 kB / 289.3 MB, free: 0.7969 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.02851, allocations: 141.7 kB / 289.5 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.02861, allocations: 59.89 kB / 289.5 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.02923, allocations: 419.9 kB / 289.9 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.02923, allocations: 12 kB / 290 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.02924, allocations: 0 / 290 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.02924, allocations: 3.984 kB / 290 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1165/0.1457, allocations: 0.8924 MB / 290.8 MB, free: 28.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1458, allocations: 0.5312 kB / 290.8 MB, free: 28.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.1461, allocations: 123.4 kB / 291 MB, free: 28.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008842/0.147, allocations: 323.4 kB / 291.3 MB, free: 28.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.147, allocations: 17.72 kB / 291.3 MB, free: 28.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.1488, allocations: 1.979 MB / 293.3 MB, free: 27.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1488, allocations: 1.766 kB / 293.3 MB, free: 27.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009042/0.1497, allocations: 0.7112 MB / 294 MB, free: 27.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.1498, allocations: 60.88 kB / 294.1 MB, free: 27.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.1499, allocations: 18.81 kB / 294.1 MB, free: 27.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.1501, allocations: 34.67 kB / 294.1 MB, free: 27.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1502, allocations: 52.28 kB / 294.2 MB, free: 27.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.1502, allocations: 13.73 kB / 294.2 MB, free: 27.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001991/0.1504, allocations: 195.3 kB / 294.4 MB, free: 27.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1504, allocations: 0 / 294.4 MB, free: 27.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004875/0.1509, allocations: 187.6 kB / 294.5 MB, free: 27.03 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002154/0.1511, allocations: 133.2 kB / 294.7 MB, free: 26.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005352/0.1517, allocations: 413.1 kB / 295.1 MB, free: 26.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.1517, allocations: 4.719 kB / 295.1 MB, free: 26.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.152, allocations: 376.4 kB / 295.4 MB, free: 26.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1524, allocations: 82.34 kB / 295.5 MB, free: 26.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1541, allocations: 1.192 MB / 296.7 MB, free: 26.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.1543, allocations: 147.9 kB / 296.9 MB, free: 26.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.1545, allocations: 68.11 kB / 296.9 MB, free: 26.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.1547, allocations: 155.6 kB / 297.1 MB, free: 26.01 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1547, allocations: 4 kB / 297.1 MB, free: 26.01 MB / 266.7 MB Notification: Performance of Templates: time 0.01322/0.168, allocations: 10.49 MB / 307.6 MB, free: 21.46 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.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.9013789063319564]