Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 192.5 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 51.92 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2392, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0113/0.2505, allocations: 8.516 MB / 431.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005663/0.2562, allocations: 2.581 MB / 434.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009002/0.2571, allocations: 95.5 kB / 434.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009291/0.2664, allocations: 3.894 MB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.2704, allocations: 0.9238 MB / 439.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.2727, allocations: 0.7909 MB / 439.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005531/0.2782, allocations: 4.093 MB / 444 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.2887, allocations: 7.043 MB / 451 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.2923, allocations: 2.404 MB / 453.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004202/0.2965, allocations: 2.554 MB / 456 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.2979, allocations: 0.6641 MB / 456.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.2998, allocations: 0.8747 MB / 457.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.3009, allocations: 1.239 MB / 458.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002617/0.3035, allocations: 1.981 MB / 460.7 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009726/0.3133, allocations: 8.951 MB / 469.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3133, allocations: 0 / 469.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3133, allocations: 0 / 469.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002209/0.3135, allocations: 0 / 469.7 MB, free: 15.61 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.01479/0.3283, allocations: 5.331 MB / 475 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3283, allocations: 16.02 kB / 475 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007628/0.336, allocations: 1.313 MB / 476.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006671/0.3426, allocations: 2.598 MB / 478.9 MB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003646/0.343, allocations: 353.3 kB / 479.3 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/0.3445, allocations: 456 kB / 479.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0139/0.3584, allocations: 6.115 MB / 485.8 MB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000116/0.3585, allocations: 7.953 kB / 485.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005047/0.359, allocations: 188 kB / 486 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/0.3592, allocations: 201.5 kB / 486.2 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.3701, allocations: 5.261 MB / 491.5 MB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03144/0.4016, allocations: 17.73 MB / 0.4973 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005178/0.4067, allocations: 2.078 MB / 0.4993 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.4078, allocations: 0.5922 MB / 0.4999 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.4079, allocations: 36.98 kB / 0.4999 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.4079, allocations: 47.55 kB / 0.5 GB, free: 4.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.085e-06/0.4079, allocations: 0 / 0.5 GB, free: 4.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002408/0.4103, allocations: 1.433 MB / 0.5014 GB, free: 3.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.4104, allocations: 60.41 kB / 0.5014 GB, free: 3.078 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.4126, allocations: 1.535 MB / 0.5029 GB, free: 1.531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.171e-05/0.4127, allocations: 37.7 kB / 0.503 GB, free: 1.488 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.4142, allocations: 2.041 MB / 0.505 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.4145, allocations: 365.1 kB / 0.5053 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006421/0.4152, allocations: 471.9 kB / 0.5058 GB, free: 14.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4154, allocations: 353.9 kB / 0.5061 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4166, allocations: 0.8124 MB / 0.5069 GB, free: 13.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.4187, allocations: 1.941 MB / 0.5088 GB, free: 10.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/0.4224, allocations: 2.935 MB / 0.5117 GB, free: 7.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.4224, allocations: 8 kB / 0.5117 GB, free: 7.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004481/0.4269, allocations: 2.794 MB / 0.5144 GB, free: 4.637 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.4269, allocations: 20 kB / 0.5144 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.382e-05/0.427, allocations: 40 kB / 0.5144 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.42e-05/0.427, allocations: 52 kB / 0.5145 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.4287, allocations: 0.5381 MB / 0.515 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.187e-05/0.4287, allocations: 75.72 kB / 0.5151 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.4302, allocations: 306.2 kB / 0.5154 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.4303, allocations: 120 kB / 0.5155 GB, free: 3.496 MB / 430.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.002592/0.4329, allocations: 1.668 MB / 0.5171 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.4332, allocations: 135.1 kB / 0.5173 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.4353, allocations: 1.341 MB / 0.5186 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001329/0.4366, allocations: 0.9279 MB / 0.5195 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4366, allocations: 0 / 0.5195 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.4366, allocations: 3.984 kB / 0.5195 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/0.4513, allocations: 10.08 MB / 0.5293 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/0.4514, allocations: 20 kB / 0.5293 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/0.4521, allocations: 211.6 kB / 0.5295 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.622e-05/0.4521, allocations: 28 kB / 0.5296 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.658e-05/0.4522, allocations: 48.66 kB / 0.5296 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.484e-05/0.4522, allocations: 35.86 kB / 0.5297 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.347e-05/0.4523, allocations: 35.88 kB / 0.5297 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.4555, allocations: 2.459 MB / 0.5321 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/0.4561, allocations: 258.8 kB / 0.5323 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.4563, allocations: 47.92 kB / 0.5324 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.457, allocations: 59.95 kB / 0.5324 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.4572, allocations: 135.3 kB / 0.5326 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.506e-05/0.4573, allocations: 56.05 kB / 0.5326 GB, free: 1.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001456/0.4587, allocations: 0.9914 MB / 0.5336 GB, free: 344 kB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4587, allocations: 0 / 0.5336 GB, free: 344 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.2195/0.6782, allocations: 0.9503 MB / 0.5345 GB, free: 102.9 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.0005654/0.6788, allocations: 202.2 kB / 0.5347 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.6818, allocations: 1.794 MB / 0.5365 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/0.6818, allocations: 3.469 kB / 0.5365 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007744/0.6826, allocations: 0.5588 MB / 0.537 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.6847, allocations: 375.2 kB / 0.5374 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009086/0.6938, allocations: 6.96 MB / 0.5442 GB, free: 99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/0.6959, allocations: 2.531 MB / 0.5466 GB, free: 98.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001617/0.6975, allocations: 0.8141 MB / 0.5474 GB, free: 98.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.6977, allocations: 113.5 kB / 0.5475 GB, free: 98.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6977, allocations: 0 / 0.5475 GB, free: 98.05 MB / 446.1 MB Notification: Performance of Templates: time 0.03028/0.728, allocations: 20.72 MB / 0.5678 GB, free: 80.56 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.26122098043561]