Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001775/0.001775, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001907/0.001907, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.43/1.43, allocations: 230.5 MB / 258.1 MB, free: 8.012 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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.89 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2222, allocations: 53.41 MB / 432.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01277/0.235, allocations: 9.808 MB / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006821/0.2418, allocations: 2.783 MB / 445 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.2435, allocations: 91.56 kB / 445.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.2538, allocations: 4.227 MB / 449.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.2572, allocations: 0.7843 MB / 450.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.2601, allocations: 0.9846 MB / 451.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006004/0.2661, allocations: 4.093 MB / 455.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.2787, allocations: 7.113 MB / 462.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.2825, allocations: 2.412 MB / 464.7 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.287, allocations: 2.663 MB / 467.4 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001627/0.2887, allocations: 0.6641 MB / 468.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.2914, allocations: 0.9021 MB / 469 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.2934, allocations: 1.239 MB / 470.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004515/0.2979, allocations: 2.56 MB / 472.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.3101, allocations: 8.923 MB / 481.7 MB, free: 5.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3101, allocations: 4 kB / 481.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3101, allocations: 4 kB / 481.7 MB, free: 5.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002242/0.3103, allocations: 0 / 481.7 MB, free: 5.238 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01523/0.3256, allocations: 5.327 MB / 487 MB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3256, allocations: 8.031 kB / 487 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008683/0.3343, allocations: 1.317 MB / 488.4 MB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006585/0.3409, allocations: 2.598 MB / 491 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004292/0.3413, allocations: 349.3 kB / 491.3 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.3429, allocations: 456 kB / 491.7 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.3587, allocations: 6.109 MB / 497.9 MB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/0.3589, allocations: 3.953 kB / 497.9 MB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.3601, allocations: 192 kB / 498 MB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002367/0.3603, allocations: 193.5 kB / 498.2 MB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.3721, allocations: 5.284 MB / 0.4917 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03628/0.4084, allocations: 20.22 MB / 0.5115 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005253/0.4136, allocations: 2.109 MB / 0.5135 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.4147, allocations: 0.5962 MB / 0.5141 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.4149, allocations: 44.92 kB / 0.5141 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.4149, allocations: 43.56 kB / 0.5142 GB, free: 7.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.126e-06/0.4149, allocations: 4 kB / 0.5142 GB, free: 7.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002526/0.4174, allocations: 1.437 MB / 0.5156 GB, free: 6.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.4175, allocations: 64.41 kB / 0.5157 GB, free: 6.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/0.4201, allocations: 1.462 MB / 0.5171 GB, free: 4.688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/0.4202, allocations: 41.7 kB / 0.5171 GB, free: 4.641 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.4218, allocations: 2.041 MB / 0.5191 GB, free: 2.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.4221, allocations: 365.1 kB / 0.5195 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007136/0.4228, allocations: 475.9 kB / 0.5199 GB, free: 1.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.423, allocations: 357.9 kB / 0.5203 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.4244, allocations: 0.8163 MB / 0.5211 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/0.4272, allocations: 1.941 MB / 0.523 GB, free: 14.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005701/0.4329, allocations: 2.927 MB / 0.5258 GB, free: 10.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.856e-05/0.4329, allocations: 12 kB / 0.5258 GB, free: 10.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.007178/0.4401, allocations: 2.802 MB / 0.5286 GB, free: 7.773 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.879e-05/0.4402, allocations: 24 kB / 0.5286 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.064e-05/0.4403, allocations: 40.12 kB / 0.5286 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/0.4404, allocations: 56 kB / 0.5287 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/0.443, allocations: 0.5381 MB / 0.5292 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001045/0.4431, allocations: 75.72 kB / 0.5293 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.4454, allocations: 301.9 kB / 0.5296 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.4457, allocations: 124 kB / 0.5297 GB, free: 6.625 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.003315/0.449, allocations: 1.671 MB / 0.5313 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.4493, allocations: 135.1 kB / 0.5314 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.4516, allocations: 1.342 MB / 0.5327 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001433/0.4531, allocations: 0.9396 MB / 0.5337 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4531, allocations: 4 kB / 0.5337 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.4531, allocations: 7.922 kB / 0.5337 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2085/0.6616, allocations: 11.11 MB / 0.5445 GB, free: 92.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.6616, allocations: 19.59 kB / 0.5445 GB, free: 92.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006733/0.6623, allocations: 215.7 kB / 0.5447 GB, free: 92.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.6623, allocations: 23.78 kB / 0.5448 GB, free: 92.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.6624, allocations: 47.42 kB / 0.5448 GB, free: 92.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-05/0.6624, allocations: 43.17 kB / 0.5449 GB, free: 92.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/0.6624, allocations: 27.69 kB / 0.5449 GB, free: 92.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.6648, allocations: 2.472 MB / 0.5473 GB, free: 91.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006341/0.6654, allocations: 249.2 kB / 0.5475 GB, free: 91.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.6656, allocations: 47.48 kB / 0.5476 GB, free: 91.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.6663, allocations: 62.25 kB / 0.5476 GB, free: 91.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.6664, allocations: 137.8 kB / 0.5478 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.6664, allocations: 58.5 kB / 0.5478 GB, free: 91.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.6676, allocations: 0.992 MB / 0.5488 GB, free: 90.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6676, allocations: 0 / 0.5488 GB, free: 90.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002365/0.67, allocations: 0.9515 MB / 0.5497 GB, free: 90.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.0002953/0.6703, allocations: 204.4 kB / 0.5499 GB, free: 90.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.6726, allocations: 1.8 MB / 0.5517 GB, free: 89.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.6726, allocations: 3.906 kB / 0.5517 GB, free: 89.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.6732, allocations: 0.5647 MB / 0.5522 GB, free: 89.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.6751, allocations: 379.6 kB / 0.5526 GB, free: 89.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008644/0.6838, allocations: 6.79 MB / 0.5592 GB, free: 84.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/0.6857, allocations: 2.99 MB / 0.5621 GB, free: 81.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.6861, allocations: 143.4 kB / 0.5623 GB, free: 81.47 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6861, allocations: 0 / 0.5623 GB, free: 81.47 MB / 446.1 MB Notification: Performance of Templates: time 0.04012/0.7262, allocations: 39.15 MB / 0.6005 GB, free: 42.37 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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: 10.551630807807669]