Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001287/0.001287, allocations: 116 kB / 20.43 MB, free: 1.457 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.001497/0.001497, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 51.92 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2866, allocations: 53.36 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01201/0.2986, allocations: 9.813 MB / 441 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.3051, allocations: 2.768 MB / 443.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.3071, allocations: 95.5 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.3175, allocations: 4.23 MB / 448 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004455/0.3219, allocations: 0.787 MB / 448.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.3248, allocations: 0.9784 MB / 449.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005585/0.3304, allocations: 4.089 MB / 453.9 MB, free: 4 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.3413, allocations: 7.125 MB / 461 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003538/0.3449, allocations: 2.424 MB / 463.5 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004415/0.3493, allocations: 2.655 MB / 466.1 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001446/0.3507, allocations: 0.6641 MB / 466.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.3529, allocations: 0.8943 MB / 467.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.3543, allocations: 1.239 MB / 468.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004097/0.3584, allocations: 2.564 MB / 471.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.3694, allocations: 8.925 MB / 480.4 MB, free: 5.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3694, allocations: 0 / 480.4 MB, free: 5.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3694, allocations: 0 / 480.4 MB, free: 5.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002234/0.3696, allocations: 0 / 480.4 MB, free: 5.336 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.01626/0.3859, allocations: 5.331 MB / 485.7 MB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.164e-05/0.386, allocations: 12.03 kB / 485.7 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001817/0.3878, allocations: 0.6499 MB / 486.4 MB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008039/0.3958, allocations: 1.321 MB / 487.7 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006797/0.4026, allocations: 2.609 MB / 490.3 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.403, allocations: 345.4 kB / 490.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/0.4047, allocations: 459.9 kB / 491.1 MB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.4208, allocations: 6.102 MB / 497.2 MB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001534/0.4209, allocations: 4 kB / 497.2 MB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/0.4221, allocations: 184 kB / 497.4 MB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002519/0.4223, allocations: 193.5 kB / 497.6 MB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.4343, allocations: 5.28 MB / 0.4911 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03953/0.4738, allocations: 20.24 MB / 0.5108 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005164/0.479, allocations: 2.108 MB / 0.5129 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.48, allocations: 0.5962 MB / 0.5135 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.4802, allocations: 44.94 kB / 0.5135 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.4802, allocations: 43.56 kB / 0.5136 GB, free: 7.102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.705e-06/0.4802, allocations: 0 / 0.5136 GB, free: 7.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.00249/0.4827, allocations: 1.44 MB / 0.515 GB, free: 5.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.4828, allocations: 64.41 kB / 0.515 GB, free: 5.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/0.4856, allocations: 1.462 MB / 0.5165 GB, free: 4.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.4856, allocations: 41.7 kB / 0.5165 GB, free: 4.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.4872, allocations: 2.041 MB / 0.5185 GB, free: 1.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.4876, allocations: 361.1 kB / 0.5188 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007076/0.4883, allocations: 479.9 kB / 0.5193 GB, free: 1.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4885, allocations: 361.8 kB / 0.5196 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.4898, allocations: 0.8124 MB / 0.5204 GB, free: 15.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.4919, allocations: 1.933 MB / 0.5223 GB, free: 13.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/0.4955, allocations: 2.931 MB / 0.5252 GB, free: 10.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.102e-05/0.4956, allocations: 16 kB / 0.5252 GB, free: 10 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004698/0.5003, allocations: 2.806 MB / 0.5279 GB, free: 7.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.539e-05/0.5003, allocations: 20 kB / 0.528 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.092e-05/0.5004, allocations: 43.94 kB / 0.528 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.097e-05/0.5005, allocations: 52 kB / 0.5281 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.5022, allocations: 0.5343 MB / 0.5286 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.769e-05/0.5022, allocations: 79.66 kB / 0.5286 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.5038, allocations: 310 kB / 0.5289 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.504, allocations: 124 kB / 0.5291 GB, free: 6.035 MB / 446.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.002679/0.5066, allocations: 1.671 MB / 0.5307 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/0.507, allocations: 131.1 kB / 0.5308 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.5093, allocations: 1.342 MB / 0.5321 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001358/0.5106, allocations: 0.9396 MB / 0.533 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5106, allocations: 0 / 0.533 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5106, allocations: 3.984 kB / 0.5331 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2319/0.7425, allocations: 11.11 MB / 0.5439 GB, free: 92.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/0.7426, allocations: 23.56 kB / 0.5439 GB, free: 92.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006659/0.7432, allocations: 207.3 kB / 0.5441 GB, free: 92.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.066e-05/0.7433, allocations: 27.59 kB / 0.5441 GB, free: 92.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/0.7433, allocations: 56.3 kB / 0.5442 GB, free: 92.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.268e-05/0.7433, allocations: 39.28 kB / 0.5442 GB, free: 92.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/0.7434, allocations: 31.59 kB / 0.5443 GB, free: 92.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.7456, allocations: 2.46 MB / 0.5467 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.7461, allocations: 260.3 kB / 0.5469 GB, free: 91.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.7463, allocations: 45.06 kB / 0.547 GB, free: 91.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006813/0.747, allocations: 61.61 kB / 0.547 GB, free: 91.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.7471, allocations: 138.4 kB / 0.5471 GB, free: 91.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/0.7472, allocations: 57.33 kB / 0.5472 GB, free: 91.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001086/0.7483, allocations: 0.9908 MB / 0.5482 GB, free: 90.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7483, allocations: 0 / 0.5482 GB, free: 90.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002367/0.7507, allocations: 0.9573 MB / 0.5491 GB, free: 90.73 MB / 446.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.002577/0.7532, allocations: 3.09 MB / 0.5521 GB, free: 88.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.7556, allocations: 1.805 MB / 0.5539 GB, free: 87.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/0.7556, allocations: 3.719 kB / 0.5539 GB, free: 87.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006093/0.7562, allocations: 0.558 MB / 0.5544 GB, free: 87.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.7583, allocations: 394.9 kB / 0.5548 GB, free: 87.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/0.7821, allocations: 19.6 MB / 0.5739 GB, free: 66.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/0.7843, allocations: 3.071 MB / 0.5769 GB, free: 63.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001517/0.7858, allocations: 0.811 MB / 0.5777 GB, free: 63.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.787, allocations: 1.261 MB / 0.579 GB, free: 61.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.787, allocations: 0 / 0.579 GB, free: 61.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07267/0.8597, allocations: 45.02 MB / 0.6229 GB, free: 16.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.55, allocations: 4.547 kB / 0.6229 GB, free: 16.95 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 17.08424107999963]