Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.001322/0.001322, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001408/0.001408, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1232, allocations: 53.32 MB / 426.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005566/0.1288, allocations: 3.813 MB / 430.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2486/0.3774, allocations: 1.071 MB / 431.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.3781, allocations: 28.41 kB / 431.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.3785, allocations: 160.7 kB / 431.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009527/0.3794, allocations: 303.7 kB / 431.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.3797, allocations: 136.7 kB / 431.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.3809, allocations: 1.414 MB / 433.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.382, allocations: 0.9107 MB / 434.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.3828, allocations: 0.6668 MB / 434.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.3839, allocations: 0.7955 MB / 435.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.3842, allocations: 160 kB / 435.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.3845, allocations: 162.3 kB / 435.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000508/0.385, allocations: 466.6 kB / 436.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008214/0.3858, allocations: 0.7475 MB / 437.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.3885, allocations: 2.08 MB / 439.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3885, allocations: 1.125 kB / 439.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3885, allocations: 0 / 439.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.058e-05/0.3886, allocations: 4 kB / 439.2 MB, free: 5.746 MB / 350.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.003704/0.3923, allocations: 1.73 MB / 440.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3923, allocations: 9.469 kB / 440.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002228/0.3926, allocations: 176.8 kB / 441.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.3931, allocations: 180.3 kB / 441.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.3946, allocations: 0.9138 MB / 442.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.3946, allocations: 86.97 kB / 442.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.3948, allocations: 114.2 kB / 442.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.3979, allocations: 1.573 MB / 444 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.3979, allocations: 1.031 kB / 444 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.398, allocations: 46.53 kB / 444 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.3981, allocations: 27.75 kB / 444 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.4007, allocations: 1.336 MB / 445.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007541/0.4083, allocations: 4.28 MB / 449.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.4095, allocations: 1.29 MB / 450.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009592/0.4105, allocations: 0.5006 MB / 451.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.4105, allocations: 5.594 kB / 451.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.4106, allocations: 38.66 kB / 451.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 3.397e-06/0.4106, allocations: 0 / 451.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001758/0.4123, allocations: 0.8832 MB / 452.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.4124, allocations: 56.28 kB / 452.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.4137, allocations: 0.8325 MB / 453.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.4138, allocations: 36.3 kB / 453.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.4142, allocations: 0.556 MB / 453.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.4144, allocations: 185.2 kB / 454 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.4146, allocations: 103.6 kB / 454.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.4148, allocations: 391.8 kB / 454.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.4153, allocations: 304.2 kB / 454.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.4158, allocations: 397.2 kB / 455.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.4169, allocations: 0.6892 MB / 455.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4169, allocations: 1.469 kB / 455.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001387/0.4183, allocations: 0.8248 MB / 456.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4183, allocations: 5.5 kB / 456.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4183, allocations: 4.25 kB / 456.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.4183, allocations: 5.375 kB / 456.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.419, allocations: 151.4 kB / 456.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.419, allocations: 4.469 kB / 456.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.4195, allocations: 67.75 kB / 456.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.4195, allocations: 25.12 kB / 457 MB, free: 11.96 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.0007298/0.4202, allocations: 465.4 kB / 457.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.4204, allocations: 82.52 kB / 457.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.4206, allocations: 88.2 kB / 457.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4206, allocations: 5.469 kB / 457.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.4206, allocations: 4.812 kB / 457.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.4206, allocations: 9.328 kB / 457.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.424, allocations: 1.936 MB / 459.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.424, allocations: 6.25 kB / 459.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.4245, allocations: 121 kB / 459.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.4245, allocations: 4.188 kB / 459.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.4246, allocations: 13.62 kB / 459.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.4246, allocations: 3.562 kB / 459.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4246, allocations: 1.344 kB / 459.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.4264, allocations: 1.13 MB / 460.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.4267, allocations: 173.2 kB / 461 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.4268, allocations: 17.55 kB / 461 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.4272, allocations: 51.11 kB / 461.1 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.4273, allocations: 38.23 kB / 461.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.4273, allocations: 21.11 kB / 461.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008555/0.4282, allocations: 0.5949 MB / 461.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4282, allocations: 4 kB / 461.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008966/0.4291, allocations: 285.3 kB / 462 MB, free: 8.926 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.002063/0.4311, allocations: 1.684 MB / 463.7 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.4323, allocations: 0.6337 MB / 464.3 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4323, allocations: 4 kB / 464.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004457/0.4328, allocations: 310.3 kB / 464.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009348/0.4337, allocations: 186 kB / 464.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.4467, allocations: 8.552 MB / 473.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.4478, allocations: 1.349 MB / 474.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005686/0.4484, allocations: 207.2 kB / 474.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.4489, allocations: 395.3 kB / 475.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4489, allocations: 0 / 475.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07475/0.5237, allocations: 19.3 MB / 494.6 MB, free: 10.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.115/9.639, allocations: 11.12 kB / 494.6 MB, free: 10.86 MB / 398.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.165544397008489]