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.001297/0.001297, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001284/0.001284, allocations: 188.4 kB / 24.49 MB, free: 3.957 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.371/1.371, allocations: 225.7 MB / 253.3 MB, free: 12.84 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 47.94 kB / 371.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2438, allocations: 52.18 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01014/0.254, allocations: 7.987 MB / 431.4 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005082/0.2591, allocations: 2.464 MB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2603, allocations: 79.69 kB / 433.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007925/0.2682, allocations: 3.479 MB / 437.4 MB, free: 352 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.2714, allocations: 0.8933 MB / 438.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.2735, allocations: 0.7712 MB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004968/0.2785, allocations: 3.657 MB / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008954/0.2874, allocations: 6.191 MB / 448.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.2903, allocations: 2.139 MB / 451 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003483/0.2938, allocations: 2.387 MB / 453.4 MB, free: 188 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009607/0.2948, allocations: 0.586 MB / 454 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.2964, allocations: 0.7927 MB / 454.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.2974, allocations: 1.111 MB / 455.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.2996, allocations: 1.771 MB / 457.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008326/0.3079, allocations: 7.947 MB / 465.6 MB, free: 3.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3079, allocations: 3.984 kB / 465.6 MB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3079, allocations: 3.938 kB / 465.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001849/0.3081, allocations: 0 / 465.6 MB, free: 3.934 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.01361/0.3217, allocations: 4.854 MB / 470.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3217, allocations: 8.031 kB / 470.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001413/0.3219, allocations: 112.6 kB / 470.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.3229, allocations: 0.5962 MB / 471.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007236/0.3302, allocations: 1.282 MB / 472.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/0.3345, allocations: 2.309 MB / 474.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.3348, allocations: 316.4 kB / 475.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009163/0.3357, allocations: 411.9 kB / 475.5 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.3462, allocations: 5.498 MB / 481 MB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.782e-05/0.3463, allocations: 11.94 kB / 481 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004003/0.3467, allocations: 164 kB / 481.2 MB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/0.3469, allocations: 180.6 kB / 481.3 MB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008889/0.3558, allocations: 4.792 MB / 486.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02706/0.3829, allocations: 17.06 MB / 0.4914 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/0.3867, allocations: 1.737 MB / 0.4931 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.3879, allocations: 0.7106 MB / 0.4938 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.3881, allocations: 40.81 kB / 0.4938 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.3881, allocations: 43.5 kB / 0.4939 GB, free: 11.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.376e-06/0.3881, allocations: 3.938 kB / 0.4939 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002493/0.3906, allocations: 1.562 MB / 0.4954 GB, free: 9.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.3907, allocations: 64.41 kB / 0.4955 GB, free: 9.434 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.3926, allocations: 1.334 MB / 0.4968 GB, free: 8.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/0.3927, allocations: 41.7 kB / 0.4968 GB, free: 8.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.394, allocations: 1.827 MB / 0.4986 GB, free: 6.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.3943, allocations: 377 kB / 0.499 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006248/0.3949, allocations: 447.7 kB / 0.4994 GB, free: 5.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3951, allocations: 353.9 kB / 0.4997 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.3963, allocations: 0.8318 MB / 0.5005 GB, free: 4.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.3984, allocations: 1.819 MB / 0.5023 GB, free: 1.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/0.4018, allocations: 2.794 MB / 0.505 GB, free: 14.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/0.4018, allocations: 12 kB / 0.505 GB, free: 14.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004236/0.4061, allocations: 2.743 MB / 0.5077 GB, free: 11.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.4061, allocations: 20 kB / 0.5077 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/0.4062, allocations: 32 kB / 0.5078 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.582e-05/0.4062, allocations: 48 kB / 0.5078 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4078, allocations: 0.5226 MB / 0.5083 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.195e-05/0.4079, allocations: 67.78 kB / 0.5084 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.4091, allocations: 298 kB / 0.5087 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.4093, allocations: 112 kB / 0.5088 GB, free: 10.76 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.002198/0.4115, allocations: 1.488 MB / 0.5102 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.4117, allocations: 127.2 kB / 0.5104 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.4141, allocations: 1.458 MB / 0.5118 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001558/0.4156, allocations: 1.037 MB / 0.5128 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.4156, allocations: 0 / 0.5128 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.4156, allocations: 7.922 kB / 0.5128 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.4314, allocations: 10.82 MB / 0.5234 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/0.4315, allocations: 20.19 kB / 0.5234 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007929/0.4323, allocations: 239.5 kB / 0.5236 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-05/0.4323, allocations: 24 kB / 0.5236 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.203e-05/0.4324, allocations: 55.94 kB / 0.5237 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.182e-05/0.4324, allocations: 39.84 kB / 0.5237 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.286e-05/0.4324, allocations: 35.81 kB / 0.5238 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.4359, allocations: 2.656 MB / 0.5264 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/0.4365, allocations: 266.8 kB / 0.5266 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.4366, allocations: 47.98 kB / 0.5267 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/0.4374, allocations: 71.94 kB / 0.5267 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.4375, allocations: 143.3 kB / 0.5269 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.454e-05/0.4376, allocations: 59.98 kB / 0.5269 GB, free: 7.484 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001265/0.4389, allocations: 0.9061 MB / 0.5278 GB, free: 6.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4389, allocations: 0 / 0.5278 GB, free: 6.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002444/0.4413, allocations: 0.8871 MB / 0.5287 GB, free: 5.68 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.004084/0.4454, allocations: 3.309 MB / 0.5319 GB, free: 2.055 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002946/0.4484, allocations: 1.836 MB / 0.5337 GB, free: 224 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.187e-05/0.4484, allocations: 4 kB / 0.5337 GB, free: 220 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009022/0.4493, allocations: 0.6093 MB / 0.5343 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.4513, allocations: 333.5 kB / 0.5346 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2298/0.6811, allocations: 18.64 MB / 0.5528 GB, free: 119.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/0.6835, allocations: 2.254 MB / 0.555 GB, free: 119.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001474/0.685, allocations: 0.7614 MB / 0.5558 GB, free: 119.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.6861, allocations: 1.149 MB / 0.5569 GB, free: 118.1 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6861, allocations: 0 / 0.5569 GB, free: 118.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06342/0.7495, allocations: 41.15 MB / 0.5971 GB, free: 81.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.59, allocations: 15.44 kB / 0.5971 GB, free: 81.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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.270499094040133]