Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009873/0.0009873, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 165.2 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.006/1.006, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.26e-05, allocations: 2.312 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.0035/0.003512, allocations: 3.787 MB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.004807, allocations: 1.102 MB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.004986, allocations: 31.81 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.005235, allocations: 162.8 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.005793, allocations: 333.9 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.005976, allocations: 131.8 kB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008695/0.006845, allocations: 1.478 MB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005315/0.007377, allocations: 0.6669 MB / 281.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009195/0.008296, allocations: 0.963 MB / 282.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006374/0.008934, allocations: 0.7951 MB / 282.8 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.009068, allocations: 160 kB / 283 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.009249, allocations: 160 kB / 283.2 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.009508, allocations: 498.6 kB / 283.6 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.009843, allocations: 0.53 MB / 284.2 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007943/0.01064, allocations: 1.258 MB / 285.4 MB, free: 5.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.01064, allocations: 0 / 285.4 MB, free: 5.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01064, allocations: 4 kB / 285.4 MB, free: 5.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.01065, allocations: 3.938 kB / 285.4 MB, free: 5.062 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.001371/0.01202, allocations: 1.535 MB / 287 MB, free: 3.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.01205, allocations: 15.98 kB / 287 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000294/0.01235, allocations: 212.8 kB / 287.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.01295, allocations: 0.5435 MB / 287.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.01299, allocations: 82.62 kB / 287.8 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.0131, allocations: 120.3 kB / 287.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.01423, allocations: 1.001 MB / 288.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01425, allocations: 0 / 288.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.01431, allocations: 51.98 kB / 289 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.01435, allocations: 38.25 kB / 289 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.01471, allocations: 251.6 kB / 289.3 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1096/0.1243, allocations: 2.534 MB / 291.8 MB, free: 24.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.1246, allocations: 297.6 kB / 292.1 MB, free: 24.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.1249, allocations: 220.8 kB / 292.3 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1249, allocations: 8.281 kB / 292.3 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1249, allocations: 48.27 kB / 292.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.736e-06/0.125, allocations: 0 / 292.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0004419/0.1254, allocations: 267.4 kB / 292.6 MB, free: 24.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.1254, allocations: 57.31 kB / 292.7 MB, free: 24.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.1259, allocations: 0.5208 MB / 293.2 MB, free: 24.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.1259, allocations: 36.58 kB / 293.2 MB, free: 23.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.1261, allocations: 490.7 kB / 293.7 MB, free: 23.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.1262, allocations: 184.1 kB / 293.9 MB, free: 23.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1263, allocations: 99.64 kB / 294 MB, free: 23.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.1264, allocations: 390 kB / 294.4 MB, free: 23.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.1265, allocations: 48.73 kB / 294.4 MB, free: 23.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1266, allocations: 147.2 kB / 294.6 MB, free: 23.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.1269, allocations: 248 kB / 294.8 MB, free: 23.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1269, allocations: 1.094 kB / 294.8 MB, free: 23.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003787/0.1273, allocations: 286.3 kB / 295.1 MB, free: 23.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1273, allocations: 13.56 kB / 295.1 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1273, allocations: 2.094 kB / 295.1 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1273, allocations: 4.562 kB / 295.1 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.1278, allocations: 189.2 kB / 295.3 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1278, allocations: 8.953 kB / 295.3 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.128, allocations: 50.36 kB / 295.4 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.128, allocations: 15.91 kB / 295.4 MB, free: 23.12 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.0001487/0.1282, allocations: 142.8 kB / 295.5 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.1282, allocations: 63.39 kB / 295.6 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/0.1283, allocations: 85.16 kB / 295.7 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.1283, allocations: 5.172 kB / 295.7 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1283, allocations: 1.25 kB / 295.7 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1283, allocations: 6.844 kB / 295.7 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.1295, allocations: 1.103 MB / 296.8 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1295, allocations: 3.031 kB / 296.8 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.1299, allocations: 152.7 kB / 296.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.1299, allocations: 3.719 kB / 296.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.13, allocations: 11.81 kB / 296.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.13, allocations: 7.781 kB / 296.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.13, allocations: 10.19 kB / 297 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.1305, allocations: 471.5 kB / 297.4 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.1306, allocations: 77 kB / 297.5 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.1306, allocations: 16.16 kB / 297.5 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.1308, allocations: 36.08 kB / 297.5 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.1308, allocations: 41.44 kB / 297.6 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1309, allocations: 15.81 kB / 297.6 MB, free: 22.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002958/0.1312, allocations: 253.2 kB / 297.8 MB, free: 22.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1312, allocations: 0 / 297.8 MB, free: 22.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006384/0.1318, allocations: 289.1 kB / 298.1 MB, free: 22.35 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.0001376/0.1319, allocations: 99.81 kB / 298.2 MB, free: 22.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.1323, allocations: 221.3 kB / 298.4 MB, free: 22.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/0.1323, allocations: 5.875 kB / 298.4 MB, free: 22.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1324, allocations: 127.8 kB / 298.6 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.1329, allocations: 170.9 kB / 298.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.1354, allocations: 1.902 MB / 300.6 MB, free: 21.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1357, allocations: 305.2 kB / 300.9 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.1359, allocations: 86.3 kB / 301 MB, free: 21.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.1363, allocations: 222.2 kB / 301.2 MB, free: 21.26 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1363, allocations: 0 / 301.2 MB, free: 21.26 MB / 266.7 MB Notification: Performance of Templates: time 0.01229/0.1486, allocations: 10.64 MB / 311.9 MB, free: 14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.7723637437447906]