Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.005994/0.005994, allocations: 101 kB / 21.96 MB, free: 5.207 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.001342/0.001342, allocations: 213.5 kB / 25.25 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 62.56 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2669, allocations: 49.16 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.007781/0.2747, allocations: 8.453 MB / 405.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.2806, allocations: 2.641 MB / 408.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.2822, allocations: 66.44 kB / 408.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007315/0.2895, allocations: 3.512 MB / 411.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.2931, allocations: 0.9219 MB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.2953, allocations: 0.9054 MB / 413.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004784/0.3001, allocations: 3.934 MB / 417.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008635/0.3087, allocations: 6.277 MB / 423.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.3121, allocations: 2.27 MB / 426.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.3163, allocations: 2.562 MB / 428.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.3174, allocations: 0.6016 MB / 429.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.3193, allocations: 0.8123 MB / 430.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.3204, allocations: 1.208 MB / 431.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002575/0.323, allocations: 1.895 MB / 433.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008784/0.3318, allocations: 8.194 MB / 441.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3318, allocations: 0 / 441.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3318, allocations: 0 / 441.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001927/0.332, allocations: 8 kB / 441.4 MB, free: 6.707 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01316/0.3452, allocations: 5.175 MB / 446.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.3452, allocations: 11.98 kB / 446.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001488/0.3454, allocations: 121.3 kB / 446.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001076/0.3464, allocations: 0.6455 MB / 447.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.3612, allocations: 2.581 MB / 449.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/0.3662, allocations: 2.161 MB / 452.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.3665, allocations: 341.1 kB / 452.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.3675, allocations: 444 kB / 452.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/0.3806, allocations: 6.139 MB / 459 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.3807, allocations: 7.953 kB / 459 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004738/0.3812, allocations: 180 kB / 459.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002296/0.3814, allocations: 213.3 kB / 459.4 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.392, allocations: 5.783 MB / 465.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03014/0.4222, allocations: 18.64 MB / 483.8 MB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005817/0.428, allocations: 2.699 MB / 486.5 MB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.4295, allocations: 0.8945 MB / 487.4 MB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005021/0.4345, allocations: 2.364 MB / 489.8 MB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4345, allocations: 38.8 kB / 489.8 MB, free: 5.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/0.4345, allocations: 0 / 489.8 MB, free: 5.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001127/0.4356, allocations: 0.646 MB / 490.5 MB, free: 5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4357, allocations: 55.41 kB / 490.5 MB, free: 4.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.4385, allocations: 1.987 MB / 492.5 MB, free: 2.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.4385, allocations: 33.7 kB / 492.5 MB, free: 2.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.4401, allocations: 2.272 MB / 494.8 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.4402, allocations: 151.1 kB / 494.9 MB, free: 464 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007899/0.441, allocations: 0.5514 MB / 495.5 MB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4412, allocations: 345.9 kB / 495.8 MB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.4424, allocations: 0.8715 MB / 496.7 MB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.445, allocations: 2.255 MB / 499 MB, free: 11.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/0.4491, allocations: 3.059 MB / 0.4903 GB, free: 8.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.899e-05/0.4492, allocations: 15.94 kB / 0.4903 GB, free: 7.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005346/0.4545, allocations: 3.138 MB / 0.4933 GB, free: 4.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.213e-05/0.4546, allocations: 31.91 kB / 0.4934 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.168e-05/0.4546, allocations: 48 kB / 0.4934 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.871e-05/0.4547, allocations: 64 kB / 0.4935 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.4565, allocations: 0.5888 MB / 0.494 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.232e-05/0.4566, allocations: 104.1 kB / 0.4941 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.4586, allocations: 413.2 kB / 0.4945 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.4588, allocations: 148 kB / 0.4947 GB, free: 3.465 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.002401/0.4612, allocations: 1.562 MB / 0.4962 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.4614, allocations: 139 kB / 0.4963 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009873/0.4624, allocations: 0.6058 MB / 0.4969 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000437/0.4629, allocations: 325.4 kB / 0.4972 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4629, allocations: 4 kB / 0.4972 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4629, allocations: 3.984 kB / 0.4972 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005699/0.4686, allocations: 3.727 MB / 0.5009 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.4686, allocations: 4 kB / 0.5009 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4688, allocations: 59.84 kB / 0.5009 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.4688, allocations: 8 kB / 0.501 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.4689, allocations: 12.59 kB / 0.501 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.4689, allocations: 11.92 kB / 0.501 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.4689, allocations: 12 kB / 0.501 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.4701, allocations: 0.8976 MB / 0.5019 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.4705, allocations: 195 kB / 0.5021 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.4706, allocations: 15.98 kB / 0.5021 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005623/0.4712, allocations: 39.95 kB / 0.5021 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.4713, allocations: 35.83 kB / 0.5021 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.4713, allocations: 12 kB / 0.5022 GB, free: 11.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001836/0.4731, allocations: 1.343 MB / 0.5035 GB, free: 10.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4731, allocations: 0 / 0.5035 GB, free: 10.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00254/0.4757, allocations: 0.9337 MB / 0.5044 GB, free: 9.289 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * 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.001727/0.4774, allocations: 1.481 MB / 0.5058 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002647/0.48, allocations: 1.587 MB / 0.5074 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.48, allocations: 4 kB / 0.5074 GB, free: 6.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.4803, allocations: 173.3 kB / 0.5075 GB, free: 5.965 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.4817, allocations: 301.5 kB / 0.5078 GB, free: 5.668 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02767/0.5094, allocations: 19.36 MB / 0.5267 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.5122, allocations: 2.346 MB / 0.529 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00192/0.5141, allocations: 0.7748 MB / 0.5298 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/0.5156, allocations: 1.214 MB / 0.531 GB, free: 12.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5156, allocations: 0 / 0.531 GB, free: 12.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2503/0.7659, allocations: 43.25 MB / 0.5732 GB, free: 143.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.84, allocations: 7.422 kB / 0.5732 GB, free: 143.6 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.563438565004617]