Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001763/0.001763, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002227/0.002227, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 51.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2644, allocations: 53.38 MB / 431.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01134/0.2758, allocations: 9.193 MB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005974/0.2817, allocations: 2.667 MB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.283, allocations: 71.69 kB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008662/0.2917, allocations: 3.779 MB / 446.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.2948, allocations: 0.7668 MB / 447.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.2972, allocations: 0.9556 MB / 448.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004635/0.3018, allocations: 3.65 MB / 452.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008744/0.3106, allocations: 6.187 MB / 458.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.3137, allocations: 2.139 MB / 460.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.3174, allocations: 2.387 MB / 462.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.3185, allocations: 0.582 MB / 463.5 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.3203, allocations: 0.8239 MB / 464.4 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.3214, allocations: 1.111 MB / 465.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00306/0.3245, allocations: 2.276 MB / 467.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.3349, allocations: 7.928 MB / 475.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3349, allocations: 0 / 475.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.3349, allocations: 0 / 475.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002763/0.3352, allocations: 0 / 475.7 MB, free: 10.13 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01273/0.348, allocations: 4.861 MB / 480.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.348, allocations: 16.03 kB / 480.5 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009354/0.3489, allocations: 0.5884 MB / 481.1 MB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007768/0.3567, allocations: 1.286 MB / 482.4 MB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004996/0.3617, allocations: 2.309 MB / 484.7 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.362, allocations: 312.4 kB / 485 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009086/0.3629, allocations: 416 kB / 485.4 MB, free: 264 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.3753, allocations: 5.481 MB / 490.9 MB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.3754, allocations: 3.984 kB / 490.9 MB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004773/0.3759, allocations: 172 kB / 491.1 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/0.3761, allocations: 176.6 kB / 491.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008993/0.3851, allocations: 4.808 MB / 496.1 MB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03046/0.4156, allocations: 18.55 MB / 0.5026 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003928/0.4195, allocations: 1.772 MB / 0.5043 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.4208, allocations: 0.7144 MB / 0.505 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.421, allocations: 60.91 kB / 0.505 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.421, allocations: 43.56 kB / 0.5051 GB, free: 15.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 2.845e-06/0.4211, allocations: 0 / 0.5051 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.002622/0.4237, allocations: 1.558 MB / 0.5066 GB, free: 14.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.4237, allocations: 60.41 kB / 0.5067 GB, free: 14.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.4257, allocations: 1.342 MB / 0.508 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/0.4258, allocations: 41.7 kB / 0.508 GB, free: 12.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.4271, allocations: 1.827 MB / 0.5098 GB, free: 10.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.4274, allocations: 381 kB / 0.5102 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006252/0.4281, allocations: 459.6 kB / 0.5106 GB, free: 10.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4283, allocations: 349.9 kB / 0.5109 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.4295, allocations: 0.8395 MB / 0.5118 GB, free: 8.941 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.4316, allocations: 1.812 MB / 0.5135 GB, free: 6.645 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/0.4354, allocations: 2.806 MB / 0.5163 GB, free: 3.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-05/0.4354, allocations: 12 kB / 0.5163 GB, free: 3.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004639/0.4401, allocations: 2.739 MB / 0.5189 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.4401, allocations: 20 kB / 0.519 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.312e-05/0.4402, allocations: 36 kB / 0.519 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.488e-05/0.4402, allocations: 48 kB / 0.519 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.442, allocations: 0.5264 MB / 0.5196 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-05/0.4421, allocations: 68.2 kB / 0.5196 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.4435, allocations: 298 kB / 0.5199 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.4436, allocations: 123.9 kB / 0.52 GB, free: 15.49 MB / 446.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.002325/0.446, allocations: 1.48 MB / 0.5215 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.4463, allocations: 127.2 kB / 0.5216 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.4487, allocations: 1.454 MB / 0.523 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001508/0.4502, allocations: 1.045 MB / 0.524 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4502, allocations: 0 / 0.524 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.4502, allocations: 3.984 kB / 0.524 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.22/0.6702, allocations: 11.07 MB / 0.5348 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.322e-05/0.6703, allocations: 23.31 kB / 0.5349 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.6714, allocations: 235 kB / 0.5351 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.633e-05/0.6714, allocations: 28.19 kB / 0.5351 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.6716, allocations: 49.97 kB / 0.5352 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.477e-05/0.6716, allocations: 45.14 kB / 0.5352 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-05/0.6717, allocations: 35.09 kB / 0.5352 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.6748, allocations: 2.672 MB / 0.5379 GB, free: 94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006054/0.6754, allocations: 270.3 kB / 0.5381 GB, free: 94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.6756, allocations: 49.83 kB / 0.5382 GB, free: 94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007399/0.6763, allocations: 69.12 kB / 0.5382 GB, free: 94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.6765, allocations: 147.3 kB / 0.5384 GB, free: 93.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.6766, allocations: 64.45 kB / 0.5384 GB, free: 93.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.6776, allocations: 0.9048 MB / 0.5393 GB, free: 93.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6776, allocations: 0 / 0.5393 GB, free: 93.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00213/0.6797, allocations: 0.8737 MB / 0.5402 GB, free: 93.71 MB / 446.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.003099/0.6828, allocations: 3.313 MB / 0.5434 GB, free: 91.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.6853, allocations: 1.846 MB / 0.5452 GB, free: 90.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/0.6853, allocations: 3.938 kB / 0.5452 GB, free: 90.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007193/0.686, allocations: 0.6224 MB / 0.5458 GB, free: 90.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.6879, allocations: 337 kB / 0.5461 GB, free: 90.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/0.7077, allocations: 18.61 MB / 0.5643 GB, free: 76.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.7096, allocations: 2.807 MB / 0.5671 GB, free: 74.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001405/0.711, allocations: 0.7584 MB / 0.5678 GB, free: 73.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.7121, allocations: 1.144 MB / 0.5689 GB, free: 72.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.7121, allocations: 0 / 0.5689 GB, free: 72.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06832/0.7804, allocations: 41.58 MB / 0.6095 GB, free: 31.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.25, allocations: 7.922 kB / 0.6095 GB, free: 31.37 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 16.7479017930018]