Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001453/0.001453, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001705/0.001705, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.84 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2039, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01141/0.2153, allocations: 9.808 MB / 441.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.2197, allocations: 2.779 MB / 444.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.2202, allocations: 75.81 kB / 444.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008801/0.229, allocations: 4.217 MB / 448.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.2308, allocations: 0.7687 MB / 449.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.2328, allocations: 0.9676 MB / 450.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004339/0.2371, allocations: 4.058 MB / 454.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009172/0.2463, allocations: 6.78 MB / 461.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.249, allocations: 2.373 MB / 463.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00319/0.2522, allocations: 2.655 MB / 466.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007635/0.2529, allocations: 0.6641 MB / 467.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.2543, allocations: 0.8982 MB / 468.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.2554, allocations: 1.247 MB / 469.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00238/0.2577, allocations: 2.549 MB / 471.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008317/0.2661, allocations: 8.929 MB / 480.8 MB, free: 6.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2661, allocations: 0 / 480.8 MB, free: 6.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2661, allocations: 0 / 480.8 MB, free: 6.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.074e-05/0.2661, allocations: 0 / 480.8 MB, free: 6.367 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.01149/0.2776, allocations: 5.406 MB / 486.2 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2777, allocations: 12.02 kB / 486.2 MB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008069/0.2857, allocations: 1.317 MB / 487.6 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/0.2905, allocations: 2.604 MB / 490.2 MB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.2908, allocations: 349.3 kB / 490.5 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006866/0.2915, allocations: 467.9 kB / 491 MB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0099/0.3014, allocations: 6.098 MB / 497.1 MB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.898e-05/0.3015, allocations: 3.953 kB / 497.1 MB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004417/0.3019, allocations: 188 kB / 497.3 MB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/0.3021, allocations: 201.4 kB / 497.4 MB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008674/0.3108, allocations: 5.288 MB / 0.491 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03039/0.3412, allocations: 21.01 MB / 0.5115 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007003/0.3482, allocations: 5.49 MB / 0.5168 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.3492, allocations: 0.5965 MB / 0.5174 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.3494, allocations: 203.1 kB / 0.5176 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3495, allocations: 39.56 kB / 0.5176 GB, free: 3.395 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.956e-06/0.3495, allocations: 0 / 0.5176 GB, free: 3.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002336/0.3518, allocations: 1.44 MB / 0.5191 GB, free: 1.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3518, allocations: 60.41 kB / 0.5191 GB, free: 1.875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.354, allocations: 1.462 MB / 0.5205 GB, free: 412 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.3541, allocations: 45.64 kB / 0.5206 GB, free: 360 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.3555, allocations: 2.037 MB / 0.5226 GB, free: 14.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.3558, allocations: 365.1 kB / 0.5229 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006807/0.3565, allocations: 483.8 kB / 0.5234 GB, free: 13.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3567, allocations: 357.7 kB / 0.5237 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.358, allocations: 0.8085 MB / 0.5245 GB, free: 12.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.3602, allocations: 1.941 MB / 0.5264 GB, free: 9.785 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003586/0.3637, allocations: 2.927 MB / 0.5293 GB, free: 6.312 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-05/0.3638, allocations: 8 kB / 0.5293 GB, free: 6.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004498/0.3683, allocations: 2.81 MB / 0.532 GB, free: 3.488 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.3683, allocations: 20.22 kB / 0.532 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.988e-05/0.3684, allocations: 44 kB / 0.5321 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.922e-05/0.3684, allocations: 55.98 kB / 0.5321 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.3702, allocations: 0.542 MB / 0.5327 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.618e-05/0.3702, allocations: 79.7 kB / 0.5327 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.3716, allocations: 297.9 kB / 0.533 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.3718, allocations: 128 kB / 0.5331 GB, free: 2.332 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.002382/0.3742, allocations: 1.671 MB / 0.5348 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.3744, allocations: 135.1 kB / 0.5349 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.18/0.5544, allocations: 1.328 MB / 0.5362 GB, free: 96.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.5545, allocations: 5.016 kB / 0.5362 GB, free: 96.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5545, allocations: 0.75 kB / 0.5362 GB, free: 96.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006013/0.5551, allocations: 289.6 kB / 0.5365 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.5552, allocations: 30.38 kB / 0.5365 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.5557, allocations: 39.86 kB / 0.5365 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5558, allocations: 59.16 kB / 0.5366 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001639/0.5574, allocations: 1.148 MB / 0.5377 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001978/0.5594, allocations: 1.892 MB / 0.5396 GB, free: 95.61 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004815/0.5599, allocations: 446.1 kB / 0.54 GB, free: 95.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001106/0.561, allocations: 0.991 MB / 0.541 GB, free: 95.08 MB / 446.1 MB Notification: Performance of Backend: time 1.91e-07/0.561, allocations: 0 / 0.541 GB, free: 95.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.5633, allocations: 1.519 MB / 0.5425 GB, free: 94.54 MB / 446.1 MB Notification: Performance of SimCode: time 0.007762/0.571, allocations: 6.687 MB / 0.549 GB, free: 91.3 MB / 446.1 MB Notification: Performance of Templates: time 0.03172/0.6028, allocations: 24.36 MB / 0.5728 GB, free: 71.93 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.008762690704316]