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.001096/0.001096, allocations: 105.6 kB / 17.58 MB, free: 5.422 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.0012/0.0012, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.515/1.515, allocations: 205.1 MB / 224.4 MB, free: 12.27 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.00139/0.00139, allocations: 51.92 kB / 280.6 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.123, allocations: 46.63 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.007805/0.1308, allocations: 3.723 MB / 331 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.134, allocations: 1.006 MB / 332 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006673/0.1347, allocations: 23.88 kB / 332 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.1352, allocations: 146.8 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009224/0.1361, allocations: 282.4 kB / 332.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1364, allocations: 123.8 kB / 332.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.1382, allocations: 1.412 MB / 334 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.1397, allocations: 1.106 MB / 335.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.1408, allocations: 0.623 MB / 335.7 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.1419, allocations: 0.7472 MB / 336.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.1421, allocations: 156 kB / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.1424, allocations: 160 kB / 336.8 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005086/0.143, allocations: 470.7 kB / 337.2 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009126/0.1439, allocations: 0.7234 MB / 337.9 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.1463, allocations: 2.014 MB / 340 MB, free: 7.695 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1464, allocations: 3.938 kB / 340 MB, free: 7.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1464, allocations: 0 / 340 MB, free: 7.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.1464, allocations: 0 / 340 MB, free: 7.691 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.003666/0.1501, allocations: 1.652 MB / 341.6 MB, free: 5.984 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.1502, allocations: 15.89 kB / 341.6 MB, free: 5.969 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.1504, allocations: 135.3 kB / 341.8 MB, free: 5.836 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.1518, allocations: 0.8112 MB / 342.6 MB, free: 4.984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.1518, allocations: 82.59 kB / 342.7 MB, free: 4.902 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.152, allocations: 115.9 kB / 342.8 MB, free: 4.789 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.1546, allocations: 1.541 MB / 344.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1546, allocations: 0 / 344.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.1548, allocations: 44 kB / 344.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.1548, allocations: 28 kB / 344.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.1574, allocations: 1.308 MB / 345.7 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007604/0.165, allocations: 4.224 MB / 349.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.1665, allocations: 1.312 MB / 351.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007568/0.1673, allocations: 458.5 kB / 351.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1673, allocations: 4.438 kB / 351.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.1674, allocations: 42.94 kB / 351.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.226e-06/0.1674, allocations: 0 / 351.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.004234/0.1716, allocations: 1.942 MB / 353.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.1717, allocations: 59.84 kB / 353.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.1731, allocations: 0.8204 MB / 354.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.1731, allocations: 33.7 kB / 354.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.1736, allocations: 0.5375 MB / 355.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.1737, allocations: 177.4 kB / 355.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.1739, allocations: 102.2 kB / 355.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003683/0.1743, allocations: 390.7 kB / 355.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.1748, allocations: 304.9 kB / 356.1 MB, free: 7.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.1754, allocations: 399.4 kB / 356.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.1768, allocations: 0.6989 MB / 357.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1768, allocations: 3.938 kB / 357.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001564/0.1784, allocations: 0.9201 MB / 358.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1784, allocations: 4 kB / 358.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1784, allocations: 4 kB / 358.1 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.1788, allocations: 109.1 kB / 358.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.1793, allocations: 127.8 kB / 358.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.1824, allocations: 2.372 MB / 360.7 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.1829, allocations: 31.91 kB / 360.7 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.183, allocations: 27.94 kB / 360.7 MB, free: 2.109 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.0007862/0.1838, allocations: 453.4 kB / 361.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.1839, allocations: 71.22 kB / 361.3 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.1842, allocations: 95.08 kB / 361.3 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1842, allocations: 4 kB / 361.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.1842, allocations: 4 kB / 361.4 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1842, allocations: 11.86 kB / 361.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.1882, allocations: 2.029 MB / 363.4 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1883, allocations: 0 / 363.4 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/0.1887, allocations: 87.83 kB / 363.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/0.189, allocations: 105.1 kB / 363.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.189, allocations: 19.92 kB / 363.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.1927, allocations: 2.322 MB / 365.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1927, allocations: 0 / 365.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.1952, allocations: 1.204 MB / 367.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.1957, allocations: 160.2 kB / 367.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.95e-05/0.1958, allocations: 12 kB / 367.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.1962, allocations: 56 kB / 367.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.1964, allocations: 36.33 kB / 367.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.1964, allocations: 19.98 kB / 367.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009768/0.1974, allocations: 0.5849 MB / 368 MB, free: 10.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1974, allocations: 4 kB / 368 MB, free: 10.56 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009152/0.1983, allocations: 212 kB / 368.2 MB, free: 10.36 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.0001909/0.1985, allocations: 107.2 kB / 368.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.2007, allocations: 0.9453 MB / 369.3 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2007, allocations: 0 / 369.3 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000922/0.2016, allocations: 488.9 kB / 369.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009647/0.2026, allocations: 183.6 kB / 369.9 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.207, allocations: 2.211 MB / 372.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.2088, allocations: 1.336 MB / 373.5 MB, free: 4.992 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004742/0.2093, allocations: 189.8 kB / 373.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.2094, allocations: 51.44 kB / 373.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2095, allocations: 0 / 373.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of Templates: time 0.2112/0.4206, allocations: 10.44 MB / 384.1 MB, free: 51.25 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches