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.001668/0.001668, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001777/0.001777, allocations: 198 kB / 18.07 MB, free: 5.41 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.697/1.697, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001633/0.001634, allocations: 47.94 kB / 280 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1357, allocations: 46.62 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.006714/0.1424, allocations: 3.753 MB / 330.3 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.1451, allocations: 1.006 MB / 331.3 MB, free: 112 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/0.1458, allocations: 19.94 kB / 331.4 MB, free: 92 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.1465, allocations: 123.2 kB / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.1479, allocations: 250.8 kB / 331.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.1485, allocations: 119.8 kB / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.1506, allocations: 1.654 MB / 333.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.1518, allocations: 0.9439 MB / 334.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009222/0.1527, allocations: 0.5176 MB / 335 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.1538, allocations: 0.7237 MB / 335.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.154, allocations: 100 kB / 335.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.1542, allocations: 104 kB / 335.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003476/0.1546, allocations: 398.7 kB / 336.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007417/0.1553, allocations: 0.6569 MB / 336.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.157, allocations: 1.967 MB / 338.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.157, allocations: 0 / 338.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.157, allocations: 0 / 338.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.62e-05/0.157, allocations: 0 / 338.9 MB, free: 8.496 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.003056/0.1601, allocations: 1.66 MB / 340.6 MB, free: 6.781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.1601, allocations: 12.03 kB / 340.6 MB, free: 6.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.1604, allocations: 135.3 kB / 340.7 MB, free: 6.637 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.1616, allocations: 0.8111 MB / 341.5 MB, free: 5.785 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.1616, allocations: 78.59 kB / 341.6 MB, free: 5.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.1618, allocations: 111.9 kB / 341.7 MB, free: 5.598 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.1643, allocations: 1.548 MB / 343.2 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.1644, allocations: 0 / 343.2 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.1645, allocations: 44 kB / 343.3 MB, free: 3.961 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.1645, allocations: 31.94 kB / 343.3 MB, free: 3.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.1667, allocations: 1.301 MB / 344.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007123/0.1738, allocations: 4.22 MB / 348.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.1753, allocations: 1.311 MB / 350.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007412/0.1761, allocations: 454.5 kB / 350.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.1761, allocations: 12.44 kB / 350.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.1762, allocations: 42.92 kB / 350.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.236e-06/0.1762, allocations: 0 / 350.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.0042/0.1804, allocations: 1.942 MB / 352.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.1805, allocations: 59.84 kB / 352.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.1819, allocations: 0.8243 MB / 353.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.182, allocations: 37.7 kB / 353.5 MB, free: 9.328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/0.1824, allocations: 0.5414 MB / 354.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.1826, allocations: 177.4 kB / 354.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.1828, allocations: 98.25 kB / 354.3 MB, free: 8.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.1831, allocations: 390.7 kB / 354.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.1835, allocations: 296.9 kB / 355 MB, free: 7.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.184, allocations: 407.3 kB / 355.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.185, allocations: 0.6989 MB / 356.1 MB, free: 6.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1851, allocations: 4 kB / 356.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001561/0.1866, allocations: 0.9165 MB / 357 MB, free: 5.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.1867, allocations: 4 kB / 357 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.1867, allocations: 7.984 kB / 357 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/0.1871, allocations: 100.8 kB / 357.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.1876, allocations: 127.9 kB / 357.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.1906, allocations: 2.181 MB / 359.4 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.1911, allocations: 27.97 kB / 359.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.1912, allocations: 20 kB / 359.5 MB, free: 3.121 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.0009973/0.1922, allocations: 461.3 kB / 359.9 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.1924, allocations: 71.16 kB / 360 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.1925, allocations: 99.12 kB / 360.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1925, allocations: 4 kB / 360.1 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.1926, allocations: 4 kB / 360.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.1926, allocations: 0 / 360.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/0.1964, allocations: 2.029 MB / 362.1 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.1964, allocations: 0 / 362.1 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.1968, allocations: 91.88 kB / 362.2 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003305/0.1971, allocations: 112.9 kB / 362.3 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.1972, allocations: 15.98 kB / 362.3 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/0.1997, allocations: 2.123 MB / 364.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1998, allocations: 4.031 kB / 364.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.2016, allocations: 1.196 MB / 365.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.202, allocations: 164.5 kB / 365.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.2022, allocations: 19.98 kB / 365.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.2027, allocations: 39.95 kB / 365.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.2029, allocations: 52.38 kB / 365.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.2029, allocations: 16 kB / 366 MB, free: 12.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001014/0.2039, allocations: 0.581 MB / 366.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2039, allocations: 0 / 366.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001048/0.205, allocations: 212 kB / 366.7 MB, free: 11.57 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.0002126/0.2052, allocations: 115.1 kB / 366.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.2068, allocations: 0.8085 MB / 367.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.2068, allocations: 0 / 367.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009265/0.2078, allocations: 0.4939 MB / 368.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.2091, allocations: 178.1 kB / 368.3 MB, free: 9.945 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005781/0.2149, allocations: 2.682 MB / 371 MB, free: 7.219 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.2164, allocations: 1.336 MB / 372.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006294/0.2171, allocations: 181.8 kB / 372.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.2173, allocations: 47.44 kB / 372.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of SimCode: time 1.383e-06/0.2173, allocations: 0 / 372.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of Templates: time 0.2594/0.4767, allocations: 9.974 MB / 382.5 MB, free: 50.45 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