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.001137/0.001137, allocations: 98.12 kB / 17.3 MB, free: 6.344 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.001312/0.001312, allocations: 179.5 kB / 18.21 MB, free: 5.531 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.837/1.837, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005677/0.0005679, allocations: 20 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.13, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.00394/0.134, allocations: 3.348 MB / 332.3 MB, free: 392 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1359, allocations: 0.998 MB / 333.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.1361, allocations: 15.88 kB / 333.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.1364, allocations: 119.2 kB / 333.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006791/0.137, allocations: 258.8 kB / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1373, allocations: 119.8 kB / 333.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.1389, allocations: 1.65 MB / 335.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.1399, allocations: 0.9283 MB / 336.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005938/0.1405, allocations: 470 kB / 336.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007681/0.1413, allocations: 0.6573 MB / 337.5 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.1414, allocations: 76 kB / 337.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1416, allocations: 72 kB / 337.6 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.1419, allocations: 354.8 kB / 338 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006375/0.1425, allocations: 0.6468 MB / 338.6 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.144, allocations: 1.9 MB / 340.5 MB, free: 8.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1441, allocations: 0 / 340.5 MB, free: 8.078 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1441, allocations: 0 / 340.5 MB, free: 8.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.1441, allocations: 0 / 340.5 MB, free: 8.078 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.002375/0.1465, allocations: 1.446 MB / 342 MB, free: 6.578 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1465, allocations: 12.03 kB / 342 MB, free: 6.566 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.1468, allocations: 139.2 kB / 342.1 MB, free: 6.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.1479, allocations: 0.8189 MB / 343 MB, free: 5.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.1479, allocations: 86.58 kB / 343 MB, free: 5.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.1481, allocations: 111.9 kB / 343.1 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.1506, allocations: 1.541 MB / 344.7 MB, free: 3.789 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.1507, allocations: 7.938 kB / 344.7 MB, free: 3.781 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.1508, allocations: 48 kB / 344.7 MB, free: 3.734 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.1508, allocations: 24 kB / 344.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.1529, allocations: 1.316 MB / 346.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006255/0.1592, allocations: 4.256 MB / 350.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.1604, allocations: 1.323 MB / 351.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006794/0.1611, allocations: 466.5 kB / 352.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1611, allocations: 4.438 kB / 352.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1612, allocations: 39 kB / 352.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.1612, allocations: 3.938 kB / 352.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003223/0.1644, allocations: 1.981 MB / 354.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1645, allocations: 55.84 kB / 354.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009969/0.1655, allocations: 0.8127 MB / 355 MB, free: 9.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.1655, allocations: 33.7 kB / 355 MB, free: 9.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.1659, allocations: 0.5452 MB / 355.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1661, allocations: 173.5 kB / 355.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.1662, allocations: 57.69 kB / 355.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.1664, allocations: 390.7 kB / 356.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.1668, allocations: 308.9 kB / 356.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.1674, allocations: 411.3 kB / 356.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.1683, allocations: 0.7106 MB / 357.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1683, allocations: 0 / 357.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00134/0.1697, allocations: 0.9319 MB / 358.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1697, allocations: 4 kB / 358.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1697, allocations: 8.281 kB / 358.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.17, allocations: 108.8 kB / 358.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.1705, allocations: 123.8 kB / 358.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.1725, allocations: 2.185 MB / 361 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.1729, allocations: 31.97 kB / 361 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.173, allocations: 16 kB / 361 MB, free: 2.805 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 (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.0006422/0.1736, allocations: 465.3 kB / 361.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.1737, allocations: 71.16 kB / 361.5 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.1739, allocations: 95.06 kB / 361.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1739, allocations: 12.06 kB / 361.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1739, allocations: 0 / 361.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1739, allocations: 3.984 kB / 361.6 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.1768, allocations: 2.053 MB / 363.7 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1768, allocations: 0 / 363.7 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.1772, allocations: 91.89 kB / 363.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/0.1774, allocations: 100.8 kB / 363.9 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.1775, allocations: 15.94 kB / 363.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.1794, allocations: 2.135 MB / 366 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1794, allocations: 0 / 366 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.181, allocations: 1.219 MB / 367.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.1812, allocations: 168.1 kB / 367.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.1813, allocations: 12 kB / 367.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.1817, allocations: 56.02 kB / 367.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.1818, allocations: 40.38 kB / 367.5 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.1818, allocations: 16 kB / 367.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000704/0.1825, allocations: 0.5888 MB / 368.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1826, allocations: 0 / 368.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006948/0.1833, allocations: 208 kB / 368.3 MB, free: 11.2 MB / 318.1 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.000148/0.1834, allocations: 119.1 kB / 368.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.1847, allocations: 0.8243 MB / 369.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1847, allocations: 0 / 369.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.1854, allocations: 0.4898 MB / 369.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009771/0.1864, allocations: 178.8 kB / 369.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.19, allocations: 2.735 MB / 372.7 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/0.1909, allocations: 1.344 MB / 374 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.1913, allocations: 181.8 kB / 374.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.1915, allocations: 47.44 kB / 374.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1915, allocations: 0 / 374.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of Templates: time 0.1962/0.3876, allocations: 9.818 MB / 384.1 MB, free: 49.65 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (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) 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