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.001455/0.001455, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001475/0.001475, allocations: 149.4 kB / 24.26 MB, free: 184 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.44/1.44, allocations: 173.4 MB / 200.8 MB, free: 9.301 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 5.711e-06/5.711e-06, allocations: 4 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.77e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005677/0.005715, allocations: 3.472 MB / 270.8 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.007912, allocations: 0.9735 MB / 271.8 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.00813, allocations: 31.75 kB / 271.8 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.008521, allocations: 154.8 kB / 271.9 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008943/0.009415, allocations: 321.9 kB / 272.3 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.009701, allocations: 127.8 kB / 272.4 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.0116, allocations: 1.451 MB / 273.8 MB, free: 180 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.01271, allocations: 0.6434 MB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.01419, allocations: 0.9395 MB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.0154, allocations: 0.7248 MB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004549/0.01586, allocations: 160 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.01614, allocations: 160 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005218/0.01667, allocations: 486.6 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007099/0.01738, allocations: 0.5145 MB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.01988, allocations: 2.1 MB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.01988, allocations: 0 / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.01989, allocations: 3.938 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.849e-05/0.01991, allocations: 0 / 279.5 MB, free: 10.41 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.003354/0.02327, allocations: 1.638 MB / 281.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.02331, allocations: 12.92 kB / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.02375, allocations: 236 kB / 281.4 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.02541, allocations: 0.8584 MB / 282.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.326e-05/0.0255, allocations: 82.62 kB / 282.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.02571, allocations: 116.4 kB / 282.5 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/0.02904, allocations: 1.731 MB / 284.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.02907, allocations: 0 / 284.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.02919, allocations: 44 kB / 284.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.02922, allocations: 28 kB / 284.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.03171, allocations: 1.336 MB / 285.6 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007275/0.03898, allocations: 3.776 MB / 289.4 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1093/0.1483, allocations: 0.6137 MB / 290 MB, free: 32.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009595/0.1492, allocations: 0.4915 MB / 290.5 MB, free: 32.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.1492, allocations: 13.62 kB / 290.5 MB, free: 32.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1493, allocations: 38.64 kB / 290.5 MB, free: 32.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.304e-06/0.1493, allocations: 0.6875 kB / 290.5 MB, free: 32.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001717/0.151, allocations: 0.8942 MB / 291.4 MB, free: 32.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.151, allocations: 57.06 kB / 291.5 MB, free: 32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1521, allocations: 0.8003 MB / 292.3 MB, free: 31.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.1521, allocations: 37.3 kB / 292.3 MB, free: 31.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.1525, allocations: 0.5555 MB / 292.9 MB, free: 31.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1526, allocations: 181.5 kB / 293.1 MB, free: 31.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1527, allocations: 103.7 kB / 293.2 MB, free: 31.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1529, allocations: 387.4 kB / 293.5 MB, free: 30.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.1533, allocations: 304.5 kB / 293.8 MB, free: 30.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.1538, allocations: 392.1 kB / 294.2 MB, free: 30.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009244/0.1547, allocations: 0.6929 MB / 294.9 MB, free: 30.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1547, allocations: 1.156 kB / 294.9 MB, free: 30.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00126/0.156, allocations: 0.8513 MB / 295.8 MB, free: 29.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.156, allocations: 9.531 kB / 295.8 MB, free: 29.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.156, allocations: 2.188 kB / 295.8 MB, free: 29.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.156, allocations: 4.969 kB / 295.8 MB, free: 29.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.1566, allocations: 151.9 kB / 295.9 MB, free: 29.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.1566, allocations: 4.594 kB / 295.9 MB, free: 29.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.157, allocations: 58.59 kB / 296 MB, free: 29.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.157, allocations: 19 kB / 296 MB, free: 29.81 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.0005497/0.1576, allocations: 463.2 kB / 296.5 MB, free: 29.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1577, allocations: 95.81 kB / 296.6 MB, free: 29.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.1579, allocations: 87.44 kB / 296.6 MB, free: 29.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1579, allocations: 9.188 kB / 296.7 MB, free: 29.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.1579, allocations: 0 / 296.7 MB, free: 29.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.1579, allocations: 4.172 kB / 296.7 MB, free: 29.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.1606, allocations: 1.685 MB / 298.3 MB, free: 28.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.1606, allocations: 2.406 kB / 298.3 MB, free: 28.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.1611, allocations: 116.2 kB / 298.5 MB, free: 28.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1611, allocations: 7.25 kB / 298.5 MB, free: 28.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.1611, allocations: 14.77 kB / 298.5 MB, free: 28.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.1611, allocations: 7.312 kB / 298.5 MB, free: 28.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1611, allocations: 1.062 kB / 298.5 MB, free: 28.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.1626, allocations: 1.143 MB / 299.6 MB, free: 28.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.1628, allocations: 92.62 kB / 299.7 MB, free: 28.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.1629, allocations: 17.66 kB / 299.7 MB, free: 28.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.1633, allocations: 54.06 kB / 299.8 MB, free: 28.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1634, allocations: 40.55 kB / 299.8 MB, free: 28.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.1634, allocations: 14.19 kB / 299.8 MB, free: 28.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006431/0.1641, allocations: 0.5703 MB / 300.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1641, allocations: 0 / 300.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007096/0.1648, allocations: 285.2 kB / 300.7 MB, free: 27.77 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.1649, allocations: 118.8 kB / 300.8 MB, free: 27.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008712/0.1658, allocations: 0.6313 MB / 301.4 MB, free: 27.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1658, allocations: 1.438 kB / 301.4 MB, free: 27.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.1661, allocations: 309.5 kB / 301.7 MB, free: 27.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008233/0.167, allocations: 173.5 kB / 301.9 MB, free: 27.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.1699, allocations: 2.252 MB / 304.2 MB, free: 26.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.1705, allocations: 0.7448 MB / 304.9 MB, free: 25.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.1709, allocations: 210.1 kB / 305.1 MB, free: 25.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.171, allocations: 52.5 kB / 305.2 MB, free: 25.26 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.171, allocations: 0 / 305.2 MB, free: 25.26 MB / 266.7 MB Notification: Performance of Templates: time 0.01452/0.1856, allocations: 9.802 MB / 315 MB, free: 15.68 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] 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.5047420979244635]