Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009329/0.0009329, allocations: 93.22 kB / 16.93 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009016/0.0009017, allocations: 184.2 kB / 17.83 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006385/0.0006385, allocations: 12.22 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1253, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003727/0.1291, allocations: 3.005 MB / 331.3 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1308, allocations: 0.9986 MB / 332.3 MB, free: 76 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.131, allocations: 19.88 kB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1313, allocations: 123.3 kB / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006051/0.1319, allocations: 211.3 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1321, allocations: 95.83 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008607/0.133, allocations: 0.8615 MB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000824/0.1338, allocations: 0.7381 MB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.1343, allocations: 446.4 kB / 334.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005948/0.1349, allocations: 0.5292 MB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.135, allocations: 76 kB / 335.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1351, allocations: 76 kB / 335.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.1354, allocations: 331 kB / 335.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.1356, allocations: 273 kB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.1369, allocations: 1.613 MB / 337.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1369, allocations: 0 / 337.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1369, allocations: 0 / 337.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1369, allocations: 0 / 337.7 MB, free: 10.68 MB / 286.1 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.002378/0.1393, allocations: 1.454 MB / 339.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1394, allocations: 12.03 kB / 339.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.1396, allocations: 142.3 kB / 339.3 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.1409, allocations: 0.7909 MB / 340.1 MB, free: 8.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/0.141, allocations: 82.22 kB / 340.2 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.1412, allocations: 111.9 kB / 340.3 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.1435, allocations: 1.525 MB / 341.8 MB, free: 6.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.1435, allocations: 4 kB / 341.8 MB, free: 6.426 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.1436, allocations: 44 kB / 341.8 MB, free: 6.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.1437, allocations: 28 kB / 341.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.1457, allocations: 1.312 MB / 343.2 MB, free: 5.035 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006267/0.152, allocations: 4.248 MB / 347.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.1532, allocations: 1.322 MB / 348.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1532, allocations: 4.438 kB / 348.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1533, allocations: 43 kB / 348.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.625e-06/0.1533, allocations: 0 / 348.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.003023/0.1563, allocations: 1.974 MB / 350.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1563, allocations: 55.84 kB / 350.8 MB, free: 13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/0.1573, allocations: 0.8126 MB / 351.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.1573, allocations: 37.7 kB / 351.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.1577, allocations: 0.5414 MB / 352.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.1578, allocations: 165.5 kB / 352.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.1578, allocations: 16 kB / 352.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.158, allocations: 386.7 kB / 352.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/0.1584, allocations: 316.8 kB / 353.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.1589, allocations: 415.3 kB / 353.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.1594, allocations: 370 kB / 353.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1594, allocations: 0 / 353.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001279/0.1607, allocations: 0.9319 MB / 354.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1608, allocations: 8 kB / 354.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1608, allocations: 320 / 354.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/0.1611, allocations: 116.7 kB / 354.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.1616, allocations: 123.9 kB / 355 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.1637, allocations: 2.189 MB / 357.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.164, allocations: 32.03 kB / 357.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.1641, allocations: 24 kB / 357.3 MB, free: 6.344 MB / 302.1 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006336/0.1647, allocations: 453.4 kB / 357.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.1648, allocations: 75.16 kB / 357.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.165, allocations: 95.02 kB / 357.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.165, allocations: 4 kB / 357.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.165, allocations: 4 kB / 357.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.165, allocations: 4 kB / 357.9 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.1679, allocations: 2.016 MB / 359.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1679, allocations: 3.938 kB / 359.9 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.1683, allocations: 87.88 kB / 360 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.1685, allocations: 109 kB / 360.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.1686, allocations: 15.98 kB / 360.1 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.1706, allocations: 2.146 MB / 362.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1706, allocations: 0 / 362.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.1722, allocations: 1.231 MB / 363.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.1724, allocations: 156.2 kB / 363.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.1725, allocations: 12 kB / 363.7 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.1729, allocations: 56.27 kB / 363.7 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.173, allocations: 44.36 kB / 363.7 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.173, allocations: 16 kB / 363.8 MB, free: 15.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007444/0.1738, allocations: 0.581 MB / 364.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1738, allocations: 0 / 364.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007848/0.1746, allocations: 208 kB / 364.5 MB, free: 14.78 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001642/0.1748, allocations: 115.2 kB / 364.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.1761, allocations: 0.8282 MB / 365.5 MB, free: 13.81 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1761, allocations: 0 / 365.5 MB, free: 13.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006842/0.1768, allocations: 493.4 kB / 366 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.1775, allocations: 166.9 kB / 366.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.1814, allocations: 2.606 MB / 368.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009851/0.1824, allocations: 1.364 MB / 370.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004743/0.1829, allocations: 185.7 kB / 370.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.183, allocations: 47.44 kB / 370.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.183, allocations: 0 / 370.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of Templates: time 0.211/0.394, allocations: 9.58 MB / 379.9 MB, free: 51.86 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches