Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001799/0.001799, allocations: 112 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.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.002187/0.002187, allocations: 184.6 kB / 23.72 MB, free: 4.699 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.512/1.512, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 43.92 kB / 370.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2978, allocations: 52.19 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.0111/0.3089, allocations: 9.18 MB / 431.8 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005539/0.3144, allocations: 2.604 MB / 434.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.3156, allocations: 79.62 kB / 434.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00848/0.324, allocations: 3.774 MB / 438.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.3278, allocations: 0.9205 MB / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.3302, allocations: 0.8117 MB / 440 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005342/0.3356, allocations: 3.657 MB / 443.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009419/0.345, allocations: 6.194 MB / 449.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003148/0.3481, allocations: 2.131 MB / 452 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003892/0.352, allocations: 2.391 MB / 454.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.3532, allocations: 0.582 MB / 455 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.3551, allocations: 0.8044 MB / 455.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.3562, allocations: 1.103 MB / 456.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002885/0.3591, allocations: 2.288 MB / 459.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009156/0.3683, allocations: 7.905 MB / 467.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3683, allocations: 0 / 467.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3683, allocations: 0 / 467.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001963/0.3685, allocations: 0 / 467.1 MB, free: 1.945 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.01326/0.3817, allocations: 4.861 MB / 471.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.3818, allocations: 12.03 kB / 471.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001226/0.383, allocations: 0.5884 MB / 472.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007415/0.3904, allocations: 1.29 MB / 473.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005469/0.3959, allocations: 2.305 MB / 476.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/0.3962, allocations: 320.4 kB / 476.4 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.3972, allocations: 412 kB / 476.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.4102, allocations: 5.465 MB / 482.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.4103, allocations: 3.953 kB / 482.3 MB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005719/0.4109, allocations: 172 kB / 482.5 MB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002232/0.4111, allocations: 180.6 kB / 482.6 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.4212, allocations: 4.8 MB / 487.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/0.4524, allocations: 18.53 MB / 0.4941 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/0.4563, allocations: 1.76 MB / 0.4958 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.4576, allocations: 0.7269 MB / 0.4965 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.4578, allocations: 36.95 kB / 0.4966 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.4578, allocations: 39.56 kB / 0.4966 GB, free: 7.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.116e-06/0.4578, allocations: 0 / 0.4966 GB, free: 7.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002506/0.4603, allocations: 1.554 MB / 0.4981 GB, free: 6.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.4604, allocations: 64.41 kB / 0.4982 GB, free: 6.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.4623, allocations: 1.334 MB / 0.4995 GB, free: 4.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.4624, allocations: 41.7 kB / 0.4995 GB, free: 4.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.4636, allocations: 1.827 MB / 0.5013 GB, free: 2.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.4639, allocations: 381 kB / 0.5017 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005898/0.4645, allocations: 447.7 kB / 0.5021 GB, free: 2.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4647, allocations: 361.8 kB / 0.5025 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.4659, allocations: 0.8279 MB / 0.5033 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.468, allocations: 1.812 MB / 0.505 GB, free: 14.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/0.4713, allocations: 2.798 MB / 0.5078 GB, free: 11.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/0.4714, allocations: 12 kB / 0.5078 GB, free: 11.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00422/0.4756, allocations: 2.739 MB / 0.5105 GB, free: 8.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.4756, allocations: 20 kB / 0.5105 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.547e-05/0.4757, allocations: 32 kB / 0.5105 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.856e-05/0.4757, allocations: 48 kB / 0.5106 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.4774, allocations: 0.5226 MB / 0.5111 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.64e-05/0.4774, allocations: 76.16 kB / 0.5111 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.4787, allocations: 298 kB / 0.5114 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.4789, allocations: 112 kB / 0.5115 GB, free: 7.414 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.002282/0.4811, allocations: 1.484 MB / 0.513 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.4814, allocations: 131.1 kB / 0.5131 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.4837, allocations: 1.458 MB / 0.5145 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001523/0.4852, allocations: 1.033 MB / 0.5155 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.4852, allocations: 0 / 0.5155 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.4852, allocations: 15.91 kB / 0.5155 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.5028, allocations: 10.94 MB / 0.5262 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.5028, allocations: 20 kB / 0.5263 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008283/0.5036, allocations: 231.7 kB / 0.5265 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-05/0.5037, allocations: 32 kB / 0.5265 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.504e-05/0.5038, allocations: 47.98 kB / 0.5265 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.601e-05/0.5038, allocations: 43.8 kB / 0.5266 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.551e-05/0.5038, allocations: 35.88 kB / 0.5266 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.5074, allocations: 2.652 MB / 0.5292 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/0.5082, allocations: 274.8 kB / 0.5295 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.5083, allocations: 47.98 kB / 0.5295 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.5091, allocations: 71.88 kB / 0.5296 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.5093, allocations: 147.4 kB / 0.5297 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.545e-05/0.5094, allocations: 59.98 kB / 0.5298 GB, free: 4.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.5108, allocations: 0.9062 MB / 0.5307 GB, free: 3.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5108, allocations: 0 / 0.5307 GB, free: 3.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002707/0.5135, allocations: 0.8871 MB / 0.5315 GB, free: 2.199 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.003935/0.5174, allocations: 3.309 MB / 0.5348 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003322/0.5207, allocations: 1.836 MB / 0.5366 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.162e-05/0.5207, allocations: 0 / 0.5366 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.5217, allocations: 0.6179 MB / 0.5372 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.5238, allocations: 332.4 kB / 0.5375 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2393/0.7631, allocations: 18.64 MB / 0.5557 GB, free: 116.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/0.7652, allocations: 2.803 MB / 0.5584 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001727/0.767, allocations: 0.7642 MB / 0.5592 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.7682, allocations: 1.137 MB / 0.5603 GB, free: 113.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.393e-06/0.7682, allocations: 0 / 0.5603 GB, free: 113.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/0.8403, allocations: 41.58 MB / 0.6009 GB, free: 77.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.19, allocations: 3.938 kB / 0.6009 GB, free: 77.07 MB / 462.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.790685127998586]