Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.0008557/0.0008557, 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.0008426/0.0008426, 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.8768/0.8768, allocations: 173.3 MB / 200.4 MB, free: 9.43 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.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 318.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.692e-05, allocations: 2.281 kB / 318.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00329/0.003307, allocations: 3.435 MB / 321.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.004808, allocations: 0.9307 MB / 322.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.005037, allocations: 27.81 kB / 322.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.005308, allocations: 162.8 kB / 323 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007488/0.006057, allocations: 302.1 kB / 323.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.00632, allocations: 123.8 kB / 323.4 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.007466, allocations: 1.439 MB / 324.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006321/0.008098, allocations: 0.6235 MB / 325.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009253/0.009023, allocations: 0.9239 MB / 326.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008814/0.009905, allocations: 0.7092 MB / 327.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.01011, allocations: 160 kB / 327.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.01029, allocations: 156 kB / 327.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002923/0.01058, allocations: 474.6 kB / 327.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004589/0.01104, allocations: 0.5106 MB / 328.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.01232, allocations: 2.068 MB / 330.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01232, allocations: 0 / 330.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01233, allocations: 0 / 330.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.725e-05/0.01235, allocations: 0 / 330.4 MB, free: 10.14 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001896/0.01425, allocations: 1.615 MB / 332.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.01429, allocations: 8.922 kB / 332.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.01444, allocations: 181.2 kB / 332.2 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.01459, allocations: 144 kB / 332.4 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009061/0.01549, allocations: 0.8155 MB / 333.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.01554, allocations: 82.59 kB / 333.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.01565, allocations: 112.4 kB / 333.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.01725, allocations: 1.699 MB / 335.1 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.01727, allocations: 3.938 kB / 335.1 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.01734, allocations: 44 kB / 335.1 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.01735, allocations: 28 kB / 335.2 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.01873, allocations: 1.312 MB / 336.5 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/0.02251, allocations: 3.795 MB / 340.3 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.02313, allocations: 0.6046 MB / 340.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.02358, allocations: 431.4 kB / 341.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.0236, allocations: 4.5 kB / 341.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.02363, allocations: 43 kB / 341.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.083e-06/0.02363, allocations: 0 / 341.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.00211/0.02574, allocations: 1.888 MB / 343.2 MB, free: 13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.02577, allocations: 55.91 kB / 343.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/0.02646, allocations: 0.8165 MB / 344.1 MB, free: 12.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.02649, allocations: 41.7 kB / 344.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.02674, allocations: 0.5506 MB / 344.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/0.02683, allocations: 182.5 kB / 344.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.02694, allocations: 106.3 kB / 345 MB, free: 11.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.02707, allocations: 386.7 kB / 345.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.02738, allocations: 305.1 kB / 345.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.02774, allocations: 404.2 kB / 346 MB, free: 10.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/0.02846, allocations: 0.702 MB / 346.7 MB, free: 9.355 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02846, allocations: 4 kB / 346.7 MB, free: 9.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009634/0.02943, allocations: 0.9152 MB / 347.7 MB, free: 8.426 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.02945, allocations: 8.312 kB / 347.7 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.02945, allocations: 8 kB / 347.7 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.02966, allocations: 108.8 kB / 347.8 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.03, allocations: 127.8 kB / 347.9 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.03162, allocations: 2.245 MB / 350.2 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.03189, allocations: 23.98 kB / 350.2 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.03192, allocations: 20 kB / 350.2 MB, free: 5.777 MB / 314.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.0005248/0.03245, allocations: 461.4 kB / 350.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.03252, allocations: 79.53 kB / 350.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.259e-05/0.0326, allocations: 87.08 kB / 350.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.03261, allocations: 8 kB / 350.8 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.03261, allocations: 4 kB / 350.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.03262, allocations: 7.984 kB / 350.8 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.03455, allocations: 1.889 MB / 352.7 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.03455, allocations: 0 / 352.7 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.03474, allocations: 91.83 kB / 352.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/0.03489, allocations: 108.9 kB / 352.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.03492, allocations: 20.14 kB / 352.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.03639, allocations: 2.191 MB / 355.1 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.03639, allocations: 4.031 kB / 355.1 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.03744, allocations: 1.211 MB / 356.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.03756, allocations: 91.53 kB / 356.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.03761, allocations: 12 kB / 356.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.03781, allocations: 52.02 kB / 356.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.03789, allocations: 44.36 kB / 356.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.03791, allocations: 19.98 kB / 356.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004963/0.0384, allocations: 0.5849 MB / 357.1 MB, free: 14.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.0384, allocations: 0 / 357.1 MB, free: 14.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.03891, allocations: 208 kB / 357.3 MB, free: 14.39 MB / 330.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.001246/0.04015, allocations: 1.751 MB / 359.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009029/0.04105, allocations: 0.8056 MB / 359.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.04106, allocations: 0 / 359.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006765/0.04173, allocations: 481.1 kB / 360.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.04228, allocations: 179.4 kB / 360.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008951/0.05124, allocations: 8.612 MB / 369.2 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.0518, allocations: 0.7486 MB / 369.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003485/0.05215, allocations: 181.8 kB / 370.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.05248, allocations: 384.4 kB / 370.5 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.05248, allocations: 4 kB / 370.5 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.08695, allocations: 21.09 MB / 391.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.691, allocations: 7.062 kB / 391.6 MB, free: 12.15 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Polyphase.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_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.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.45715958531946]