Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8935/0.8935, allocations: 173.3 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 3.938 kB / 318.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.133e-05, allocations: 5.516 kB / 318.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004752/0.004773, allocations: 3.454 MB / 321.9 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.006499, allocations: 0.9541 MB / 322.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.006764, allocations: 27.81 kB / 322.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.007113, allocations: 158.8 kB / 323 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000844/0.007957, allocations: 321.9 kB / 323.3 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.008219, allocations: 123.8 kB / 323.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.009774, allocations: 1.455 MB / 324.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007281/0.0105, allocations: 0.6434 MB / 325.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.01158, allocations: 0.9434 MB / 326.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.01262, allocations: 0.7248 MB / 327.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.01287, allocations: 160 kB / 327.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.01308, allocations: 156 kB / 327.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.01339, allocations: 486.6 kB / 328 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.01389, allocations: 0.5184 MB / 328.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.01529, allocations: 2.104 MB / 330.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.01529, allocations: 0 / 330.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.01529, allocations: 0 / 330.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.456e-05/0.01537, allocations: 7.938 kB / 330.6 MB, free: 9.949 MB / 298.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.002773/0.01814, allocations: 1.637 MB / 332.3 MB, free: 8.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.01819, allocations: 12.92 kB / 332.3 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.01837, allocations: 177.3 kB / 332.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.01856, allocations: 148 kB / 332.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.01962, allocations: 0.8233 MB / 333.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.01968, allocations: 94.61 kB / 333.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.01979, allocations: 112.4 kB / 333.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.02168, allocations: 1.727 MB / 335.3 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.02169, allocations: 0 / 335.3 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.02176, allocations: 52 kB / 335.4 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.02178, allocations: 28 kB / 335.4 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.02326, allocations: 1.332 MB / 336.8 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004175/0.02744, allocations: 3.877 MB / 340.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000639/0.02808, allocations: 0.6185 MB / 341.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/0.02864, allocations: 0.4908 MB / 341.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.02866, allocations: 4.5 kB / 341.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.02869, allocations: 43.05 kB / 341.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 2.264e-06/0.02869, allocations: 7.938 kB / 341.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009462/0.02964, allocations: 0.8713 MB / 342.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.02967, allocations: 55.91 kB / 342.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006951/0.03036, allocations: 0.8282 MB / 343.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.03039, allocations: 37.7 kB / 343.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.03064, allocations: 0.5545 MB / 344.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.899e-05/0.03073, allocations: 182.5 kB / 344.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.03084, allocations: 106.3 kB / 344.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.03096, allocations: 386.7 kB / 344.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.03125, allocations: 305.1 kB / 345.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.03158, allocations: 399.3 kB / 345.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/0.0322, allocations: 0.6934 MB / 346.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.0322, allocations: 0 / 346.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007834/0.03299, allocations: 0.8249 MB / 347 MB, free: 9.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.033, allocations: 8 kB / 347 MB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.03301, allocations: 4 kB / 347 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.03303, allocations: 8 kB / 347 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.03337, allocations: 147.8 kB / 347.2 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.03337, allocations: 4 kB / 347.2 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.03358, allocations: 67.69 kB / 347.2 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.03361, allocations: 24 kB / 347.3 MB, free: 8.875 MB / 314.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.0004053/0.03401, allocations: 461.4 kB / 347.7 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.03408, allocations: 79.53 kB / 347.8 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.624e-05/0.03417, allocations: 87.08 kB / 347.9 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.03418, allocations: 7.938 kB / 347.9 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.03418, allocations: 4 kB / 347.9 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.03419, allocations: 3.984 kB / 347.9 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.03612, allocations: 1.829 MB / 349.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.03612, allocations: 0 / 349.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.03641, allocations: 124 kB / 349.8 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.03641, allocations: 8 kB / 349.9 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.03644, allocations: 12 kB / 349.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.03644, allocations: 7.984 kB / 349.9 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.03644, allocations: 0 / 349.9 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.03753, allocations: 1.124 MB / 351 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.03765, allocations: 95.42 kB / 351.1 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.03771, allocations: 20 kB / 351.1 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.03794, allocations: 43.95 kB / 351.2 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.03801, allocations: 40.42 kB / 351.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.03803, allocations: 19.94 kB / 351.2 MB, free: 4.816 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004807/0.03851, allocations: 0.5888 MB / 351.8 MB, free: 4.234 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03851, allocations: 0 / 351.8 MB, free: 4.234 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005108/0.03902, allocations: 291 kB / 352.1 MB, free: 3.949 MB / 314.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.001345/0.04037, allocations: 1.684 MB / 353.8 MB, free: 2.219 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006819/0.04105, allocations: 0.6349 MB / 354.4 MB, free: 1.582 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.04105, allocations: 0 / 354.4 MB, free: 1.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.04133, allocations: 310.6 kB / 354.7 MB, free: 1.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.04191, allocations: 190 kB / 354.9 MB, free: 1.098 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008373/0.05029, allocations: 8.488 MB / 363.4 MB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.05078, allocations: 0.7563 MB / 364.1 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003249/0.05111, allocations: 205.8 kB / 364.3 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.05145, allocations: 388.4 kB / 364.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.05145, allocations: 0 / 364.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.08088, allocations: 20.64 MB / 385.4 MB, free: 2.672 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.24, allocations: 3.188 kB / 385.4 MB, free: 2.672 MB / 346.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Polyphase.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_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.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.012550807558]