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.001752/0.001752, allocations: 91.86 kB / 20.96 MB, free: 3.465 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.001731/0.001731, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 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 1.57/1.57, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] 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.1..i|transformerL.inductor.2..i|transformerL.inductor.3..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.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.543e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005919/0.005944, allocations: 3.72 MB / 271 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.008327, allocations: 0.9852 MB / 272 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.008596, allocations: 27.81 kB / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.008994, allocations: 162.8 kB / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008778/0.009872, allocations: 325.9 kB / 272.5 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.01014, allocations: 123.8 kB / 272.6 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.01184, allocations: 1.451 MB / 274.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009173/0.01276, allocations: 0.6434 MB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.01392, allocations: 0.9551 MB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.01516, allocations: 0.7834 MB / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.01542, allocations: 160 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.01572, allocations: 156 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005351/0.01626, allocations: 494.6 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007291/0.01699, allocations: 0.5184 MB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.01949, allocations: 2.115 MB / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.01949, allocations: 0 / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.127e-06/0.01949, allocations: 3.984 kB / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.874e-05/0.01953, allocations: 8 kB / 279.9 MB, free: 10.07 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.004153/0.02369, allocations: 1.871 MB / 281.8 MB, free: 8.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/0.02375, allocations: 8.922 kB / 281.8 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004371/0.02419, allocations: 240 kB / 282 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.02592, allocations: 0.7558 MB / 282.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.668e-05/0.026, allocations: 86.62 kB / 282.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.0262, allocations: 112.4 kB / 283 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/0.02921, allocations: 1.723 MB / 284.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.02923, allocations: 0 / 284.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.02935, allocations: 44 kB / 284.7 MB, free: 5.082 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.02938, allocations: 28 kB / 284.8 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.03161, allocations: 1.191 MB / 285.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1389/0.1705, allocations: 4.395 MB / 290.3 MB, free: 30.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/0.1714, allocations: 0.5331 MB / 290.9 MB, free: 30.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/0.1722, allocations: 425.9 kB / 291.3 MB, free: 30.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.1722, allocations: 10.84 kB / 291.3 MB, free: 30.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1723, allocations: 45.25 kB / 291.3 MB, free: 30.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.264e-06/0.1723, allocations: 1.469 kB / 291.4 MB, free: 30.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001328/0.1736, allocations: 0.7317 MB / 292.1 MB, free: 30.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.1736, allocations: 61.06 kB / 292.1 MB, free: 30.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.1746, allocations: 0.8814 MB / 293 MB, free: 29.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.1747, allocations: 37.25 kB / 293.1 MB, free: 29.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.175, allocations: 0.6501 MB / 293.7 MB, free: 29.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.1752, allocations: 199.8 kB / 293.9 MB, free: 29.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.1753, allocations: 124.1 kB / 294 MB, free: 29.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.1756, allocations: 0.6198 MB / 294.6 MB, free: 28.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.176, allocations: 240.8 kB / 294.9 MB, free: 28.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.1764, allocations: 380.6 kB / 295.3 MB, free: 28.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000879/0.1773, allocations: 0.6179 MB / 295.9 MB, free: 28.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1773, allocations: 1.688 kB / 295.9 MB, free: 28.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001325/0.1787, allocations: 0.7257 MB / 296.6 MB, free: 27.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.1787, allocations: 7.531 kB / 296.6 MB, free: 27.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1787, allocations: 5.844 kB / 296.6 MB, free: 27.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.1787, allocations: 7.594 kB / 296.6 MB, free: 27.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.1794, allocations: 148.3 kB / 296.8 MB, free: 27.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.1794, allocations: 6.219 kB / 296.8 MB, free: 27.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.1798, allocations: 59.47 kB / 296.8 MB, free: 27.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.1798, allocations: 19.83 kB / 296.8 MB, free: 27.84 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.0005848/0.1804, allocations: 441.8 kB / 297.3 MB, free: 27.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.1806, allocations: 90.09 kB / 297.4 MB, free: 27.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.1807, allocations: 79.72 kB / 297.4 MB, free: 27.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.1807, allocations: 9.5 kB / 297.5 MB, free: 27.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.1808, allocations: 3.375 kB / 297.5 MB, free: 27.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1808, allocations: 3.75 kB / 297.5 MB, free: 27.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.1839, allocations: 1.852 MB / 299.3 MB, free: 26.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1839, allocations: 1.219 kB / 299.3 MB, free: 26.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.1844, allocations: 112.2 kB / 299.4 MB, free: 26.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1844, allocations: 3.906 kB / 299.4 MB, free: 26.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.1844, allocations: 20.88 kB / 299.4 MB, free: 26.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.1844, allocations: 3.797 kB / 299.5 MB, free: 26.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1844, allocations: 6.188 kB / 299.5 MB, free: 26.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.1856, allocations: 0.9655 MB / 300.4 MB, free: 26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.1858, allocations: 91.11 kB / 300.5 MB, free: 25.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.812e-05/0.1859, allocations: 14.83 kB / 300.5 MB, free: 25.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.1863, allocations: 44.53 kB / 300.6 MB, free: 25.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.1865, allocations: 53.34 kB / 300.6 MB, free: 25.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.1865, allocations: 15.81 kB / 300.6 MB, free: 25.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008313/0.1873, allocations: 0.5708 MB / 301.2 MB, free: 25.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1873, allocations: 1.375 kB / 301.2 MB, free: 25.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008717/0.1882, allocations: 288 kB / 301.5 MB, free: 25.58 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.000157/0.1884, allocations: 113.3 kB / 301.6 MB, free: 25.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009251/0.1893, allocations: 0.551 MB / 302.2 MB, free: 25.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1893, allocations: 0.75 kB / 302.2 MB, free: 25.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.1897, allocations: 263.5 kB / 302.4 MB, free: 25.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.1906, allocations: 168.1 kB / 302.6 MB, free: 25.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.1934, allocations: 2.098 MB / 304.7 MB, free: 24.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.1938, allocations: 0.6776 MB / 305.3 MB, free: 23.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003436/0.1942, allocations: 155.8 kB / 305.5 MB, free: 23.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1943, allocations: 54.5 kB / 305.6 MB, free: 23.55 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1943, allocations: 3.656 kB / 305.6 MB, free: 23.55 MB / 266.7 MB Notification: Performance of Templates: time 0.01437/0.2087, allocations: 9.76 MB / 315.3 MB, free: 14.41 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.783989498973824]