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.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.00108/0.00108, 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.006561/0.006561, allocations: 162.3 kB / 24.69 MB, free: 8.891 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.9051/0.9051, allocations: 158.6 MB / 186.5 MB, free: 3.027 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.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.813e-05, allocations: 6.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003686/0.003714, allocations: 3.42 MB / 301.8 MB, free: 76 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1235/0.1272, allocations: 1.011 MB / 302.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.1274, allocations: 24.12 kB / 302.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.1276, allocations: 158.9 kB / 303 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006539/0.1283, allocations: 312.5 kB / 303.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1285, allocations: 144.5 kB / 303.5 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.1296, allocations: 1.496 MB / 305 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006171/0.1302, allocations: 0.5932 MB / 305.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009672/0.1311, allocations: 0.94 MB / 306.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009527/0.1321, allocations: 0.7159 MB / 307.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002078/0.1323, allocations: 160.2 kB / 307.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.1325, allocations: 158.7 kB / 307.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.1328, allocations: 481.2 kB / 308 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004771/0.1333, allocations: 0.5183 MB / 308.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.135, allocations: 2.103 MB / 310.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.135, allocations: 0 / 310.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.135, allocations: 0.75 kB / 310.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.24e-05/0.135, allocations: 1.062 kB / 310.6 MB, free: 10.44 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002674/0.1377, allocations: 1.625 MB / 312.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1378, allocations: 14.86 kB / 312.3 MB, free: 9.484 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.1379, allocations: 176 kB / 312.4 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.1382, allocations: 148.9 kB / 312.6 MB, free: 9.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/0.1391, allocations: 0.7886 MB / 313.4 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.1392, allocations: 88 kB / 313.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.1393, allocations: 109.4 kB / 313.6 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.1413, allocations: 1.721 MB / 315.3 MB, free: 7.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1413, allocations: 3.938 kB / 315.3 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.1414, allocations: 46 kB / 315.3 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.1414, allocations: 27.59 kB / 315.4 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.143, allocations: 1.325 MB / 316.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.1471, allocations: 3.889 MB / 320.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/0.1477, allocations: 0.6204 MB / 321.2 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/0.1482, allocations: 0.4956 MB / 321.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1482, allocations: 7.281 kB / 321.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1482, allocations: 38.91 kB / 321.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 2.114e-06/0.1482, allocations: 0 / 321.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009248/0.1492, allocations: 0.8774 MB / 322.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.1492, allocations: 57.59 kB / 322.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006939/0.1499, allocations: 0.8366 MB / 323.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.1499, allocations: 40.33 kB / 323.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1501, allocations: 0.5466 MB / 324.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.68e-05/0.1502, allocations: 189.1 kB / 324.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1503, allocations: 99.47 kB / 324.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.1503, allocations: 383.8 kB / 324.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.1506, allocations: 308 kB / 325.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.1509, allocations: 388.7 kB / 325.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.1515, allocations: 0.6922 MB / 326.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1515, allocations: 2.969 kB / 326.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007171/0.1522, allocations: 0.8206 MB / 327 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1522, allocations: 5.906 kB / 327 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1522, allocations: 2.156 kB / 327 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1522, allocations: 9.641 kB / 327 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.1526, allocations: 158.8 kB / 327.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1526, allocations: 4.375 kB / 327.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.1528, allocations: 63.06 kB / 327.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.1528, allocations: 18 kB / 327.2 MB, free: 0.8984 MB / 282.7 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.0003682/0.1532, allocations: 464.4 kB / 327.7 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.1533, allocations: 80.64 kB / 327.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.619e-05/0.1533, allocations: 89.2 kB / 327.8 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.1533, allocations: 5.5 kB / 327.8 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1533, allocations: 0 / 327.8 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1533, allocations: 5.359 kB / 327.8 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.1551, allocations: 1.836 MB / 329.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1551, allocations: 0 / 329.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.1554, allocations: 120 kB / 329.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.1554, allocations: 7.984 kB / 329.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.1554, allocations: 12 kB / 329.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1554, allocations: 8.812 kB / 329.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1554, allocations: 0 / 329.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/0.1564, allocations: 1.127 MB / 330.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.1565, allocations: 107.4 kB / 331.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.1565, allocations: 12 kB / 331.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1567, allocations: 51.94 kB / 331.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.1568, allocations: 36.38 kB / 331.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.1568, allocations: 20.86 kB / 331.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004777/0.1573, allocations: 0.5926 MB / 331.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1573, allocations: 0 / 331.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005305/0.1578, allocations: 287.1 kB / 332 MB, free: 12.48 MB / 298.7 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.001169/0.159, allocations: 1.676 MB / 333.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006438/0.1596, allocations: 0.631 MB / 334.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1597, allocations: 3.938 kB / 334.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.1599, allocations: 310.6 kB / 334.7 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.1605, allocations: 190.8 kB / 334.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008347/0.1688, allocations: 8.517 MB / 343.4 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.1693, allocations: 0.7445 MB / 344.1 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003559/0.1697, allocations: 209.8 kB / 344.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/0.17, allocations: 388.3 kB / 344.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.17, allocations: 3.938 kB / 344.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.203, allocations: 20.59 MB / 365.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.489, allocations: 7.844 kB / 365.3 MB, free: 10.91 MB / 330.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_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_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.244079484604299]