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.00132/0.00132, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001439/0.001439, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.465/1.465, allocations: 230.4 MB / 254.7 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 59.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1209, allocations: 53.38 MB / 427.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.2456/0.3666, allocations: 9.166 MB / 436.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.3718, allocations: 2.652 MB / 438.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.3736, allocations: 78.94 kB / 439 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007724/0.3813, allocations: 3.77 MB / 442.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.3854, allocations: 0.7455 MB / 443.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.3879, allocations: 0.9361 MB / 444.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005792/0.3937, allocations: 3.629 MB / 448 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.4056, allocations: 7.372 MB / 455.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.4099, allocations: 2.139 MB / 457.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005344/0.4152, allocations: 2.387 MB / 459.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001767/0.417, allocations: 0.5842 MB / 460.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.4203, allocations: 0.8144 MB / 461.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001809/0.4221, allocations: 1.113 MB / 462.4 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004326/0.4264, allocations: 2.285 MB / 464.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.4385, allocations: 7.917 MB / 472.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.4385, allocations: 1.375 kB / 472.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4385, allocations: 4 kB / 472.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003112/0.4389, allocations: 0 / 472.7 MB, free: 2.301 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.01789/0.4567, allocations: 4.94 MB / 477.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.4568, allocations: 12.03 kB / 477.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001188/0.4569, allocations: 108.6 kB / 477.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001327/0.4582, allocations: 0.5962 MB / 478.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008221/0.4665, allocations: 1.282 MB / 479.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/0.4725, allocations: 2.327 MB / 481.9 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/0.4728, allocations: 316.4 kB / 482.2 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001604/0.4744, allocations: 415.9 kB / 482.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/0.4869, allocations: 5.481 MB / 488.1 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.424e-05/0.487, allocations: 4 kB / 488.1 MB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004458/0.4874, allocations: 164 kB / 488.3 MB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000217/0.4876, allocations: 180.6 kB / 488.5 MB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.498, allocations: 4.808 MB / 493.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03667/0.5346, allocations: 19.34 MB / 0.5006 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005467/0.5401, allocations: 3.797 MB / 0.5043 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.5415, allocations: 0.7184 MB / 0.505 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/0.5417, allocations: 203.1 kB / 0.5052 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.5418, allocations: 51.36 kB / 0.5052 GB, free: 4.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.625e-06/0.5418, allocations: 0 / 0.5052 GB, free: 4.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002847/0.5446, allocations: 1.562 MB / 0.5068 GB, free: 3.395 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.5447, allocations: 64.41 kB / 0.5068 GB, free: 3.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.5472, allocations: 1.338 MB / 0.5081 GB, free: 1.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.408e-05/0.5473, allocations: 41.7 kB / 0.5082 GB, free: 1.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.5488, allocations: 1.831 MB / 0.51 GB, free: 68 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000443/0.5492, allocations: 381 kB / 0.5103 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007474/0.55, allocations: 463.5 kB / 0.5108 GB, free: 15.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5502, allocations: 349.9 kB / 0.5111 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.5516, allocations: 0.8357 MB / 0.5119 GB, free: 14.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.5539, allocations: 1.827 MB / 0.5137 GB, free: 11.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/0.5575, allocations: 2.798 MB / 0.5164 GB, free: 8.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-05/0.5575, allocations: 8 kB / 0.5164 GB, free: 8.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004714/0.5622, allocations: 2.739 MB / 0.5191 GB, free: 5.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.5623, allocations: 20 kB / 0.5191 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.312e-05/0.5623, allocations: 39.98 kB / 0.5192 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.567e-05/0.5624, allocations: 48.03 kB / 0.5192 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.5642, allocations: 0.5264 MB / 0.5197 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.421e-05/0.5642, allocations: 63.78 kB / 0.5198 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.5657, allocations: 294 kB / 0.5201 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.5659, allocations: 123.9 kB / 0.5202 GB, free: 4.598 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.002428/0.5683, allocations: 1.477 MB / 0.5216 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.5686, allocations: 131.1 kB / 0.5218 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.5711, allocations: 1.454 MB / 0.5232 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001529/0.5726, allocations: 1.042 MB / 0.5242 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5726, allocations: 0 / 0.5242 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.5726, allocations: 3.984 kB / 0.5242 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01849/0.5911, allocations: 13.76 MB / 0.5376 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/0.5911, allocations: 24 kB / 0.5377 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008246/0.5919, allocations: 227.6 kB / 0.5379 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.331e-05/0.592, allocations: 32 kB / 0.5379 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-05/0.5921, allocations: 51.98 kB / 0.538 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.171e-05/0.5921, allocations: 39.86 kB / 0.538 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.553e-05/0.5921, allocations: 31.88 kB / 0.538 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003603/0.5957, allocations: 2.671 MB / 0.5406 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007229/0.5964, allocations: 344 kB / 0.541 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.5966, allocations: 43.98 kB / 0.541 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/0.5974, allocations: 71.92 kB / 0.5411 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.5976, allocations: 151.3 kB / 0.5412 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/0.5977, allocations: 56 kB / 0.5413 GB, free: 13.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001486/0.5992, allocations: 0.9062 MB / 0.5422 GB, free: 12.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5992, allocations: 0 / 0.5422 GB, free: 12.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002956/0.6021, allocations: 0.8793 MB / 0.543 GB, free: 11.82 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.004196/0.6063, allocations: 3.316 MB / 0.5463 GB, free: 8.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003328/0.6096, allocations: 1.845 MB / 0.5481 GB, free: 6.348 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/0.6096, allocations: 4 kB / 0.5481 GB, free: 6.344 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.6107, allocations: 0.6174 MB / 0.5487 GB, free: 5.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.6128, allocations: 336.9 kB / 0.549 GB, free: 5.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03204/0.6448, allocations: 18.6 MB / 0.5672 GB, free: 1.086 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003059/0.6479, allocations: 2.809 MB / 0.5699 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001816/0.6497, allocations: 0.7616 MB / 0.5706 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/0.6513, allocations: 1.144 MB / 0.5718 GB, free: 12.33 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6513, allocations: 0 / 0.5718 GB, free: 12.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08221/0.7335, allocations: 39.71 MB / 0.6105 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.21, allocations: 19.44 kB / 0.6106 GB, free: 4.789 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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: 14.369395122979768]