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.0019/0.0019, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002321/0.002321, allocations: 207.6 kB / 23.72 MB, free: 4.391 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.002699/0.002699, allocations: 51.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2817, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01176/0.2934, allocations: 8.525 MB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005808/0.2992, allocations: 2.647 MB / 442.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.3006, allocations: 95.5 kB / 442.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009704/0.3103, allocations: 3.886 MB / 446.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.3134, allocations: 0.7687 MB / 447 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.316, allocations: 0.933 MB / 447.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005362/0.3213, allocations: 4.089 MB / 452 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.333, allocations: 7.05 MB / 459.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003705/0.3367, allocations: 2.412 MB / 461.5 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004286/0.341, allocations: 2.55 MB / 464 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.3425, allocations: 0.6679 MB / 464.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.3449, allocations: 0.8826 MB / 465.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001731/0.3466, allocations: 1.239 MB / 466.8 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003352/0.35, allocations: 1.992 MB / 468.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.36, allocations: 8.956 MB / 477.8 MB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.36, allocations: 7.984 kB / 477.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.36, allocations: 0 / 477.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001554/0.3602, allocations: 0 / 477.8 MB, free: 7.699 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.01355/0.3737, allocations: 5.334 MB / 483.1 MB, free: 2.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3738, allocations: 8.031 kB / 483.1 MB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001058/0.3748, allocations: 0.6578 MB / 483.8 MB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008013/0.3828, allocations: 1.317 MB / 485.1 MB, free: 324 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005825/0.3887, allocations: 2.61 MB / 487.7 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.389, allocations: 345.4 kB / 488.1 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008693/0.3898, allocations: 455.9 kB / 488.5 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.4015, allocations: 6.131 MB / 494.6 MB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.882e-05/0.4016, allocations: 4 kB / 494.6 MB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000445/0.402, allocations: 192 kB / 494.8 MB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.4022, allocations: 193.5 kB / 495 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009532/0.4117, allocations: 5.272 MB / 0.4886 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02939/0.4411, allocations: 18.6 MB / 0.5067 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005277/0.4464, allocations: 2.065 MB / 0.5087 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009752/0.4474, allocations: 0.5962 MB / 0.5093 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.4475, allocations: 44.89 kB / 0.5094 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.4476, allocations: 43.56 kB / 0.5094 GB, free: 11.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.737e-06/0.4476, allocations: 0 / 0.5094 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002305/0.4499, allocations: 1.437 MB / 0.5108 GB, free: 9.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4499, allocations: 64.41 kB / 0.5109 GB, free: 9.602 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.452, allocations: 1.531 MB / 0.5124 GB, free: 8.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.4521, allocations: 41.7 kB / 0.5124 GB, free: 8.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.4536, allocations: 2.041 MB / 0.5144 GB, free: 5.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.4539, allocations: 361.1 kB / 0.5147 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006402/0.4546, allocations: 479.9 kB / 0.5152 GB, free: 5.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.4547, allocations: 357.9 kB / 0.5155 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.4559, allocations: 0.8085 MB / 0.5163 GB, free: 3.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.4581, allocations: 1.948 MB / 0.5182 GB, free: 1.441 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/0.4617, allocations: 2.924 MB / 0.5211 GB, free: 13.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.4617, allocations: 15.98 kB / 0.5211 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004419/0.4661, allocations: 2.802 MB / 0.5238 GB, free: 11.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.4662, allocations: 30.86 kB / 0.5239 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.531e-05/0.4662, allocations: 40 kB / 0.5239 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.225e-05/0.4663, allocations: 52 kB / 0.524 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.4679, allocations: 0.5342 MB / 0.5245 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-05/0.468, allocations: 87.59 kB / 0.5246 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4693, allocations: 297.9 kB / 0.5248 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.4695, allocations: 132 kB / 0.525 GB, free: 9.984 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.002355/0.4718, allocations: 1.668 MB / 0.5266 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.4721, allocations: 131.1 kB / 0.5267 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.4742, allocations: 1.349 MB / 0.528 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00139/0.4756, allocations: 0.9396 MB / 0.529 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4756, allocations: 0 / 0.529 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4756, allocations: 3.984 kB / 0.529 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2008/0.6764, allocations: 10.99 MB / 0.5397 GB, free: 94.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/0.6765, allocations: 22 kB / 0.5397 GB, free: 94.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/0.6772, allocations: 217.6 kB / 0.5399 GB, free: 94.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/0.6772, allocations: 27.59 kB / 0.54 GB, free: 94.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.6772, allocations: 51.06 kB / 0.54 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.021e-05/0.6773, allocations: 35.33 kB / 0.54 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.42e-05/0.6773, allocations: 32.53 kB / 0.5401 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.6795, allocations: 2.46 MB / 0.5425 GB, free: 93.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.6801, allocations: 256.5 kB / 0.5427 GB, free: 93.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.6802, allocations: 45.17 kB / 0.5428 GB, free: 93.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.6809, allocations: 60.89 kB / 0.5428 GB, free: 93.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.681, allocations: 145.2 kB / 0.543 GB, free: 93.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.746e-05/0.6811, allocations: 53.73 kB / 0.543 GB, free: 93.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.6822, allocations: 0.9944 MB / 0.544 GB, free: 92.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6822, allocations: 0 / 0.544 GB, free: 92.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002163/0.6843, allocations: 0.9495 MB / 0.5449 GB, free: 92.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.002332/0.6867, allocations: 3.094 MB / 0.5479 GB, free: 90.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.6887, allocations: 1.802 MB / 0.5497 GB, free: 89.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.6887, allocations: 3.625 kB / 0.5497 GB, free: 89.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005642/0.6893, allocations: 0.5672 MB / 0.5502 GB, free: 89.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.6911, allocations: 372.9 kB / 0.5506 GB, free: 89.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/0.7103, allocations: 19.61 MB / 0.5698 GB, free: 70.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/0.7123, allocations: 2.529 MB / 0.5722 GB, free: 67.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001539/0.7138, allocations: 0.8153 MB / 0.573 GB, free: 66.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.7149, allocations: 1.253 MB / 0.5742 GB, free: 65.55 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7149, allocations: 0 / 0.5742 GB, free: 65.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06929/0.7842, allocations: 43.95 MB / 0.6172 GB, free: 21.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.18, allocations: 11.47 kB / 0.6172 GB, free: 21.96 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.725338283926249]