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.001894/0.001894, allocations: 123 kB / 17.79 MB, free: 5.281 MB / 14.72 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.002174/0.002174, allocations: 189.2 kB / 20.73 MB, free: 2.352 MB / 14.72 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 1.434/1.434, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001481/0.001481, allocations: 47.92 kB / 365.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.107, allocations: 52.15 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005959/0.113, allocations: 3.793 MB / 421.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1152, allocations: 0.997 MB / 422.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.1154, allocations: 31.75 kB / 422.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.1158, allocations: 158.8 kB / 422.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007789/0.1166, allocations: 298.4 kB / 423 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.1168, allocations: 119.8 kB / 423.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001671/0.1185, allocations: 1.409 MB / 424.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.1196, allocations: 0.9165 MB / 425.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008419/0.1204, allocations: 0.6542 MB / 426.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.1215, allocations: 0.7861 MB / 426.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.1217, allocations: 164 kB / 427.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.1219, allocations: 160 kB / 427.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004445/0.1223, allocations: 466.7 kB / 427.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007664/0.1231, allocations: 0.7427 MB / 428.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.1253, allocations: 2.075 MB / 430.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1253, allocations: 0 / 430.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1253, allocations: 0 / 430.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.633e-05/0.1254, allocations: 0 / 430.5 MB, free: 15.81 MB / 366.1 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.003434/0.1288, allocations: 1.729 MB / 432.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1289, allocations: 8.031 kB / 432.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/0.1291, allocations: 177.3 kB / 432.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.1294, allocations: 156 kB / 432.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.1308, allocations: 0.8857 MB / 433.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.889e-05/0.1309, allocations: 86.19 kB / 433.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.1311, allocations: 108 kB / 433.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.1336, allocations: 1.58 MB / 435.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.1337, allocations: 4 kB / 435.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.1338, allocations: 44 kB / 435.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.1338, allocations: 28 kB / 435.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.1361, allocations: 1.332 MB / 436.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006961/0.1431, allocations: 4.284 MB / 440.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.1444, allocations: 1.297 MB / 442.2 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008975/0.1453, allocations: 0.4983 MB / 442.7 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1453, allocations: 8.438 kB / 442.7 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.1454, allocations: 39 kB / 442.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.405e-06/0.1454, allocations: 0 / 442.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00154/0.1469, allocations: 0.8849 MB / 443.6 MB, free: 2.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.147, allocations: 59.84 kB / 443.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.148, allocations: 0.8204 MB / 444.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.1481, allocations: 37.64 kB / 444.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000478/0.1486, allocations: 0.5507 MB / 445.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.1487, allocations: 190.4 kB / 445.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.1489, allocations: 106.2 kB / 445.4 MB, free: 400 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.1491, allocations: 386.8 kB / 445.8 MB, free: 4 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1906/0.3397, allocations: 298 kB / 446.1 MB, free: 29.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.3402, allocations: 392.4 kB / 446.5 MB, free: 29.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.341, allocations: 0.6886 MB / 447.1 MB, free: 29.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.341, allocations: 0.7812 kB / 447.1 MB, free: 29.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001197/0.3422, allocations: 0.8285 MB / 448 MB, free: 29.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3422, allocations: 5.969 kB / 448 MB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3422, allocations: 4.875 kB / 448 MB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3423, allocations: 4.516 kB / 448 MB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.3428, allocations: 148.1 kB / 448.1 MB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3428, allocations: 8.031 kB / 448.1 MB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.3432, allocations: 66.09 kB / 448.2 MB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.3433, allocations: 17.47 kB / 448.2 MB, free: 29.19 MB / 366.1 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.0005571/0.3438, allocations: 463.3 kB / 448.7 MB, free: 29.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3439, allocations: 76.38 kB / 448.8 MB, free: 29.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.3441, allocations: 93.64 kB / 448.8 MB, free: 29.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3441, allocations: 5.5 kB / 448.8 MB, free: 29.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3441, allocations: 0 / 448.8 MB, free: 29.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3441, allocations: 6.844 kB / 448.9 MB, free: 29.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.3467, allocations: 1.94 MB / 450.8 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3467, allocations: 1.625 kB / 450.8 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.3471, allocations: 118.8 kB / 450.9 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3471, allocations: 3.406 kB / 450.9 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.3472, allocations: 16.72 kB / 450.9 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3472, allocations: 3.281 kB / 450.9 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3472, allocations: 1.031 kB / 450.9 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.3486, allocations: 1.131 MB / 452.1 MB, free: 28.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.3488, allocations: 175.5 kB / 452.2 MB, free: 28.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.3489, allocations: 14.66 kB / 452.3 MB, free: 28.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.3493, allocations: 53.58 kB / 452.3 MB, free: 28.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3494, allocations: 42.14 kB / 452.3 MB, free: 28.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.3494, allocations: 20.11 kB / 452.4 MB, free: 28.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000887/0.3503, allocations: 0.5859 MB / 453 MB, free: 28.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3503, allocations: 2.094 kB / 453 MB, free: 28.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007456/0.3511, allocations: 289.4 kB / 453.2 MB, free: 28.23 MB / 366.1 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.001601/0.3527, allocations: 1.68 MB / 454.9 MB, free: 27.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.3538, allocations: 0.631 MB / 455.5 MB, free: 27.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3538, allocations: 1.312 kB / 455.5 MB, free: 27.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.3542, allocations: 317.2 kB / 455.9 MB, free: 27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008638/0.3551, allocations: 178.8 kB / 456 MB, free: 26.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.3658, allocations: 8.517 MB / 464.6 MB, free: 23.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008916/0.3667, allocations: 1.336 MB / 465.9 MB, free: 22.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005873/0.3673, allocations: 206.1 kB / 466.1 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.3677, allocations: 387.8 kB / 466.5 MB, free: 21.87 MB / 366.1 MB Notification: Performance of SimCode: time 1.804e-06/0.3677, allocations: 0 / 466.5 MB, free: 21.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06648/0.4342, allocations: 19.2 MB / 485.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.188/9.622, allocations: 12 kB / 485.7 MB, free: 8.914 MB / 366.1 MB " [Timeout remaining time 650] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/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: 12.055835518985987]