Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002425/0.002425, allocations: 99.59 kB / 20.97 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002852/0.002852, allocations: 157.7 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.161e-05, allocations: 2.312 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.006113/0.006145, allocations: 3.739 MB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.008884, allocations: 1.063 MB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.009165, allocations: 31.81 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.009556, allocations: 158.8 kB / 277.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.01088, allocations: 318 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.0112, allocations: 139.8 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.01296, allocations: 1.474 MB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009826/0.01395, allocations: 0.6396 MB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.01526, allocations: 0.963 MB / 280.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.01649, allocations: 0.7756 MB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002659/0.01676, allocations: 160 kB / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.01709, allocations: 171.9 kB / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005432/0.01764, allocations: 494.6 kB / 282.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007705/0.01841, allocations: 0.5184 MB / 282.9 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002725/0.02113, allocations: 2.127 MB / 285 MB, free: 5.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.02114, allocations: 7.938 kB / 285.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02114, allocations: 0 / 285.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.02116, allocations: 0 / 285.1 MB, free: 5.031 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.003557/0.02472, allocations: 1.886 MB / 286.9 MB, free: 3.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.02475, allocations: 12.03 kB / 286.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/0.02541, allocations: 264 kB / 287.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.02708, allocations: 0.7792 MB / 288 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.549e-05/0.02717, allocations: 82.62 kB / 288.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.02736, allocations: 116.4 kB / 288.2 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.03024, allocations: 1.723 MB / 289.9 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.03026, allocations: 0 / 289.9 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1207/0.1509, allocations: 41.39 kB / 289.9 MB, free: 27.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.1509, allocations: 27.19 kB / 290 MB, free: 27.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.1531, allocations: 1.184 MB / 291.2 MB, free: 27.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006887/0.16, allocations: 4.388 MB / 295.5 MB, free: 25.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/0.1609, allocations: 0.5414 MB / 296.1 MB, free: 25.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000811/0.1617, allocations: 432.3 kB / 296.5 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.1617, allocations: 12.52 kB / 296.5 MB, free: 25.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1617, allocations: 41.05 kB / 296.6 MB, free: 25.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.535e-06/0.1617, allocations: 1.031 kB / 296.6 MB, free: 25.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001305/0.163, allocations: 0.7325 MB / 297.3 MB, free: 24.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.1631, allocations: 62 kB / 297.4 MB, free: 24.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009893/0.1641, allocations: 0.8881 MB / 298.2 MB, free: 24.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1641, allocations: 36.55 kB / 298.3 MB, free: 24.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.1645, allocations: 0.6611 MB / 298.9 MB, free: 23.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.1646, allocations: 199.3 kB / 299.1 MB, free: 23.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.1648, allocations: 125.8 kB / 299.3 MB, free: 23.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.165, allocations: 0.6225 MB / 299.9 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.1654, allocations: 236.8 kB / 300.1 MB, free: 22.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.1658, allocations: 378 kB / 300.5 MB, free: 22.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.1666, allocations: 0.6186 MB / 301.1 MB, free: 22.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1666, allocations: 0.9375 kB / 301.1 MB, free: 22.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001/0.1676, allocations: 0.7257 MB / 301.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1677, allocations: 7.031 kB / 301.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1677, allocations: 5.062 kB / 301.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.1677, allocations: 6 kB / 301.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.1682, allocations: 147.9 kB / 302 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1683, allocations: 5.5 kB / 302 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.1686, allocations: 51.55 kB / 302 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.1686, allocations: 22.88 kB / 302.1 MB, free: 22.11 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.0004304/0.1691, allocations: 446.1 kB / 302.5 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.1692, allocations: 94.78 kB / 302.6 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.1694, allocations: 83.97 kB / 302.7 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1694, allocations: 9.438 kB / 302.7 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.1694, allocations: 3.828 kB / 302.7 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1694, allocations: 2.016 kB / 302.7 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.1722, allocations: 1.856 MB / 304.5 MB, free: 20.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1722, allocations: 1.625 kB / 304.5 MB, free: 20.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.1727, allocations: 117.6 kB / 304.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1727, allocations: 4.969 kB / 304.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.1727, allocations: 11.03 kB / 304.7 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.1727, allocations: 8.969 kB / 304.7 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1727, allocations: 6.906 kB / 304.7 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.1738, allocations: 0.9683 MB / 305.7 MB, free: 19.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.1739, allocations: 94.78 kB / 305.8 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.174, allocations: 11.94 kB / 305.8 MB, free: 19.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.1744, allocations: 51.17 kB / 305.8 MB, free: 19.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.1745, allocations: 40.2 kB / 305.9 MB, free: 19.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.1745, allocations: 12 kB / 305.9 MB, free: 19.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005123/0.175, allocations: 0.5809 MB / 306.4 MB, free: 19.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.175, allocations: 0 / 306.4 MB, free: 19.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007629/0.1758, allocations: 291.1 kB / 306.7 MB, free: 18.91 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.0001208/0.1759, allocations: 115.1 kB / 306.8 MB, free: 18.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007113/0.1766, allocations: 0.5495 MB / 307.4 MB, free: 18.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1766, allocations: 0 / 307.4 MB, free: 18.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.1769, allocations: 267.3 kB / 307.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007795/0.1777, allocations: 158.2 kB / 307.8 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.1801, allocations: 2.104 MB / 309.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.1806, allocations: 0.6782 MB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.1809, allocations: 154.4 kB / 310.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.1811, allocations: 56.5 kB / 310.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1811, allocations: 0 / 310.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Templates: time 0.01411/0.1952, allocations: 9.786 MB / 320.6 MB, free: 5.188 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.822542416048236]