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.001358/0.001358, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001523/0.001523, allocations: 140.3 kB / 24.97 MB, free: 8.359 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.9713/0.9713, allocations: 173.4 MB / 201.5 MB, free: 9.336 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.613e-06/1.613e-06, allocations: 0 / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.295e-05, allocations: 2.312 kB / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004416/0.004439, allocations: 3.41 MB / 271.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.006447, allocations: 1.441 MB / 272.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.006622, allocations: 4 kB / 272.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.009278, allocations: 2.67 MB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.009795, allocations: 186.6 kB / 275.8 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.01035, allocations: 311.2 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.01184, allocations: 1.817 MB / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.01203, allocations: 83.7 kB / 278 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004118/0.01244, allocations: 421.1 kB / 278.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.01276, allocations: 295.3 kB / 278.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.828e-05/0.01283, allocations: 44 kB / 278.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.01298, allocations: 83.92 kB / 278.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005413/0.01352, allocations: 0.8649 MB / 279.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.01391, allocations: 470.1 kB / 280.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.01522, allocations: 1.495 MB / 281.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.01523, allocations: 0 / 281.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.01523, allocations: 0 / 281.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.01524, allocations: 0 / 281.6 MB, free: 9.133 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.003235/0.01847, allocations: 3.04 MB / 284.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.01852, allocations: 12.92 kB / 284.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.01883, allocations: 327 kB / 285 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.02032, allocations: 1.284 MB / 286.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.02042, allocations: 114.7 kB / 286.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.02056, allocations: 48.7 kB / 286.4 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.02104, allocations: 395.5 kB / 286.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.02106, allocations: 0 / 286.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.02108, allocations: 15.94 kB / 286.8 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.02109, allocations: 8 kB / 286.8 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.02139, allocations: 197.8 kB / 287 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.02382, allocations: 2.653 MB / 289.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.02414, allocations: 250 kB / 289.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.02427, allocations: 103.9 kB / 290 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.0243, allocations: 7.859 kB / 290 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.02449, allocations: 45.39 kB / 290.1 MB, free: 396 kB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.02449, allocations: 0 / 290.1 MB, free: 396 kB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.1121/0.1366, allocations: 2.096 MB / 292.2 MB, free: 30.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.1366, allocations: 83.39 kB / 292.3 MB, free: 30.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/0.1406, allocations: 3.453 MB / 295.7 MB, free: 29.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.1406, allocations: 32.89 kB / 295.7 MB, free: 29.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008425/0.1414, allocations: 1.411 MB / 297.2 MB, free: 28.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/0.1415, allocations: 176.4 kB / 297.3 MB, free: 28.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.1416, allocations: 96.17 kB / 297.4 MB, free: 28.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.1417, allocations: 0.4929 MB / 297.9 MB, free: 28.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1418, allocations: 70.08 kB / 298 MB, free: 28.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.142, allocations: 182.3 kB / 298.2 MB, free: 28.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.1423, allocations: 280.3 kB / 298.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1423, allocations: 0.5156 kB / 298.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007084/0.143, allocations: 0.5969 MB / 299 MB, free: 27.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.143, allocations: 7.969 kB / 299 MB, free: 27.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.143, allocations: 2.75 kB / 299 MB, free: 27.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.1431, allocations: 7.281 kB / 299.1 MB, free: 27.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.1434, allocations: 118.6 kB / 299.2 MB, free: 27.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.1434, allocations: 8.484 kB / 299.2 MB, free: 27.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.1437, allocations: 14.75 kB / 299.2 MB, free: 27.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1437, allocations: 20.17 kB / 299.2 MB, free: 27.57 MB / 266.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.0001977/0.1439, allocations: 185.8 kB / 299.4 MB, free: 27.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.1441, allocations: 296.7 kB / 299.7 MB, free: 27.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007491/0.1448, allocations: 0.5879 MB / 300.3 MB, free: 27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1449, allocations: 5.281 kB / 300.3 MB, free: 27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1449, allocations: 1.703 kB / 300.3 MB, free: 27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.1449, allocations: 7.516 kB / 300.3 MB, free: 27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.1463, allocations: 1.516 MB / 301.8 MB, free: 26.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1463, allocations: 0 / 301.8 MB, free: 26.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.1466, allocations: 96.31 kB / 301.9 MB, free: 26.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002497/0.1468, allocations: 72.19 kB / 302 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.1469, allocations: 14.14 kB / 302 MB, free: 26.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003252/0.1472, allocations: 0.8505 MB / 302.8 MB, free: 25.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1472, allocations: 9.234 kB / 302.8 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009328/0.1481, allocations: 0.9848 MB / 303.8 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.1485, allocations: 401.2 kB / 304.2 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.1487, allocations: 6.75 kB / 304.2 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.1489, allocations: 24.05 kB / 304.2 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.149, allocations: 32.84 kB / 304.3 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.149, allocations: 19.36 kB / 304.3 MB, free: 24.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00205/0.151, allocations: 2.029 MB / 306.3 MB, free: 23.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.151, allocations: 0 / 306.3 MB, free: 23.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.1515, allocations: 203.9 kB / 306.5 MB, free: 23.74 MB / 266.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.0008364/0.1523, allocations: 397.8 kB / 306.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.1527, allocations: 273.7 kB / 307.2 MB, free: 23.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1527, allocations: 0 / 307.2 MB, free: 23.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.1529, allocations: 170.8 kB / 307.3 MB, free: 23.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.1536, allocations: 197.8 kB / 307.5 MB, free: 23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.157, allocations: 3.955 MB / 311.5 MB, free: 19.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1574, allocations: 0.5551 MB / 312 MB, free: 18.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000235/0.1576, allocations: 171.5 kB / 312.2 MB, free: 18.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.1578, allocations: 92.48 kB / 312.3 MB, free: 18.37 MB / 266.7 MB Notification: Performance of SimCode: time 2.194e-06/0.1578, allocations: 0 / 312.3 MB, free: 18.37 MB / 266.7 MB Notification: Performance of Templates: time 0.02032/0.1781, allocations: 15.28 MB / 327.6 MB, free: 3.188 MB / 266.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: 3.0941862768959254]