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.001709/0.001709, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.002152/0.002152, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.459/1.459, allocations: 230.2 MB / 255.2 MB, free: 15.23 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.00289/0.00289, allocations: 67.88 kB / 374.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.1011, allocations: 53.32 MB / 427.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.1766/0.2778, allocations: 9.782 MB / 437.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.2823, allocations: 2.761 MB / 440.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009159/0.2832, allocations: 80.31 kB / 440.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007782/0.291, allocations: 4.217 MB / 444.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.2937, allocations: 0.7723 MB / 445.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.2957, allocations: 0.9652 MB / 446.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004414/0.3001, allocations: 4.052 MB / 450.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.3116, allocations: 8.5 MB / 459 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003536/0.3151, allocations: 2.366 MB / 461.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004453/0.3196, allocations: 2.662 MB / 464 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.3209, allocations: 0.6638 MB / 464.7 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.323, allocations: 0.8971 MB / 465.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.3243, allocations: 1.243 MB / 466.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003256/0.3276, allocations: 2.552 MB / 469.4 MB, free: 6.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0096/0.3372, allocations: 8.939 MB / 478.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3372, allocations: 4 kB / 478.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3372, allocations: 0 / 478.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001938/0.3374, allocations: 0 / 478.3 MB, free: 14.4 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.01525/0.3526, allocations: 5.395 MB / 483.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3527, allocations: 8.031 kB / 483.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00816/0.3608, allocations: 1.329 MB / 485 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004789/0.3656, allocations: 2.604 MB / 487.6 MB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.3659, allocations: 353.3 kB / 488 MB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008934/0.3668, allocations: 456.8 kB / 488.4 MB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.3788, allocations: 6.105 MB / 494.5 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.211e-05/0.3789, allocations: 3.953 kB / 494.5 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000487/0.3794, allocations: 188 kB / 494.7 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.3796, allocations: 193.5 kB / 494.9 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.3896, allocations: 5.284 MB / 0.4885 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03238/0.422, allocations: 21.01 MB / 0.509 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007022/0.429, allocations: 5.487 MB / 0.5143 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.4301, allocations: 0.6004 MB / 0.5149 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.4303, allocations: 195.2 kB / 0.5151 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.4304, allocations: 47.56 kB / 0.5152 GB, free: 11.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.775e-06/0.4304, allocations: 0 / 0.5152 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002491/0.4329, allocations: 1.44 MB / 0.5166 GB, free: 10.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.4329, allocations: 68.34 kB / 0.5166 GB, free: 9.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/0.4354, allocations: 1.462 MB / 0.5181 GB, free: 8.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.4355, allocations: 41.7 kB / 0.5181 GB, free: 8.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.437, allocations: 2.037 MB / 0.5201 GB, free: 6.371 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.4373, allocations: 365.1 kB / 0.5204 GB, free: 6.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007283/0.4381, allocations: 479.9 kB / 0.5209 GB, free: 5.535 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4382, allocations: 357.9 kB / 0.5212 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.4396, allocations: 0.8085 MB / 0.522 GB, free: 4.367 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.4419, allocations: 1.945 MB / 0.5239 GB, free: 1.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/0.4456, allocations: 2.927 MB / 0.5268 GB, free: 14.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.871e-05/0.4457, allocations: 16 kB / 0.5268 GB, free: 14.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004864/0.4505, allocations: 2.802 MB / 0.5295 GB, free: 11.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.4506, allocations: 20.62 kB / 0.5296 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-05/0.4506, allocations: 43.94 kB / 0.5296 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-05/0.4507, allocations: 52 kB / 0.5297 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.4524, allocations: 0.5459 MB / 0.5302 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.266e-05/0.4525, allocations: 75.72 kB / 0.5303 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.4539, allocations: 306 kB / 0.5305 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.4541, allocations: 124 kB / 0.5307 GB, free: 10.41 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.002656/0.4567, allocations: 1.671 MB / 0.5323 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.457, allocations: 135.1 kB / 0.5324 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.4593, allocations: 1.338 MB / 0.5337 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001376/0.4607, allocations: 0.9318 MB / 0.5346 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.4607, allocations: 4 kB / 0.5346 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.4607, allocations: 3.984 kB / 0.5347 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/0.4789, allocations: 13.52 MB / 0.5479 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.4789, allocations: 16 kB / 0.5479 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/0.4797, allocations: 215.6 kB / 0.5481 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-05/0.4797, allocations: 24 kB / 0.5481 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.041e-05/0.4798, allocations: 47.98 kB / 0.5481 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.342e-05/0.4798, allocations: 39.8 kB / 0.5482 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.3e-05/0.4799, allocations: 27.88 kB / 0.5482 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.4831, allocations: 2.455 MB / 0.5506 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/0.4837, allocations: 323.9 kB / 0.5509 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.4838, allocations: 55.86 kB / 0.551 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007151/0.4845, allocations: 59.95 kB / 0.551 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.4847, allocations: 127.5 kB / 0.5511 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.124e-05/0.4848, allocations: 63.98 kB / 0.5512 GB, free: 4.105 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.4863, allocations: 0.9877 MB / 0.5522 GB, free: 3.113 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4863, allocations: 0 / 0.5522 GB, free: 3.113 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002852/0.4892, allocations: 0.9531 MB / 0.5531 GB, free: 2.156 MB / 462.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.0004021/0.4896, allocations: 206.5 kB / 0.5533 GB, free: 1.945 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002972/0.4925, allocations: 1.803 MB / 0.5551 GB, free: 148 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.4925, allocations: 4 kB / 0.5551 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008967/0.4934, allocations: 0.5572 MB / 0.5556 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.4958, allocations: 385.9 kB / 0.556 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.5077, allocations: 6.799 MB / 0.5626 GB, free: 8.109 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/0.5109, allocations: 2.988 MB / 0.5655 GB, free: 5.094 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.5113, allocations: 143.4 kB / 0.5657 GB, free: 4.953 MB / 478.1 MB Notification: Performance of SimCode: time 1.463e-06/0.5113, allocations: 0 / 0.5657 GB, free: 4.953 MB / 478.1 MB Notification: Performance of Templates: time 0.05847/0.5698, allocations: 39.12 MB / 0.6039 GB, free: 13.87 MB / 0.5137 GB " [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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.480763370869681]