Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 108.6 kB / 17.93 MB, free: 5.535 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.002138/0.002138, allocations: 189.8 kB / 18.86 MB, free: 4.613 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.303/1.303, allocations: 205.1 MB / 224.7 MB, free: 12.44 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.00123/0.00123, allocations: 43.94 kB / 280.8 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 46.63 MB / 327.4 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.008265/0.1327, allocations: 3.764 MB / 331.2 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.1356, allocations: 1.041 MB / 332.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.1361, allocations: 23.88 kB / 332.3 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.1366, allocations: 123.2 kB / 332.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009531/0.1376, allocations: 262.8 kB / 332.6 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.1378, allocations: 119.8 kB / 332.7 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.1392, allocations: 1.455 MB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.1404, allocations: 1.138 MB / 335.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007523/0.1412, allocations: 0.6425 MB / 336 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1423, allocations: 0.7862 MB / 336.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.1426, allocations: 160 kB / 336.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.1429, allocations: 160 kB / 337.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.1433, allocations: 470.7 kB / 337.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009329/0.1443, allocations: 0.7311 MB / 338.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.1457, allocations: 1.703 MB / 340 MB, free: 8.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1457, allocations: 3.938 kB / 340 MB, free: 8.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1457, allocations: 4 kB / 340 MB, free: 8.156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.828e-05/0.1458, allocations: 0 / 340 MB, free: 8.156 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003078/0.1488, allocations: 1.684 MB / 341.7 MB, free: 6.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1489, allocations: 12.03 kB / 341.7 MB, free: 6.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.1491, allocations: 139.2 kB / 341.8 MB, free: 6.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.1502, allocations: 0.8267 MB / 342.6 MB, free: 5.398 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.1503, allocations: 82.62 kB / 342.7 MB, free: 5.316 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.1505, allocations: 111.9 kB / 342.8 MB, free: 5.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.1528, allocations: 1.572 MB / 344.4 MB, free: 3.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.1528, allocations: 3.984 kB / 344.4 MB, free: 3.586 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.1529, allocations: 44 kB / 344.5 MB, free: 3.543 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.153, allocations: 28 kB / 344.5 MB, free: 3.516 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.1549, allocations: 1.328 MB / 345.8 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005769/0.1607, allocations: 4.318 MB / 350.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.1618, allocations: 1.338 MB / 351.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008042/0.1626, allocations: 0.5261 MB / 352 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.1626, allocations: 4.438 kB / 352 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1627, allocations: 47 kB / 352 MB, free: 11.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.575e-06/0.1627, allocations: 0 / 352 MB, free: 11.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001308/0.164, allocations: 0.8728 MB / 352.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1641, allocations: 55.84 kB / 353 MB, free: 10.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.165, allocations: 0.8204 MB / 353.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.165, allocations: 45.69 kB / 353.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.1654, allocations: 0.5414 MB / 354.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1655, allocations: 169.5 kB / 354.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.1656, allocations: 114.1 kB / 354.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1658, allocations: 382.7 kB / 355 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/0.1663, allocations: 300.9 kB / 355.3 MB, free: 8.289 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.1667, allocations: 394.5 kB / 355.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/0.1676, allocations: 0.6903 MB / 356.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1676, allocations: 0 / 356.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001115/0.1688, allocations: 0.8297 MB / 357.2 MB, free: 6.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1688, allocations: 8 kB / 357.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1688, allocations: 0 / 357.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1688, allocations: 8 kB / 357.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.1694, allocations: 152.1 kB / 357.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1694, allocations: 7.938 kB / 357.4 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.1698, allocations: 71.34 kB / 357.5 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.1698, allocations: 20 kB / 357.5 MB, free: 6.055 MB / 302.1 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.0005174/0.1704, allocations: 461.4 kB / 357.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1705, allocations: 75.16 kB / 358 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.1706, allocations: 87.08 kB / 358.1 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1706, allocations: 11.98 kB / 358.1 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1707, allocations: 0 / 358.1 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1707, allocations: 3.938 kB / 358.1 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.1734, allocations: 1.947 MB / 360.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1734, allocations: 4.156 kB / 360.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.1739, allocations: 119.9 kB / 360.2 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.174, allocations: 4 kB / 360.2 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.174, allocations: 15.98 kB / 360.2 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/0.174, allocations: 4 kB / 360.2 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.174, allocations: 0 / 360.2 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.1754, allocations: 1.125 MB / 361.3 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.1756, allocations: 176.2 kB / 361.5 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.1757, allocations: 12 kB / 361.5 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.1761, allocations: 47.95 kB / 361.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.1762, allocations: 48.25 kB / 361.6 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.1763, allocations: 12 kB / 361.6 MB, free: 1.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006889/0.177, allocations: 0.5927 MB / 362.2 MB, free: 1.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.177, allocations: 0 / 362.2 MB, free: 1.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000701/0.1777, allocations: 286.7 kB / 362.5 MB, free: 0.918 MB / 302.1 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.0001412/0.1778, allocations: 119.4 kB / 362.6 MB, free: 0.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.1791, allocations: 0.7942 MB / 363.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1791, allocations: 0.5625 kB / 363.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004209/0.1795, allocations: 330.2 kB / 363.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/0.1804, allocations: 175.1 kB / 363.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.184, allocations: 2.791 MB / 366.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.1849, allocations: 1.313 MB / 368 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.1851, allocations: 55.44 kB / 368 MB, free: 11.25 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1851, allocations: 4 kB / 368.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of Templates: time 0.1407/0.3258, allocations: 13.27 MB / 381.3 MB, free: 52.14 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches