Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001841/0.001841, allocations: 124.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002168/0.002168, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1093, allocations: 53.38 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.2235/0.3327, allocations: 9.174 MB / 435.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005407/0.3381, allocations: 2.65 MB / 438.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.3399, allocations: 79.59 kB / 438.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007831/0.3477, allocations: 3.763 MB / 442 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003267/0.351, allocations: 0.7512 MB / 442.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.3535, allocations: 0.9353 MB / 443.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006121/0.3596, allocations: 3.625 MB / 447.3 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01325/0.3729, allocations: 7.372 MB / 454.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004281/0.3772, allocations: 2.138 MB / 456.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005487/0.3826, allocations: 2.384 MB / 459.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002334/0.385, allocations: 0.5845 MB / 459.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004461/0.3894, allocations: 0.8114 MB / 460.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003386/0.3928, allocations: 1.109 MB / 461.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006721/0.3996, allocations: 2.289 MB / 464 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.4134, allocations: 7.927 MB / 471.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.4135, allocations: 1.375 kB / 472 MB, free: 2.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4135, allocations: 0 / 472 MB, free: 2.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002151/0.4137, allocations: 0 / 472 MB, free: 2.332 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01466/0.4283, allocations: 4.934 MB / 476.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4284, allocations: 8.031 kB / 476.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001714/0.4301, allocations: 0.5962 MB / 477.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008548/0.4386, allocations: 1.286 MB / 478.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005166/0.4438, allocations: 2.327 MB / 481.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/0.4441, allocations: 316.4 kB / 481.4 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.4454, allocations: 415.9 kB / 481.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/0.4593, allocations: 5.481 MB / 487.3 MB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.4594, allocations: 4 kB / 487.3 MB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009/0.4603, allocations: 168 kB / 487.5 MB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000224/0.4605, allocations: 181.8 kB / 487.6 MB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.4715, allocations: 4.812 MB / 492.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03516/0.5067, allocations: 19.33 MB / 0.4998 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005408/0.5121, allocations: 3.801 MB / 0.5035 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.5135, allocations: 0.7223 MB / 0.5042 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.5138, allocations: 207.1 kB / 0.5044 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.5138, allocations: 43.56 kB / 0.5044 GB, free: 5.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.765e-06/0.5138, allocations: 0 / 0.5044 GB, free: 5.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002798/0.5166, allocations: 1.562 MB / 0.506 GB, free: 3.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.5167, allocations: 60.41 kB / 0.506 GB, free: 3.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.5191, allocations: 1.342 MB / 0.5073 GB, free: 2.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.904e-05/0.5192, allocations: 45.7 kB / 0.5074 GB, free: 2.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.5207, allocations: 1.819 MB / 0.5092 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/0.5211, allocations: 389 kB / 0.5095 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00074/0.5218, allocations: 459.6 kB / 0.51 GB, free: 15.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.522, allocations: 349.7 kB / 0.5103 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.5234, allocations: 0.8317 MB / 0.5111 GB, free: 14.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/0.5256, allocations: 1.823 MB / 0.5129 GB, free: 11.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/0.5293, allocations: 2.802 MB / 0.5156 GB, free: 8.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.102e-05/0.5293, allocations: 11.94 kB / 0.5156 GB, free: 8.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00496/0.5343, allocations: 2.743 MB / 0.5183 GB, free: 5.875 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.5343, allocations: 20 kB / 0.5183 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-05/0.5344, allocations: 32 kB / 0.5184 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.269e-05/0.5345, allocations: 52.98 kB / 0.5184 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.5363, allocations: 0.5225 MB / 0.5189 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.544e-05/0.5364, allocations: 67.73 kB / 0.519 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.5379, allocations: 302.3 kB / 0.5193 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.5381, allocations: 115.9 kB / 0.5194 GB, free: 4.773 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.002589/0.5407, allocations: 1.48 MB / 0.5208 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.541, allocations: 123.2 kB / 0.521 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.5436, allocations: 1.459 MB / 0.5224 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001588/0.5452, allocations: 1.045 MB / 0.5234 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5452, allocations: 0 / 0.5234 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5452, allocations: 3.984 kB / 0.5234 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02033/0.5655, allocations: 13.77 MB / 0.5368 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.059e-05/0.5656, allocations: 20 kB / 0.5369 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/0.5665, allocations: 231.6 kB / 0.5371 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.63e-05/0.5665, allocations: 28 kB / 0.5371 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.5666, allocations: 47.98 kB / 0.5372 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.199e-05/0.5667, allocations: 43.8 kB / 0.5372 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-05/0.5667, allocations: 31.88 kB / 0.5372 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/0.5706, allocations: 2.679 MB / 0.5399 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007808/0.5714, allocations: 335.9 kB / 0.5402 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/0.5717, allocations: 47.98 kB / 0.5402 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009833/0.5727, allocations: 71.94 kB / 0.5403 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.5729, allocations: 139.4 kB / 0.5404 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.573, allocations: 67.92 kB / 0.5405 GB, free: 13.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001636/0.5747, allocations: 0.9062 MB / 0.5414 GB, free: 12.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5747, allocations: 0 / 0.5414 GB, free: 12.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003439/0.5781, allocations: 0.8754 MB / 0.5422 GB, free: 11.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.004556/0.5827, allocations: 3.313 MB / 0.5455 GB, free: 8.359 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003418/0.5861, allocations: 1.843 MB / 0.5473 GB, free: 6.516 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/0.5861, allocations: 4 kB / 0.5473 GB, free: 6.512 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.5871, allocations: 0.6235 MB / 0.5479 GB, free: 5.895 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.5894, allocations: 335.8 kB / 0.5482 GB, free: 5.574 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/0.622, allocations: 18.6 MB / 0.5664 GB, free: 1.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004145/0.6262, allocations: 2.805 MB / 0.5691 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001912/0.6281, allocations: 0.7616 MB / 0.5698 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/0.63, allocations: 1.151 MB / 0.571 GB, free: 12.49 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.63, allocations: 0 / 0.571 GB, free: 12.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08491/0.7149, allocations: 39.67 MB / 0.6097 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/11.1, allocations: 10.7 kB / 0.6097 GB, free: 4.977 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.91749472799711]