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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008203/0.0008203, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003977/0.003977, allocations: 163.1 kB / 24.69 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8394/0.8394, allocations: 158.6 MB / 186.5 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.383e-05, allocations: 6.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003306/0.003319, allocations: 3.404 MB / 301.8 MB, free: 92 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1361/0.1394, allocations: 0.9655 MB / 302.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.1396, allocations: 25.62 kB / 302.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.1399, allocations: 160.4 kB / 303 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.1405, allocations: 302 kB / 303.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.1406, allocations: 138.3 kB / 303.4 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008584/0.1415, allocations: 1.458 MB / 304.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005124/0.142, allocations: 0.5738 MB / 305.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006257/0.1426, allocations: 0.9118 MB / 306.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.1433, allocations: 0.703 MB / 307.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.1435, allocations: 156.6 kB / 307.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.1437, allocations: 155.1 kB / 307.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.144, allocations: 475.5 kB / 307.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004645/0.1445, allocations: 0.5068 MB / 308.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.1463, allocations: 2.069 MB / 310.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1463, allocations: 1.219 kB / 310.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1463, allocations: 0.5938 kB / 310.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.1463, allocations: 3.719 kB / 310.4 MB, free: 10.55 MB / 282.7 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.001754/0.1481, allocations: 1.601 MB / 312 MB, free: 9.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1481, allocations: 13.58 kB / 312 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001763/0.1483, allocations: 181 kB / 312.2 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.1485, allocations: 150 kB / 312.3 MB, free: 9.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009251/0.1494, allocations: 0.7681 MB / 313.1 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.1494, allocations: 83.91 kB / 313.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.1496, allocations: 107.2 kB / 313.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.1514, allocations: 1.695 MB / 315 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1514, allocations: 1.156 kB / 315 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.1515, allocations: 45.16 kB / 315 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.1515, allocations: 30.97 kB / 315.1 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.1529, allocations: 1.306 MB / 316.4 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.1566, allocations: 3.798 MB / 320.2 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.1573, allocations: 0.6051 MB / 320.8 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.1578, allocations: 440.9 kB / 321.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1578, allocations: 5.656 kB / 321.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1578, allocations: 42.94 kB / 321.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 1.683e-06/0.1578, allocations: 0 / 321.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=51): time 0.002402/0.1602, allocations: 1.885 MB / 323.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1602, allocations: 56.34 kB / 323.2 MB, free: 3.441 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000767/0.161, allocations: 0.8302 MB / 324 MB, free: 2.973 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.161, allocations: 32.17 kB / 324.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.1612, allocations: 0.5568 MB / 324.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.1613, allocations: 179.7 kB / 324.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1614, allocations: 103.5 kB / 324.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.1615, allocations: 384.2 kB / 325.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.1618, allocations: 303.5 kB / 325.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.1621, allocations: 400.5 kB / 326 MB, free: 1.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.1626, allocations: 0.7012 MB / 326.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1626, allocations: 1.906 kB / 326.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008744/0.1635, allocations: 0.9103 MB / 327.6 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1635, allocations: 6.625 kB / 327.6 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1635, allocations: 11.41 kB / 327.6 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.1637, allocations: 111.9 kB / 327.7 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.164, allocations: 123.9 kB / 327.8 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.1656, allocations: 2.244 MB / 330.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1658, allocations: 27.97 kB / 330.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.1658, allocations: 16.97 kB / 330.1 MB, free: 14.36 MB / 298.7 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.0003978/0.1662, allocations: 463.4 kB / 330.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.1663, allocations: 79.52 kB / 330.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.1664, allocations: 91.08 kB / 330.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1664, allocations: 8.062 kB / 330.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1664, allocations: 0 / 330.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1664, allocations: 3.984 kB / 330.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.1683, allocations: 1.89 MB / 332.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1683, allocations: 4.875 kB / 332.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.1685, allocations: 87.88 kB / 332.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001599/0.1686, allocations: 115.1 kB / 332.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.1686, allocations: 16 kB / 332.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.1701, allocations: 2.206 MB / 335.1 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1701, allocations: 64 / 335.1 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.1715, allocations: 1.195 MB / 336.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1716, allocations: 95.53 kB / 336.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.1717, allocations: 15.94 kB / 336.4 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.1719, allocations: 48.02 kB / 336.4 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.1719, allocations: 40.42 kB / 336.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.172, allocations: 23.92 kB / 336.5 MB, free: 7.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000449/0.1724, allocations: 0.5849 MB / 337.1 MB, free: 7.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1724, allocations: 0 / 337.1 MB, free: 7.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004535/0.1729, allocations: 212 kB / 337.3 MB, free: 7 MB / 298.7 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.001346/0.1742, allocations: 1.751 MB / 339 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008533/0.1751, allocations: 0.7919 MB / 339.8 MB, free: 4.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1751, allocations: 4 kB / 339.8 MB, free: 4.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.1755, allocations: 486.1 kB / 340.3 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.176, allocations: 175.7 kB / 340.5 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008276/0.1843, allocations: 8.641 MB / 349.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008658/0.1851, allocations: 0.7447 MB / 349.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002947/0.1854, allocations: 177.8 kB / 350 MB, free: 9.945 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.1858, allocations: 376.4 kB / 350.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1858, allocations: 4 kB / 350.4 MB, free: 9.574 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.2179, allocations: 21.03 MB / 371.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.742, allocations: 11.91 kB / 371.4 MB, free: 4.457 MB / 330.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.377870859578252]