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.001113/0.001113, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001208/0.001208, allocations: 161 kB / 24.56 MB, free: 20 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.049/1.049, allocations: 177.1 MB / 205 MB, free: 5.293 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.573e-06/1.573e-06, allocations: 0 / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.015e-05, allocations: 2.312 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003754/0.003784, allocations: 3.769 MB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.005202, allocations: 1.016 MB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.005406, allocations: 27.81 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.005707, allocations: 162.8 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006588/0.006366, allocations: 298.1 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.006612, allocations: 143.8 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.007621, allocations: 1.439 MB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006045/0.008225, allocations: 0.6313 MB / 280.4 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007556/0.008981, allocations: 0.9356 MB / 281.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007646/0.009745, allocations: 0.7639 MB / 282.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.009905, allocations: 159.9 kB / 282.3 MB, free: 8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.01011, allocations: 164 kB / 282.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.01041, allocations: 482.6 kB / 282.9 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.0108, allocations: 0.5223 MB / 283.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.01182, allocations: 1.235 MB / 284.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01183, allocations: 0 / 284.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01183, allocations: 0 / 284.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.01184, allocations: 0 / 284.7 MB, free: 5.605 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.001837/0.01368, allocations: 1.773 MB / 286.5 MB, free: 3.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.01372, allocations: 8.031 kB / 286.5 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.01411, allocations: 260 kB / 286.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/0.01492, allocations: 0.7635 MB / 287.5 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.01497, allocations: 82.59 kB / 287.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.01508, allocations: 112.4 kB / 287.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.0162, allocations: 1.024 MB / 288.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.01622, allocations: 3.938 kB / 288.7 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.01628, allocations: 48 kB / 288.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.01631, allocations: 28 kB / 288.8 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006851/0.01699, allocations: 380.8 kB / 289.1 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1423/0.1593, allocations: 3.376 MB / 292.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.1599, allocations: 345.6 kB / 292.9 MB, free: 23.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.1602, allocations: 191.7 kB / 293.1 MB, free: 23.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.783e-05/0.1603, allocations: 9.438 kB / 293.1 MB, free: 23.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.1603, allocations: 45.98 kB / 293.1 MB, free: 23.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 4.719e-06/0.1603, allocations: 2.266 kB / 293.1 MB, free: 23.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001913/0.1622, allocations: 1.026 MB / 294.1 MB, free: 22.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.1623, allocations: 59.19 kB / 294.2 MB, free: 22.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006982/0.163, allocations: 0.693 MB / 294.9 MB, free: 22.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.163, allocations: 35.8 kB / 294.9 MB, free: 22.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.1633, allocations: 0.6307 MB / 295.5 MB, free: 22.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1635, allocations: 184.6 kB / 295.7 MB, free: 22.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.1636, allocations: 117.4 kB / 295.8 MB, free: 22.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1637, allocations: 0.5857 MB / 296.4 MB, free: 21.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1639, allocations: 72.19 kB / 296.5 MB, free: 21.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1641, allocations: 225.9 kB / 296.7 MB, free: 21.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.1645, allocations: 327.6 kB / 297 MB, free: 21.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1645, allocations: 0 / 297 MB, free: 21.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006852/0.1652, allocations: 469.5 kB / 297.5 MB, free: 21.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1652, allocations: 6.641 kB / 297.5 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.1652, allocations: 3.562 kB / 297.5 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/0.1655, allocations: 66.48 kB / 297.6 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.1658, allocations: 123 kB / 297.7 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.1672, allocations: 2.344 MB / 300 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.1674, allocations: 27.66 kB / 300.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.1675, allocations: 18.83 kB / 300.1 MB, free: 19.45 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.0002008/0.1677, allocations: 189 kB / 300.3 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1678, allocations: 89.61 kB / 300.4 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.1679, allocations: 81.56 kB / 300.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1679, allocations: 5.625 kB / 300.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.1679, allocations: 4.344 kB / 300.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1679, allocations: 3.547 kB / 300.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.1698, allocations: 1.47 MB / 301.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1698, allocations: 1.031 kB / 301.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.17, allocations: 82.03 kB / 302 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001937/0.1702, allocations: 73.62 kB / 302.1 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.1702, allocations: 13.66 kB / 302.1 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.1713, allocations: 2.324 MB / 304.4 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1713, allocations: 2.094 kB / 304.4 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008334/0.1722, allocations: 0.675 MB / 305.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1723, allocations: 86.86 kB / 305.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.1723, allocations: 13.25 kB / 305.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1725, allocations: 46.97 kB / 305.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.1727, allocations: 51.7 kB / 305.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1727, allocations: 16.77 kB / 305.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004075/0.1731, allocations: 435 kB / 305.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1731, allocations: 4.031 kB / 305.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005807/0.1737, allocations: 213.9 kB / 305.9 MB, free: 15.49 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.0001189/0.1738, allocations: 111.6 kB / 306 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006675/0.1745, allocations: 0.4956 MB / 306.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1745, allocations: 5.375 kB / 306.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.1748, allocations: 387.6 kB / 306.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.1754, allocations: 168 kB / 307.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.1781, allocations: 1.905 MB / 309 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1784, allocations: 365.9 kB / 309.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.1786, allocations: 133.6 kB / 309.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.902e-05/0.1787, allocations: 55.47 kB / 309.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1787, allocations: 0 / 309.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of Templates: time 0.0131/0.1918, allocations: 10.35 MB / 319.9 MB, free: 4.957 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.265285085886717]