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.001762/0.001762, allocations: 108.3 kB / 20.48 MB, free: 1.121 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.001989/0.001989, allocations: 213.2 kB / 23.78 MB, free: 4.324 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.5 MB / 257.4 MB, free: 7.719 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.001835/0.001835, allocations: 59.91 kB / 378.3 MB, free: 2.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2467, allocations: 53.41 MB / 431.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01088/0.2576, allocations: 8.525 MB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00606/0.2637, allocations: 2.65 MB / 442.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.2648, allocations: 91.56 kB / 443 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009125/0.2739, allocations: 3.891 MB / 446.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.2773, allocations: 0.7648 MB / 447.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.2801, allocations: 0.9414 MB / 448.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006011/0.2862, allocations: 4.089 MB / 452.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.298, allocations: 7.051 MB / 459.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.3016, allocations: 2.416 MB / 462.1 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004731/0.3064, allocations: 2.55 MB / 464.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.3078, allocations: 0.6602 MB / 465.4 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.3101, allocations: 0.8904 MB / 466.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001712/0.3118, allocations: 1.247 MB / 467.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003537/0.3154, allocations: 1.981 MB / 469.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009671/0.3251, allocations: 8.964 MB / 478.4 MB, free: 7.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3251, allocations: 3.938 kB / 478.4 MB, free: 7.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.3251, allocations: 4 kB / 478.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001687/0.3252, allocations: 0 / 478.4 MB, free: 7.535 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.01372/0.339, allocations: 5.327 MB / 483.8 MB, free: 2.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.339, allocations: 12.02 kB / 483.8 MB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007945/0.3469, allocations: 1.317 MB / 485.1 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005029/0.352, allocations: 2.598 MB / 487.7 MB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/0.3523, allocations: 353.3 kB / 488 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008343/0.3531, allocations: 452 kB / 488.5 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.3642, allocations: 6.131 MB / 494.6 MB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.3643, allocations: 0 / 494.6 MB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004274/0.3648, allocations: 192 kB / 494.8 MB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/0.365, allocations: 197.5 kB / 495 MB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009564/0.3745, allocations: 5.268 MB / 0.4885 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02837/0.4029, allocations: 17.78 MB / 0.5059 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00505/0.4079, allocations: 2.073 MB / 0.5079 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009458/0.4089, allocations: 0.5923 MB / 0.5085 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.409, allocations: 40.95 kB / 0.5085 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.4091, allocations: 43.56 kB / 0.5086 GB, free: 12.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.286e-06/0.4091, allocations: 0 / 0.5086 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002252/0.4113, allocations: 1.44 MB / 0.51 GB, free: 11.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.4114, allocations: 64.41 kB / 0.5101 GB, free: 10.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.4134, allocations: 1.531 MB / 0.5116 GB, free: 9.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.4135, allocations: 41.7 kB / 0.5116 GB, free: 9.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.4149, allocations: 2.037 MB / 0.5136 GB, free: 7.293 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.4152, allocations: 365.1 kB / 0.5139 GB, free: 6.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006051/0.4158, allocations: 479.9 kB / 0.5144 GB, free: 6.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.416, allocations: 357.9 kB / 0.5147 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.4171, allocations: 0.8046 MB / 0.5155 GB, free: 5.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.4192, allocations: 1.948 MB / 0.5174 GB, free: 2.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/0.4227, allocations: 2.931 MB / 0.5203 GB, free: 15.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/0.4227, allocations: 12 kB / 0.5203 GB, free: 15.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004181/0.4269, allocations: 2.794 MB / 0.523 GB, free: 12.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.4269, allocations: 27.98 kB / 0.523 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.313e-05/0.427, allocations: 44.16 kB / 0.5231 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.534e-05/0.427, allocations: 52 kB / 0.5231 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.4287, allocations: 0.542 MB / 0.5237 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.271e-05/0.4288, allocations: 79.72 kB / 0.5237 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.43, allocations: 297.9 kB / 0.524 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.4302, allocations: 124 kB / 0.5241 GB, free: 11.34 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.002469/0.4326, allocations: 1.668 MB / 0.5258 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.4329, allocations: 135.1 kB / 0.5259 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.435, allocations: 1.345 MB / 0.5272 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001344/0.4364, allocations: 0.9318 MB / 0.5281 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4364, allocations: 4 kB / 0.5281 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.4364, allocations: 3.984 kB / 0.5281 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2426/0.679, allocations: 10.18 MB / 0.5381 GB, free: 95.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/0.6791, allocations: 20.02 kB / 0.5381 GB, free: 95.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/0.6798, allocations: 218.8 kB / 0.5383 GB, free: 95.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.991e-05/0.6799, allocations: 25.92 kB / 0.5383 GB, free: 95.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.6799, allocations: 45.66 kB / 0.5384 GB, free: 95.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.459e-05/0.68, allocations: 36.47 kB / 0.5384 GB, free: 95.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.322e-05/0.68, allocations: 34.84 kB / 0.5384 GB, free: 95.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.6828, allocations: 2.465 MB / 0.5408 GB, free: 93.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005605/0.6834, allocations: 256.2 kB / 0.5411 GB, free: 93.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.6835, allocations: 46.12 kB / 0.5411 GB, free: 93.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.6842, allocations: 67.48 kB / 0.5412 GB, free: 93.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.6844, allocations: 137.2 kB / 0.5413 GB, free: 93.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.6844, allocations: 55.34 kB / 0.5414 GB, free: 93.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001126/0.6856, allocations: 0.9904 MB / 0.5424 GB, free: 93.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6856, allocations: 0 / 0.5424 GB, free: 93.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002436/0.688, allocations: 0.9532 MB / 0.5433 GB, free: 93.07 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.0003327/0.6883, allocations: 198.7 kB / 0.5435 GB, free: 92.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.6907, allocations: 1.801 MB / 0.5452 GB, free: 92.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.6907, allocations: 4.812 kB / 0.5452 GB, free: 92.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.6913, allocations: 0.5571 MB / 0.5458 GB, free: 92.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.6933, allocations: 385.8 kB / 0.5461 GB, free: 92.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009492/0.7028, allocations: 6.915 MB / 0.5529 GB, free: 87.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.7049, allocations: 2.534 MB / 0.5554 GB, free: 85.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001636/0.7066, allocations: 0.8144 MB / 0.5562 GB, free: 85.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.7068, allocations: 120.2 kB / 0.5563 GB, free: 85.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/0.7068, allocations: 0 / 0.5563 GB, free: 85.34 MB / 446.1 MB Notification: Performance of Templates: time 0.02854/0.7354, allocations: 16.98 MB / 0.5729 GB, free: 69.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/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: 5.328557052649558]