Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.0009336/0.0009336, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001479/0.001479, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.001/1.001, allocations: 177 MB / 205.2 MB, free: 5.531 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.058e-05, allocations: 2.312 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003862/0.003883, allocations: 3.777 MB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.005345, allocations: 1.02 MB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.005577, allocations: 27.81 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.005862, allocations: 166.8 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.006488, allocations: 302 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.006791, allocations: 139.8 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000971/0.007762, allocations: 1.458 MB / 279.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005317/0.008293, allocations: 0.6275 MB / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009337/0.009227, allocations: 0.9473 MB / 281.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.009825, allocations: 0.7639 MB / 282.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.009943, allocations: 156 kB / 282.3 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.01011, allocations: 164 kB / 282.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.01036, allocations: 486.6 kB / 283 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.01071, allocations: 0.5184 MB / 283.5 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.01156, allocations: 1.246 MB / 284.7 MB, free: 5.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.597e-05/0.01157, allocations: 0 / 284.7 MB, free: 5.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01158, allocations: 0 / 284.7 MB, free: 5.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.01159, allocations: 4 kB / 284.8 MB, free: 5.875 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.001617/0.01321, allocations: 1.773 MB / 286.5 MB, free: 4.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.01324, allocations: 11.98 kB / 286.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.01358, allocations: 268 kB / 286.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007084/0.01429, allocations: 0.7557 MB / 287.6 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.01433, allocations: 86.59 kB / 287.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.01443, allocations: 108.4 kB / 287.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.01547, allocations: 1.032 MB / 288.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.01549, allocations: 0 / 288.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.01555, allocations: 44 kB / 288.8 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.0156, allocations: 50.2 kB / 288.9 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.01624, allocations: 377 kB / 289.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1459/0.1621, allocations: 3.327 MB / 292.6 MB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.1625, allocations: 335.1 kB / 292.9 MB, free: 25.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.1628, allocations: 179.2 kB / 293.1 MB, free: 25.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1628, allocations: 11.56 kB / 293.1 MB, free: 25.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1628, allocations: 42.05 kB / 293.1 MB, free: 25.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.445e-06/0.1628, allocations: 1.75 kB / 293.1 MB, free: 25.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001369/0.1642, allocations: 0.9841 MB / 294.1 MB, free: 25.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.1642, allocations: 57.25 kB / 294.2 MB, free: 25.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.1648, allocations: 0.6924 MB / 294.9 MB, free: 25.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1648, allocations: 34.42 kB / 294.9 MB, free: 25.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.165, allocations: 0.6307 MB / 295.5 MB, free: 24.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.1651, allocations: 177.9 kB / 295.7 MB, free: 24.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.1652, allocations: 107.1 kB / 295.8 MB, free: 24.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1653, allocations: 0.586 MB / 296.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1655, allocations: 73.48 kB / 296.5 MB, free: 24.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1657, allocations: 219.5 kB / 296.7 MB, free: 24.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.166, allocations: 321.7 kB / 297 MB, free: 23.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.166, allocations: 0.5625 kB / 297 MB, free: 23.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005513/0.1665, allocations: 460.9 kB / 297.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1665, allocations: 8.047 kB / 297.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1665, allocations: 6.625 kB / 297.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.1667, allocations: 71.77 kB / 297.5 MB, free: 23.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.167, allocations: 115.2 kB / 297.6 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.168, allocations: 2.342 MB / 300 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.1682, allocations: 23.25 kB / 300 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.1682, allocations: 20 kB / 300 MB, free: 21.47 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.1684, allocations: 189.2 kB / 300.2 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.1684, allocations: 87.91 kB / 300.3 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.1685, allocations: 85.61 kB / 300.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1685, allocations: 8.594 kB / 300.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1685, allocations: 1.125 kB / 300.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1685, allocations: 5.234 kB / 300.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.17, allocations: 1.372 MB / 301.8 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.17, allocations: 4.859 kB / 301.8 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.1701, allocations: 80.33 kB / 301.8 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.1703, allocations: 69.7 kB / 301.9 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.1703, allocations: 15.58 kB / 301.9 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008491/0.1711, allocations: 2.324 MB / 304.2 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1711, allocations: 4.031 kB / 304.2 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.1717, allocations: 0.6154 MB / 304.9 MB, free: 17.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.1718, allocations: 84.27 kB / 304.9 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.1718, allocations: 8.844 kB / 305 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.172, allocations: 47.47 kB / 305 MB, free: 17.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.1721, allocations: 43.2 kB / 305 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.1721, allocations: 16.05 kB / 305.1 MB, free: 17.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003409/0.1725, allocations: 439.6 kB / 305.5 MB, free: 17.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1725, allocations: 0 / 305.5 MB, free: 17.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004784/0.1729, allocations: 203.8 kB / 305.7 MB, free: 17.63 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.996e-05/0.173, allocations: 115.3 kB / 305.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.1735, allocations: 0.4905 MB / 306.3 MB, free: 17.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1735, allocations: 1.375 kB / 306.3 MB, free: 17.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.1738, allocations: 367.9 kB / 306.7 MB, free: 17.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.1743, allocations: 166.8 kB / 306.8 MB, free: 16.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.1765, allocations: 1.864 MB / 308.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.1767, allocations: 369.4 kB / 309 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.1769, allocations: 136.3 kB / 309.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/0.177, allocations: 55.17 kB / 309.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.177, allocations: 3.938 kB / 309.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of Templates: time 0.01024/0.1872, allocations: 10.19 MB / 319.4 MB, free: 6.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.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.957825792953372]