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.001438/0.001438, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001317/0.001317, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.413/1.413, allocations: 225.6 MB / 250.8 MB, free: 13.37 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.001532/0.001532, allocations: 47.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2375, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01173/0.2492, allocations: 9.803 MB / 430.7 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005603/0.2548, allocations: 2.698 MB / 433.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.2563, allocations: 83.69 kB / 433.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009747/0.266, allocations: 4.209 MB / 437.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.2696, allocations: 0.9398 MB / 438.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.272, allocations: 0.8247 MB / 439.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005252/0.2772, allocations: 4.054 MB / 443.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.2886, allocations: 6.779 MB / 450.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003464/0.2921, allocations: 2.357 MB / 452.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/0.2963, allocations: 2.655 MB / 455.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.2979, allocations: 0.664 MB / 455.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.3005, allocations: 0.8826 MB / 456.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002269/0.3028, allocations: 1.243 MB / 458.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00433/0.3071, allocations: 2.549 MB / 460.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.3183, allocations: 8.913 MB / 469.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3183, allocations: 0 / 469.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3183, allocations: 0 / 469.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002338/0.3185, allocations: 0 / 469.5 MB, free: 14.17 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.01424/0.3328, allocations: 5.402 MB / 474.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3328, allocations: 15.89 kB / 474.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008213/0.341, allocations: 1.317 MB / 476.3 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005224/0.3463, allocations: 2.608 MB / 478.9 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.3466, allocations: 349.3 kB / 479.2 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.348, allocations: 463.9 kB / 479.7 MB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.3634, allocations: 6.09 MB / 485.8 MB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/0.3636, allocations: 7.938 kB / 485.8 MB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/0.3648, allocations: 192 kB / 485.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002332/0.365, allocations: 193.5 kB / 486.1 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.3777, allocations: 5.272 MB / 491.4 MB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/0.4107, allocations: 20.77 MB / 0.5002 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006684/0.4174, allocations: 5.486 MB / 0.5055 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009881/0.4184, allocations: 0.6004 MB / 0.5061 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.4186, allocations: 106.1 kB / 0.5062 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.4186, allocations: 51.48 kB / 0.5063 GB, free: 11.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.805e-06/0.4186, allocations: 0 / 0.5063 GB, free: 11.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002323/0.4209, allocations: 1.433 MB / 0.5077 GB, free: 10.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.421, allocations: 60.41 kB / 0.5077 GB, free: 10.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.4233, allocations: 1.462 MB / 0.5092 GB, free: 8.637 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.4234, allocations: 45.7 kB / 0.5092 GB, free: 8.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.4249, allocations: 2.037 MB / 0.5112 GB, free: 6.527 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.4252, allocations: 365.1 kB / 0.5115 GB, free: 6.168 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006898/0.4259, allocations: 475.8 kB / 0.512 GB, free: 5.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4261, allocations: 357.9 kB / 0.5123 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4274, allocations: 0.8085 MB / 0.5131 GB, free: 4.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.4295, allocations: 1.948 MB / 0.515 GB, free: 2.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/0.4332, allocations: 2.916 MB / 0.5179 GB, free: 14.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-05/0.4332, allocations: 12 kB / 0.5179 GB, free: 14.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004781/0.438, allocations: 2.797 MB / 0.5206 GB, free: 11.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.4381, allocations: 20 kB / 0.5206 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.296e-05/0.4381, allocations: 40 kB / 0.5207 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.16e-05/0.4382, allocations: 52.72 kB / 0.5207 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.44, allocations: 0.5342 MB / 0.5212 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.247e-05/0.4401, allocations: 83.7 kB / 0.5213 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.4415, allocations: 297.9 kB / 0.5216 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.4417, allocations: 128 kB / 0.5217 GB, free: 10.6 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.00257/0.4443, allocations: 1.676 MB / 0.5234 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/0.4446, allocations: 139.1 kB / 0.5235 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.4469, allocations: 1.334 MB / 0.5248 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001392/0.4483, allocations: 0.9279 MB / 0.5257 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.4483, allocations: 4 kB / 0.5257 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.4483, allocations: 7.969 kB / 0.5257 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.4653, allocations: 12.22 MB / 0.5376 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/0.4653, allocations: 20 kB / 0.5377 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008006/0.4661, allocations: 207.6 kB / 0.5379 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.632e-05/0.4661, allocations: 24 kB / 0.5379 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.232e-05/0.4662, allocations: 44 kB / 0.5379 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.345e-05/0.4663, allocations: 47.72 kB / 0.538 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.651e-05/0.4663, allocations: 31.88 kB / 0.538 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.4695, allocations: 2.455 MB / 0.5404 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007069/0.4702, allocations: 323.9 kB / 0.5407 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/0.4705, allocations: 51.86 kB / 0.5408 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.4713, allocations: 63.94 kB / 0.5408 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.4715, allocations: 127.5 kB / 0.5409 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.798e-05/0.4716, allocations: 56 kB / 0.541 GB, free: 5.898 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001588/0.4732, allocations: 0.9916 MB / 0.542 GB, free: 4.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4732, allocations: 0 / 0.542 GB, free: 4.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002779/0.4759, allocations: 0.9492 MB / 0.5429 GB, free: 3.949 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.0004052/0.4763, allocations: 210.5 kB / 0.5431 GB, free: 3.734 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002982/0.4793, allocations: 1.795 MB / 0.5448 GB, free: 1.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.4793, allocations: 4 kB / 0.5449 GB, free: 1.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008591/0.4802, allocations: 0.5585 MB / 0.5454 GB, free: 1.379 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.4825, allocations: 384.1 kB / 0.5458 GB, free: 1.008 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1997/0.6821, allocations: 6.947 MB / 0.5525 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002381/0.6845, allocations: 3.076 MB / 0.5556 GB, free: 116.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001668/0.6862, allocations: 0.8166 MB / 0.5563 GB, free: 116 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.6864, allocations: 115.3 kB / 0.5565 GB, free: 116 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6864, allocations: 0 / 0.5565 GB, free: 116 MB / 462.1 MB Notification: Performance of Templates: time 0.02872/0.7151, allocations: 19.16 MB / 0.5752 GB, free: 102.6 MB / 462.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.269402486272156]