Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001322/0.001322, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001402/0.001402, allocations: 193.7 kB / 23.71 MB, free: 4.406 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.407/1.407, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.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.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 52.02 kB / 370.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2145, allocations: 52.17 MB / 422.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01088/0.2254, allocations: 8.515 MB / 431.1 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004902/0.2303, allocations: 2.581 MB / 433.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007292/0.231, allocations: 91.56 kB / 433.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009018/0.2401, allocations: 3.903 MB / 437.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.2428, allocations: 0.9201 MB / 438.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.2447, allocations: 0.7945 MB / 439.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004435/0.2491, allocations: 4.093 MB / 443.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009877/0.259, allocations: 7.043 MB / 450.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.2624, allocations: 2.408 MB / 452.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003691/0.2661, allocations: 2.55 MB / 455.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009419/0.267, allocations: 0.6641 MB / 456.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.2686, allocations: 0.8747 MB / 457 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.2697, allocations: 1.235 MB / 458.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0023/0.272, allocations: 1.985 MB / 460.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008795/0.2808, allocations: 8.952 MB / 469.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2808, allocations: 0 / 469.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2808, allocations: 0 / 469.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001241/0.2809, allocations: 4 kB / 469.2 MB, free: 15.65 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01212/0.293, allocations: 5.331 MB / 474.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2931, allocations: 12.03 kB / 474.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009286/0.294, allocations: 0.65 MB / 475.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007389/0.3014, allocations: 1.313 MB / 476.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005619/0.307, allocations: 2.606 MB / 479.1 MB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003127/0.3073, allocations: 349.4 kB / 479.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008105/0.3081, allocations: 452 kB / 479.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.3196, allocations: 6.127 MB / 486 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-05/0.3197, allocations: 3.953 kB / 486 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004403/0.3201, allocations: 188 kB / 486.2 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001964/0.3203, allocations: 193.5 kB / 486.4 MB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00952/0.3299, allocations: 5.264 MB / 491.6 MB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/0.3582, allocations: 18.58 MB / 0.4983 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.3633, allocations: 2.078 MB / 0.5003 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009483/0.3642, allocations: 0.604 MB / 0.5009 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.3643, allocations: 24.98 kB / 0.5009 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3644, allocations: 39.56 kB / 0.5009 GB, free: 3.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.035e-06/0.3644, allocations: 4 kB / 0.501 GB, free: 3.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002205/0.3666, allocations: 1.429 MB / 0.5023 GB, free: 1.684 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.3666, allocations: 64.39 kB / 0.5024 GB, free: 1.605 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.3686, allocations: 1.523 MB / 0.5039 GB, free: 72 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.3687, allocations: 45.64 kB / 0.5039 GB, free: 20 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.3702, allocations: 2.041 MB / 0.5059 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.3705, allocations: 365.1 kB / 0.5063 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006859/0.3712, allocations: 479.9 kB / 0.5067 GB, free: 13.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3714, allocations: 357.9 kB / 0.5071 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.3726, allocations: 0.8046 MB / 0.5079 GB, free: 11.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.3747, allocations: 1.945 MB / 0.5098 GB, free: 9.457 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003479/0.3782, allocations: 2.92 MB / 0.5126 GB, free: 5.992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/0.3782, allocations: 12 kB / 0.5126 GB, free: 5.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00426/0.3825, allocations: 2.798 MB / 0.5154 GB, free: 3.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.3825, allocations: 22.81 kB / 0.5154 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.427e-05/0.3825, allocations: 40 kB / 0.5154 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.016e-05/0.3826, allocations: 52 kB / 0.5155 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.3842, allocations: 0.542 MB / 0.516 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.751e-05/0.3843, allocations: 76.22 kB / 0.5161 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.3857, allocations: 305.9 kB / 0.5164 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.3859, allocations: 120 kB / 0.5165 GB, free: 2.027 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002527/0.3884, allocations: 1.671 MB / 0.5181 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.3886, allocations: 135.1 kB / 0.5182 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.3908, allocations: 1.338 MB / 0.5195 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001349/0.3921, allocations: 0.9279 MB / 0.5205 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3921, allocations: 4 kB / 0.5205 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3922, allocations: 3.984 kB / 0.5205 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.4082, allocations: 10.91 MB / 0.5311 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.4082, allocations: 20 kB / 0.5311 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/0.409, allocations: 208.5 kB / 0.5313 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.689e-05/0.409, allocations: 24 kB / 0.5314 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.4091, allocations: 51.94 kB / 0.5314 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.014e-05/0.4091, allocations: 35.86 kB / 0.5314 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.286e-05/0.4091, allocations: 31.81 kB / 0.5315 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/0.4124, allocations: 2.463 MB / 0.5339 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/0.4131, allocations: 258.8 kB / 0.5341 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.4133, allocations: 47.92 kB / 0.5342 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006958/0.414, allocations: 68.02 kB / 0.5342 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.4141, allocations: 131.4 kB / 0.5344 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.4142, allocations: 56 kB / 0.5344 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001369/0.4156, allocations: 0.9877 MB / 0.5354 GB, free: 14.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4156, allocations: 0 / 0.5354 GB, free: 14.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002586/0.4182, allocations: 0.9569 MB / 0.5363 GB, free: 13.07 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003756/0.422, allocations: 3.088 MB / 0.5393 GB, free: 9.691 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002808/0.4248, allocations: 1.795 MB / 0.5411 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.4248, allocations: 0 / 0.5411 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008043/0.4256, allocations: 0.5586 MB / 0.5416 GB, free: 7.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.4277, allocations: 384 kB / 0.542 GB, free: 6.969 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.198/0.6257, allocations: 19.63 MB / 0.5612 GB, free: 113.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/0.6277, allocations: 2.525 MB / 0.5636 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001448/0.6292, allocations: 0.8132 MB / 0.5644 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.6302, allocations: 1.254 MB / 0.5656 GB, free: 110.9 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6302, allocations: 0 / 0.5656 GB, free: 110.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06562/0.6958, allocations: 43.82 MB / 0.6084 GB, free: 67.92 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.09, allocations: 11.86 kB / 0.6084 GB, free: 67.91 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_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_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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: 15.524419345892966]