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.001478/0.001478, allocations: 124 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.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.001431/0.001431, allocations: 190.9 kB / 20.73 MB, free: 2.328 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.441/1.441, 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.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.002394/0.002394, allocations: 55.91 kB / 365.7 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.12, allocations: 52.13 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01183/0.1318, allocations: 9.77 MB / 427.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005698/0.1375, allocations: 2.698 MB / 430.3 MB, free: 108 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.1388, allocations: 91.56 kB / 430.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009356/0.1481, allocations: 4.222 MB / 434.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.1515, allocations: 0.9314 MB / 435.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.1537, allocations: 0.8139 MB / 436.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005004/0.1587, allocations: 4.074 MB / 440.4 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2442/0.4029, allocations: 8.483 MB / 448.9 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.4067, allocations: 2.398 MB / 451.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005096/0.4118, allocations: 2.654 MB / 453.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002647/0.4144, allocations: 0.6658 MB / 454.6 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.4177, allocations: 0.8781 MB / 455.5 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.4193, allocations: 1.249 MB / 456.7 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00441/0.4237, allocations: 2.562 MB / 459.3 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.4347, allocations: 8.907 MB / 468.2 MB, free: 5.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.4347, allocations: 1.094 kB / 468.2 MB, free: 5.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4347, allocations: 0 / 468.2 MB, free: 5.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003174/0.435, allocations: 0 / 468.2 MB, free: 5.547 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.02005/0.4551, allocations: 5.406 MB / 473.6 MB, free: 2.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.4552, allocations: 9.188 kB / 473.6 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003153/0.4583, allocations: 0.6569 MB / 474.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008571/0.4669, allocations: 1.314 MB / 475.6 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006509/0.4734, allocations: 2.618 MB / 478.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/0.4738, allocations: 349.4 kB / 478.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001888/0.4757, allocations: 457.4 kB / 479 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.491, allocations: 6.092 MB / 485.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.4911, allocations: 7.953 kB / 485.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007145/0.4918, allocations: 188.9 kB / 485.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/0.492, allocations: 195.2 kB / 485.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.5038, allocations: 5.27 MB / 490.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03685/0.5406, allocations: 20.79 MB / 0.4995 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007118/0.5478, allocations: 5.483 MB / 0.5049 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.549, allocations: 0.5988 MB / 0.5055 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.5491, allocations: 110 kB / 0.5056 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.5492, allocations: 43.12 kB / 0.5056 GB, free: 12.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 2.916e-06/0.5492, allocations: 0 / 0.5056 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002419/0.5516, allocations: 1.433 MB / 0.507 GB, free: 11.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.5517, allocations: 64.34 kB / 0.5071 GB, free: 11.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.5541, allocations: 1.469 MB / 0.5085 GB, free: 9.602 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.637e-05/0.5542, allocations: 37.7 kB / 0.5085 GB, free: 9.559 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.5557, allocations: 2.037 MB / 0.5105 GB, free: 7.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.556, allocations: 371.8 kB / 0.5109 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007372/0.5568, allocations: 479.8 kB / 0.5113 GB, free: 6.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.557, allocations: 353.9 kB / 0.5117 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.5583, allocations: 0.808 MB / 0.5125 GB, free: 5.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.5607, allocations: 1.939 MB / 0.5144 GB, free: 3.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/0.5644, allocations: 2.928 MB / 0.5172 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.814e-05/0.5644, allocations: 12 kB / 0.5172 GB, free: 15.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004508/0.5689, allocations: 2.794 MB / 0.52 GB, free: 13.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.569, allocations: 20.94 kB / 0.52 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-05/0.569, allocations: 40 kB / 0.52 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.797e-05/0.5691, allocations: 52 kB / 0.5201 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.5707, allocations: 0.5457 MB / 0.5206 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.784e-05/0.5708, allocations: 77.88 kB / 0.5207 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.5722, allocations: 290 kB / 0.521 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.5724, allocations: 127.7 kB / 0.5211 GB, free: 12.07 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.002812/0.5752, allocations: 1.675 MB / 0.5227 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.5755, allocations: 135.1 kB / 0.5228 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.5777, allocations: 1.335 MB / 0.5241 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00134/0.579, allocations: 0.9314 MB / 0.5251 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.579, allocations: 0 / 0.5251 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.579, allocations: 7.984 kB / 0.5251 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.596, allocations: 12.2 MB / 0.537 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/0.596, allocations: 20 kB / 0.537 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/0.5968, allocations: 214 kB / 0.5372 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.847e-05/0.5968, allocations: 26.3 kB / 0.5372 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.5969, allocations: 47.98 kB / 0.5373 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-05/0.5969, allocations: 38.58 kB / 0.5373 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.518e-05/0.5969, allocations: 38.72 kB / 0.5374 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.6001, allocations: 2.449 MB / 0.5397 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/0.6007, allocations: 323.9 kB / 0.5401 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.6009, allocations: 59.91 kB / 0.5401 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.6016, allocations: 59.95 kB / 0.5402 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.6017, allocations: 130.2 kB / 0.5403 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.6018, allocations: 52 kB / 0.5403 GB, free: 7.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001572/0.6034, allocations: 0.9916 MB / 0.5413 GB, free: 6.664 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6034, allocations: 0 / 0.5413 GB, free: 6.664 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003091/0.6065, allocations: 0.9569 MB / 0.5422 GB, free: 5.703 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.003887/0.6104, allocations: 3.091 MB / 0.5453 GB, free: 2.367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003122/0.6135, allocations: 1.796 MB / 0.547 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/0.6135, allocations: 4.062 kB / 0.547 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008642/0.6144, allocations: 0.5598 MB / 0.5476 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.6168, allocations: 374.2 kB / 0.5479 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03462/0.6514, allocations: 19.65 MB / 0.5671 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003647/0.6551, allocations: 3.075 MB / 0.5701 GB, free: 7.484 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001924/0.657, allocations: 0.8055 MB / 0.5709 GB, free: 6.672 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/0.6587, allocations: 1.261 MB / 0.5721 GB, free: 5.414 MB / 478.1 MB Notification: Performance of SimCode: time 1.543e-06/0.6587, allocations: 0 / 0.5721 GB, free: 5.414 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09031/0.749, allocations: 43.06 MB / 0.6142 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.96, allocations: 4.062 kB / 0.6142 GB, free: 10.62 MB / 0.5137 GB " [Timeout remaining time 649] (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: 13.452731611207128]