Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002339/0.002339, allocations: 211.1 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.797 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 55.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2722, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01137/0.2836, allocations: 8.525 MB / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.2896, allocations: 2.647 MB / 442.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.2906, allocations: 95.56 kB / 442.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009468/0.3001, allocations: 3.878 MB / 446.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.3036, allocations: 0.7865 MB / 447.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.3063, allocations: 0.9384 MB / 448.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005688/0.312, allocations: 4.078 MB / 452.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.3239, allocations: 7.121 MB / 459.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004467/0.3283, allocations: 2.416 MB / 462.1 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005365/0.3337, allocations: 2.667 MB / 464.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001535/0.3352, allocations: 0.6602 MB / 465.4 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.3375, allocations: 0.8943 MB / 466.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.3387, allocations: 1.243 MB / 467.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002637/0.3413, allocations: 1.981 MB / 469.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.3522, allocations: 8.97 MB / 478.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3522, allocations: 0 / 478.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3522, allocations: 0 / 478.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002573/0.3524, allocations: 4 kB / 478.5 MB, free: 7.562 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.01502/0.3674, allocations: 5.331 MB / 483.8 MB, free: 2.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3675, allocations: 8.031 kB / 483.8 MB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008269/0.3758, allocations: 1.317 MB / 485.1 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006159/0.3819, allocations: 2.602 MB / 487.7 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.3822, allocations: 349.3 kB / 488.1 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.3833, allocations: 459.9 kB / 488.5 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.3974, allocations: 6.127 MB / 494.7 MB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-05/0.3975, allocations: 0 / 494.7 MB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004476/0.3979, allocations: 195.9 kB / 494.9 MB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002008/0.3981, allocations: 197.5 kB / 495 MB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.4093, allocations: 5.272 MB / 0.4886 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0317/0.441, allocations: 17.76 MB / 0.5059 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005206/0.4462, allocations: 2.07 MB / 0.508 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009886/0.4472, allocations: 0.5923 MB / 0.5085 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.4474, allocations: 40.97 kB / 0.5086 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.4474, allocations: 43.56 kB / 0.5086 GB, free: 12.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.226e-06/0.4474, allocations: 0 / 0.5086 GB, free: 12.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002388/0.4498, allocations: 1.444 MB / 0.51 GB, free: 11.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.4499, allocations: 60.41 kB / 0.5101 GB, free: 10.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.452, allocations: 1.531 MB / 0.5116 GB, free: 9.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.4521, allocations: 37.7 kB / 0.5116 GB, free: 9.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.4536, allocations: 2.045 MB / 0.5136 GB, free: 7.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.4539, allocations: 361.1 kB / 0.514 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006578/0.4546, allocations: 475.9 kB / 0.5144 GB, free: 6.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4548, allocations: 353.9 kB / 0.5147 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.456, allocations: 0.8124 MB / 0.5155 GB, free: 5.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/0.4582, allocations: 1.949 MB / 0.5174 GB, free: 2.828 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.4618, allocations: 2.923 MB / 0.5203 GB, free: 15.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.393e-05/0.4619, allocations: 19.94 kB / 0.5203 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004733/0.4666, allocations: 2.802 MB / 0.5231 GB, free: 12.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.4666, allocations: 24 kB / 0.5231 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.634e-05/0.4667, allocations: 36 kB / 0.5231 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.165e-05/0.4667, allocations: 56 kB / 0.5232 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.4685, allocations: 0.5342 MB / 0.5237 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.192e-05/0.4685, allocations: 75.72 kB / 0.5238 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.47, allocations: 310 kB / 0.5241 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.4702, allocations: 132 kB / 0.5242 GB, free: 11.37 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.002578/0.4727, allocations: 1.664 MB / 0.5258 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.473, allocations: 135.1 kB / 0.5259 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.4752, allocations: 1.345 MB / 0.5272 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001363/0.4765, allocations: 0.9397 MB / 0.5282 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4765, allocations: 0 / 0.5282 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4766, allocations: 3.984 kB / 0.5282 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2412/0.7178, allocations: 10.18 MB / 0.5381 GB, free: 95.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/0.7178, allocations: 19.36 kB / 0.5381 GB, free: 95.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.7185, allocations: 210.5 kB / 0.5383 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.6e-05/0.7186, allocations: 24.41 kB / 0.5384 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.7186, allocations: 46.7 kB / 0.5384 GB, free: 95.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.909e-05/0.7187, allocations: 37.34 kB / 0.5384 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.83e-05/0.7187, allocations: 28.91 kB / 0.5385 GB, free: 95.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.7212, allocations: 2.469 MB / 0.5409 GB, free: 93.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005447/0.7217, allocations: 256.1 kB / 0.5411 GB, free: 93.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.7219, allocations: 45.77 kB / 0.5412 GB, free: 93.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/0.7225, allocations: 68.39 kB / 0.5412 GB, free: 93.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.7227, allocations: 133.5 kB / 0.5414 GB, free: 93.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.7227, allocations: 59.33 kB / 0.5414 GB, free: 93.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.7238, allocations: 0.9863 MB / 0.5424 GB, free: 93.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7238, allocations: 0 / 0.5424 GB, free: 93.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00222/0.726, allocations: 0.9572 MB / 0.5433 GB, free: 93.34 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.0002564/0.7262, allocations: 203.5 kB / 0.5435 GB, free: 93.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.7284, allocations: 1.803 MB / 0.5453 GB, free: 92.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.7284, allocations: 6.375 kB / 0.5453 GB, free: 92.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.729, allocations: 0.5558 MB / 0.5458 GB, free: 92.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.731, allocations: 380.6 kB / 0.5462 GB, free: 92.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/0.7395, allocations: 6.903 MB / 0.5529 GB, free: 88.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.7415, allocations: 2.527 MB / 0.5554 GB, free: 86.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001465/0.7429, allocations: 0.8192 MB / 0.5562 GB, free: 85.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.7432, allocations: 126.2 kB / 0.5563 GB, free: 85.54 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7432, allocations: 0 / 0.5563 GB, free: 85.54 MB / 446.1 MB Notification: Performance of Templates: time 0.0305/0.7737, allocations: 21.95 MB / 0.5777 GB, free: 64.48 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.571980160661042]