Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.0009561/0.0009561, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009022/0.0009022, allocations: 138.6 kB / 24.97 MB, free: 9.309 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.9303/0.9303, allocations: 173.3 MB / 201.5 MB, free: 9.297 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.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.171e-05, allocations: 10.25 kB / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003493/0.003515, allocations: 3.743 MB / 271.8 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.005283, allocations: 0.9929 MB / 272.8 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.005559, allocations: 27.81 kB / 272.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.005858, allocations: 158.8 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007687/0.006627, allocations: 325.9 kB / 273.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.006864, allocations: 119.8 kB / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.008028, allocations: 1.455 MB / 274.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/0.008643, allocations: 0.6512 MB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.01109, allocations: 0.9551 MB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.01268, allocations: 0.7717 MB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004064/0.01309, allocations: 164 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.01338, allocations: 160 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.01384, allocations: 490.6 kB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007343/0.01457, allocations: 0.5262 MB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.01611, allocations: 1.246 MB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.01611, allocations: 0 / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01611, allocations: 0 / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.921e-05/0.01615, allocations: 0 / 279.8 MB, free: 10.86 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003151/0.0193, allocations: 1.789 MB / 281.6 MB, free: 9.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.01934, allocations: 8.922 kB / 281.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.01969, allocations: 240 kB / 281.9 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.02095, allocations: 0.744 MB / 282.6 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.02103, allocations: 86.62 kB / 282.7 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.02121, allocations: 116.3 kB / 282.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.02304, allocations: 1.04 MB / 283.8 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.02307, allocations: 0 / 283.8 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.02317, allocations: 48 kB / 283.9 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.02321, allocations: 28 kB / 283.9 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.02438, allocations: 381 kB / 284.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005385/0.02976, allocations: 3.464 MB / 287.7 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.03039, allocations: 364.8 kB / 288.1 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/0.03097, allocations: 267.6 kB / 288.4 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.031, allocations: 8.5 kB / 288.4 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.03103, allocations: 41.89 kB / 288.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.464e-06/0.03103, allocations: 4 kB / 288.4 MB, free: 1.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0007996/0.03183, allocations: 400.6 kB / 288.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.03186, allocations: 55.91 kB / 288.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.03243, allocations: 0.687 MB / 289.5 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.03246, allocations: 37.64 kB / 289.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.03274, allocations: 0.6274 MB / 290.2 MB, free: 96 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1157/0.1484, allocations: 186.1 kB / 290.4 MB, free: 31.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.1486, allocations: 112.5 kB / 290.5 MB, free: 31.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.1489, allocations: 0.5851 MB / 291.1 MB, free: 31.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.1491, allocations: 76.25 kB / 291.2 MB, free: 31.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.1493, allocations: 206.8 kB / 291.4 MB, free: 31.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.1498, allocations: 315.8 kB / 291.7 MB, free: 30.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1498, allocations: 0.625 kB / 291.7 MB, free: 30.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008024/0.1506, allocations: 419 kB / 292.1 MB, free: 30.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1506, allocations: 7.781 kB / 292.1 MB, free: 30.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1506, allocations: 2.25 kB / 292.1 MB, free: 30.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.1506, allocations: 4.688 kB / 292.1 MB, free: 30.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.1511, allocations: 147.1 kB / 292.2 MB, free: 30.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.1511, allocations: 14.41 kB / 292.3 MB, free: 30.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.1514, allocations: 57.8 kB / 292.3 MB, free: 30.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.1515, allocations: 22.45 kB / 292.3 MB, free: 30.89 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002638/0.1517, allocations: 187.5 kB / 292.5 MB, free: 30.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.1518, allocations: 88.31 kB / 292.6 MB, free: 30.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.362e-05/0.1519, allocations: 81.64 kB / 292.7 MB, free: 30.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1519, allocations: 10.14 kB / 292.7 MB, free: 30.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1519, allocations: 0.7969 kB / 292.7 MB, free: 30.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1519, allocations: 6.75 kB / 292.7 MB, free: 30.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.1541, allocations: 1.414 MB / 294.1 MB, free: 30.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1541, allocations: 2.312 kB / 294.1 MB, free: 30.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.1545, allocations: 113.7 kB / 294.2 MB, free: 30.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.1545, allocations: 3.469 kB / 294.2 MB, free: 30.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.1546, allocations: 16.44 kB / 294.2 MB, free: 30.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.1546, allocations: 3.953 kB / 294.3 MB, free: 30.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1546, allocations: 5.125 kB / 294.3 MB, free: 30.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007556/0.1553, allocations: 0.6324 MB / 294.9 MB, free: 29.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1555, allocations: 91.7 kB / 295 MB, free: 29.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.1555, allocations: 13.3 kB / 295 MB, free: 29.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.1559, allocations: 48.2 kB / 295 MB, free: 29.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.156, allocations: 47.08 kB / 295.1 MB, free: 29.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.156, allocations: 18.17 kB / 295.1 MB, free: 29.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004659/0.1565, allocations: 436.1 kB / 295.5 MB, free: 29.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1565, allocations: 0 / 295.5 MB, free: 29.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006815/0.1572, allocations: 291.6 kB / 295.8 MB, free: 29.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000162/0.1573, allocations: 113.1 kB / 295.9 MB, free: 29.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005233/0.1578, allocations: 290.2 kB / 296.2 MB, free: 29.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1578, allocations: 1.062 kB / 296.2 MB, free: 29.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.158, allocations: 151.2 kB / 296.4 MB, free: 29.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.1586, allocations: 169.6 kB / 296.5 MB, free: 29.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.1615, allocations: 1.958 MB / 298.5 MB, free: 28.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1619, allocations: 361.8 kB / 298.8 MB, free: 28.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003541/0.1622, allocations: 154.5 kB / 299 MB, free: 28.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.1623, allocations: 57.2 kB / 299 MB, free: 28.18 MB / 266.7 MB Notification: Performance of SimCode: time 2.164e-06/0.1623, allocations: 4 kB / 299 MB, free: 28.18 MB / 266.7 MB Notification: Performance of Templates: time 0.01296/0.1753, allocations: 9.76 MB / 308.8 MB, free: 22.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.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.849403766915202]