Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.0009994/0.0009994, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001189/0.001189, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.431e-05, allocations: 2.312 kB / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003663/0.003687, allocations: 3.761 MB / 276.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.005366, allocations: 1.016 MB / 277.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.005626, allocations: 31.81 kB / 277.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.00605, allocations: 158.8 kB / 278 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007585/0.006808, allocations: 294.1 kB / 278.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.00711, allocations: 143.7 kB / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.008297, allocations: 1.447 MB / 279.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006588/0.008956, allocations: 0.6313 MB / 280.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.01006, allocations: 0.9318 MB / 281.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.01107, allocations: 0.7599 MB / 282.2 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.01132, allocations: 156 kB / 282.4 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.01158, allocations: 164 kB / 282.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.01191, allocations: 486.6 kB / 283 MB, free: 7.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.01244, allocations: 0.5184 MB / 283.5 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.01354, allocations: 1.235 MB / 284.7 MB, free: 6.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01354, allocations: 4 kB / 284.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01355, allocations: 0 / 284.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.067e-05/0.01359, allocations: 0 / 284.7 MB, free: 6.078 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002343/0.01593, allocations: 1.777 MB / 286.5 MB, free: 4.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01597, allocations: 16.03 kB / 286.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.0164, allocations: 256 kB / 286.8 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008725/0.01727, allocations: 0.7518 MB / 287.5 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.01733, allocations: 86.58 kB / 287.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.01745, allocations: 112.4 kB / 287.7 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.01867, allocations: 1.02 MB / 288.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.01869, allocations: 8 kB / 288.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.01876, allocations: 47.94 kB / 288.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.01878, allocations: 28 kB / 288.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007442/0.01953, allocations: 372.8 kB / 289.2 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1311/0.1506, allocations: 3.38 MB / 292.6 MB, free: 26.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.1511, allocations: 347.9 kB / 292.9 MB, free: 26.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.1514, allocations: 195.7 kB / 293.1 MB, free: 26.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1514, allocations: 8.312 kB / 293.1 MB, free: 26.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1515, allocations: 42.61 kB / 293.2 MB, free: 26.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.356e-06/0.1515, allocations: 0 / 293.2 MB, free: 26.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001678/0.1531, allocations: 1.04 MB / 294.2 MB, free: 26.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.1532, allocations: 57.88 kB / 294.3 MB, free: 26.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/0.1538, allocations: 0.6866 MB / 294.9 MB, free: 25.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.1538, allocations: 33.83 kB / 295 MB, free: 25.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.1541, allocations: 0.6255 MB / 295.6 MB, free: 25.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.792e-05/0.1542, allocations: 194.4 kB / 295.8 MB, free: 25.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.1543, allocations: 115.2 kB / 295.9 MB, free: 25.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1544, allocations: 0.586 MB / 296.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.1546, allocations: 77.36 kB / 296.6 MB, free: 24.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.1548, allocations: 218.1 kB / 296.8 MB, free: 24.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.1552, allocations: 324.9 kB / 297.1 MB, free: 24.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1552, allocations: 1.906 kB / 297.1 MB, free: 24.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006347/0.1558, allocations: 473.4 kB / 297.6 MB, free: 23.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1558, allocations: 6.906 kB / 297.6 MB, free: 23.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1558, allocations: 5.891 kB / 297.6 MB, free: 23.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.156, allocations: 70.27 kB / 297.6 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.1564, allocations: 115.5 kB / 297.8 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.1577, allocations: 2.343 MB / 300.1 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.1579, allocations: 23.53 kB / 300.1 MB, free: 21.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.1579, allocations: 22.19 kB / 300.1 MB, free: 21.74 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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.0001826/0.1581, allocations: 194.4 kB / 300.3 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.1582, allocations: 89.62 kB / 300.4 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/0.1583, allocations: 81.3 kB / 300.5 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1583, allocations: 7.188 kB / 300.5 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.1583, allocations: 2.875 kB / 300.5 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1583, allocations: 6.188 kB / 300.5 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.16, allocations: 1.464 MB / 302 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.16, allocations: 1.094 kB / 302 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.1602, allocations: 90.62 kB / 302.1 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.1604, allocations: 68.73 kB / 302.1 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.1604, allocations: 14.31 kB / 302.2 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00095/0.1614, allocations: 2.322 MB / 304.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1614, allocations: 1.438 kB / 304.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.1621, allocations: 0.6745 MB / 305.1 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.286e-05/0.1622, allocations: 80.84 kB / 305.2 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.1622, allocations: 15.36 kB / 305.2 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.1624, allocations: 48.08 kB / 305.3 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.1625, allocations: 48.59 kB / 305.3 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1625, allocations: 14.31 kB / 305.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003696/0.1629, allocations: 440.3 kB / 305.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1629, allocations: 0 / 305.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006121/0.1635, allocations: 209.5 kB / 306 MB, free: 17.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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 0.0001309/0.1637, allocations: 116.6 kB / 306.1 MB, free: 17.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006276/0.1643, allocations: 0.5033 MB / 306.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1643, allocations: 1.375 kB / 306.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.1646, allocations: 382 kB / 307 MB, free: 17.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.1651, allocations: 178.6 kB / 307.2 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.1676, allocations: 1.899 MB / 309.1 MB, free: 16.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.1679, allocations: 369.1 kB / 309.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000244/0.1681, allocations: 142.6 kB / 309.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.162e-05/0.1682, allocations: 48.38 kB / 309.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1682, allocations: 0 / 309.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of Templates: time 0.01154/0.1797, allocations: 10.35 MB / 319.9 MB, free: 6.852 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.0108030838891864]