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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 94.56 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001426, allocations: 184 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002314/0.0002314, allocations: 5.25 kB / 300.7 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08462/0.08487, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0073/0.09222, allocations: 7.815 MB / 359 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.09639, allocations: 2.504 MB / 361.5 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006214/0.09704, allocations: 75.69 kB / 361.5 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008103/0.09786, allocations: 441.6 kB / 362 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.09951, allocations: 0.7828 MB / 362.8 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.1008, allocations: 0.6425 MB / 363.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002752/0.1036, allocations: 2.714 MB / 366.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01223/0.1158, allocations: 9.157 MB / 375.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.1177, allocations: 1.518 MB / 376.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.1194, allocations: 1.708 MB / 378.5 MB, free: 208 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003403/0.1198, allocations: 276 kB / 378.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008802/0.1207, allocations: 451.6 kB / 379.2 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005204/0.1212, allocations: 0.7124 MB / 379.9 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006519/0.1218, allocations: 0.8746 MB / 380.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005339/0.1272, allocations: 7.487 MB / 388.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1272, allocations: 0 / 388.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1272, allocations: 0 / 388.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001277/0.1273, allocations: 0 / 388.3 MB, free: 6.387 MB / 318.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.009429/0.1368, allocations: 4.386 MB / 392.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1368, allocations: 8.031 kB / 392.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00729/0.1441, allocations: 1.302 MB / 394 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.1487, allocations: 2.474 MB / 396.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.149, allocations: 345.4 kB / 396.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000627/0.1496, allocations: 459.9 kB / 397.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009356/0.159, allocations: 6.039 MB / 403.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.99e-05/0.1591, allocations: 8 kB / 403.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003942/0.1595, allocations: 195.9 kB / 403.5 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.1596, allocations: 193.5 kB / 403.7 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007977/0.1676, allocations: 5.257 MB / 408.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1888/0.3564, allocations: 21.04 MB / 430 MB, free: 49.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005466/0.3619, allocations: 5.604 MB / 435.6 MB, free: 45.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.3621, allocations: 111.8 kB / 435.7 MB, free: 45.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3621, allocations: 44.72 kB / 435.7 MB, free: 45.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 3.356e-06/0.3621, allocations: 1.219 kB / 435.7 MB, free: 45.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.002565/0.3647, allocations: 1.887 MB / 437.6 MB, free: 45.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3648, allocations: 67.75 kB / 437.7 MB, free: 45.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.3668, allocations: 1.452 MB / 439.1 MB, free: 44.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.3669, allocations: 42.55 kB / 439.2 MB, free: 44.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009393/0.3678, allocations: 1.963 MB / 441.1 MB, free: 43.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.3681, allocations: 370.6 kB / 441.5 MB, free: 43.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.3682, allocations: 44.75 kB / 441.5 MB, free: 43.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3684, allocations: 449.4 kB / 442 MB, free: 43.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.3696, allocations: 0.8537 MB / 442.8 MB, free: 43.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.3711, allocations: 1.961 MB / 444.8 MB, free: 41.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.3727, allocations: 1.354 MB / 446.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.3728, allocations: 12.62 kB / 446.2 MB, free: 41.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003419/0.3762, allocations: 2.865 MB / 449 MB, free: 41.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.3762, allocations: 22.12 kB / 449 MB, free: 41.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.413e-05/0.3763, allocations: 37.5 kB / 449.1 MB, free: 41.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.535e-05/0.3764, allocations: 59.34 kB / 449.1 MB, free: 41.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.378, allocations: 0.5383 MB / 449.7 MB, free: 41.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.327e-05/0.3781, allocations: 80.95 kB / 449.8 MB, free: 41.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.3794, allocations: 297.4 kB / 450 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.3795, allocations: 127.5 kB / 450.2 MB, free: 41.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 176 * 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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001982/0.3815, allocations: 1.659 MB / 451.8 MB, free: 40.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.3817, allocations: 136.8 kB / 452 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.3835, allocations: 1.449 MB / 453.4 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001102/0.3846, allocations: 1.024 MB / 454.4 MB, free: 40.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3846, allocations: 0 / 454.4 MB, free: 40.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.3847, allocations: 11.53 kB / 454.4 MB, free: 40.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.3969, allocations: 12.38 MB / 466.8 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/0.3969, allocations: 23.95 kB / 466.8 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.3976, allocations: 211.6 kB / 467.1 MB, free: 32.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.289e-05/0.3976, allocations: 32.67 kB / 467.1 MB, free: 32.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.3977, allocations: 40 kB / 467.1 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-05/0.3977, allocations: 39.86 kB / 467.2 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/0.3977, allocations: 27.88 kB / 467.2 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.4003, allocations: 3.761 MB / 471 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/0.4009, allocations: 343 kB / 471.3 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.4011, allocations: 48.73 kB / 471.3 MB, free: 27.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006928/0.4018, allocations: 59.95 kB / 471.4 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.4019, allocations: 139.5 kB / 471.5 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.402, allocations: 55.17 kB / 471.6 MB, free: 27.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.4031, allocations: 0.9799 MB / 472.6 MB, free: 26.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4032, allocations: 0 / 472.6 MB, free: 26.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002556/0.4057, allocations: 0.9486 MB / 473.5 MB, free: 25.4 MB / 350.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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003581/0.4061, allocations: 205.6 kB / 473.7 MB, free: 25.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002395/0.4085, allocations: 1.918 MB / 475.6 MB, free: 23.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.4085, allocations: 4 kB / 475.6 MB, free: 23.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.4092, allocations: 0.6223 MB / 476.3 MB, free: 22.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.4107, allocations: 355.5 kB / 476.6 MB, free: 22.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009311/0.42, allocations: 8.407 MB / 485 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/0.4222, allocations: 3.145 MB / 488.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001802/0.424, allocations: 0.8132 MB / 489 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.4243, allocations: 113.7 kB / 489.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4243, allocations: 0 / 489.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of Templates: time 0.02889/0.4532, allocations: 17.26 MB / 0.4945 GB, free: 8.418 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches