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.001939/0.001939, allocations: 118.6 kB / 18.5 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.002279/0.002279, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.471/1.471, allocations: 230.2 MB / 254.5 MB, free: 15.08 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 63.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1052, allocations: 53.33 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.2195/0.3247, allocations: 9.173 MB / 435.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005199/0.3299, allocations: 2.65 MB / 438.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.3314, allocations: 67.38 kB / 438.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008441/0.3398, allocations: 3.757 MB / 442.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.3434, allocations: 0.7525 MB / 443.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.3459, allocations: 0.9382 MB / 444 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004823/0.3507, allocations: 3.625 MB / 447.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.3615, allocations: 7.371 MB / 455 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003772/0.3652, allocations: 2.104 MB / 457.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004831/0.3701, allocations: 2.385 MB / 459.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001621/0.3717, allocations: 0.5853 MB / 460.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.3743, allocations: 0.8143 MB / 460.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.3756, allocations: 1.109 MB / 462 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004629/0.3803, allocations: 2.281 MB / 464.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.3907, allocations: 7.932 MB / 472.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3907, allocations: 0 / 472.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3907, allocations: 0 / 472.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002344/0.3909, allocations: 1.375 kB / 472.2 MB, free: 2.848 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.01548/0.4064, allocations: 4.941 MB / 477.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.4064, allocations: 12.03 kB / 477.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001297/0.4077, allocations: 0.5883 MB / 477.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008184/0.4159, allocations: 1.286 MB / 479 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006338/0.4223, allocations: 2.327 MB / 481.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.4226, allocations: 312.4 kB / 481.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/0.4238, allocations: 411.9 kB / 482.1 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01459/0.4384, allocations: 5.478 MB / 487.6 MB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.4385, allocations: 4 kB / 487.6 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004426/0.439, allocations: 176 kB / 487.7 MB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/0.4392, allocations: 184.6 kB / 487.9 MB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.4504, allocations: 4.808 MB / 492.7 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04011/0.4905, allocations: 19.33 MB / 0.5 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005665/0.4962, allocations: 3.801 MB / 0.5038 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.4977, allocations: 0.7241 MB / 0.5045 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003195/0.498, allocations: 199.2 kB / 0.5047 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.498, allocations: 55.48 kB / 0.5047 GB, free: 5.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.498e-06/0.498, allocations: 4 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.00298/0.501, allocations: 1.558 MB / 0.5062 GB, free: 4.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.5011, allocations: 60.41 kB / 0.5063 GB, free: 4.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.504, allocations: 1.342 MB / 0.5076 GB, free: 2.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.981e-05/0.5041, allocations: 49.64 kB / 0.5076 GB, free: 2.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.5058, allocations: 1.819 MB / 0.5094 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.5063, allocations: 377 kB / 0.5098 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009087/0.5072, allocations: 459.6 kB / 0.5102 GB, free: 40 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.5074, allocations: 353.9 kB / 0.5106 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.5089, allocations: 0.8318 MB / 0.5114 GB, free: 14.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.5114, allocations: 1.82 MB / 0.5131 GB, free: 12.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004105/0.5155, allocations: 2.798 MB / 0.5159 GB, free: 9.277 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.825e-05/0.5156, allocations: 8 kB / 0.5159 GB, free: 9.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005293/0.5209, allocations: 2.747 MB / 0.5186 GB, free: 6.516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.5209, allocations: 24.06 kB / 0.5186 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.049e-05/0.521, allocations: 36 kB / 0.5186 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.276e-05/0.5211, allocations: 44 kB / 0.5187 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.5229, allocations: 0.5226 MB / 0.5192 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.903e-05/0.523, allocations: 67.72 kB / 0.5192 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.5247, allocations: 302 kB / 0.5195 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/0.525, allocations: 116 kB / 0.5196 GB, free: 5.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.002788/0.5277, allocations: 1.484 MB / 0.5211 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.5281, allocations: 127.2 kB / 0.5212 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.5306, allocations: 1.455 MB / 0.5226 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001534/0.5321, allocations: 1.045 MB / 0.5237 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5321, allocations: 0 / 0.5237 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.5321, allocations: 7.969 kB / 0.5237 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/0.552, allocations: 13.76 MB / 0.5371 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-05/0.552, allocations: 27.94 kB / 0.5371 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008998/0.5529, allocations: 227.6 kB / 0.5373 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.448e-05/0.5529, allocations: 31.94 kB / 0.5374 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.553, allocations: 47.98 kB / 0.5374 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.832e-05/0.5531, allocations: 43.8 kB / 0.5375 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.296e-05/0.5531, allocations: 31.88 kB / 0.5375 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/0.5567, allocations: 2.679 MB / 0.5401 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007695/0.5575, allocations: 339.9 kB / 0.5404 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.5578, allocations: 43.98 kB / 0.5405 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008734/0.5587, allocations: 71.94 kB / 0.5405 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.5588, allocations: 143.4 kB / 0.5407 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.5589, allocations: 59.98 kB / 0.5407 GB, free: 14.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.5604, allocations: 0.91 MB / 0.5416 GB, free: 13.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5604, allocations: 0 / 0.5416 GB, free: 13.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00289/0.5633, allocations: 0.8871 MB / 0.5425 GB, free: 12.61 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.004119/0.5674, allocations: 3.297 MB / 0.5457 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003036/0.5705, allocations: 1.848 MB / 0.5475 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.5705, allocations: 4 kB / 0.5475 GB, free: 7.148 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009397/0.5714, allocations: 0.6183 MB / 0.5481 GB, free: 6.535 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.5735, allocations: 341 kB / 0.5484 GB, free: 6.211 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02922/0.6027, allocations: 18.58 MB / 0.5666 GB, free: 1.906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002963/0.6056, allocations: 2.809 MB / 0.5693 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001816/0.6075, allocations: 0.7615 MB / 0.5701 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/0.609, allocations: 1.144 MB / 0.5712 GB, free: 13.14 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.609, allocations: 0 / 0.5712 GB, free: 13.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07794/0.6869, allocations: 39.67 MB / 0.6099 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/11.08, allocations: 4.062 kB / 0.6099 GB, free: 5.645 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.896043493878096]