Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008042/0.0008042, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00368/0.00368, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8671/0.8671, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 325.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.889e-05, allocations: 7.203 kB / 325.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.006641/0.00667, allocations: 8.526 MB / 334.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.01118, allocations: 2.658 MB / 337 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.01247, allocations: 91.56 kB / 337.1 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0042/0.01667, allocations: 4.126 MB / 341.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.01912, allocations: 0.7916 MB / 342 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.02053, allocations: 0.9298 MB / 342.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003392/0.02392, allocations: 4.238 MB / 347.1 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008469/0.03239, allocations: 7.062 MB / 354.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005213/0.03761, allocations: 3.596 MB / 357.8 MB, free: 15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.04152, allocations: 2.277 MB / 360.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00174/0.04326, allocations: 0.6602 MB / 360.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.04583, allocations: 0.8863 MB / 361.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.04736, allocations: 1.258 MB / 362.9 MB, free: 9.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003205/0.05056, allocations: 1.708 MB / 364.6 MB, free: 8.199 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008288/0.05885, allocations: 9.015 MB / 373.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.05886, allocations: 0 / 373.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.05886, allocations: 3.938 kB / 373.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002417/0.0591, allocations: 0 / 373.6 MB, free: 15.16 MB / 346.7 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.01105/0.07016, allocations: 5.288 MB / 378.9 MB, free: 9.812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.07021, allocations: 15.98 kB / 378.9 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/0.0748, allocations: 1.317 MB / 380.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/0.07908, allocations: 2.601 MB / 382.8 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.07933, allocations: 345.8 kB / 383.2 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/0.08066, allocations: 456.4 kB / 383.6 MB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.09086, allocations: 6.131 MB / 389.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.405e-05/0.09094, allocations: 3.953 kB / 389.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002962/0.09123, allocations: 192 kB / 389.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.09137, allocations: 193.5 kB / 390.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008012/0.09938, allocations: 5.272 MB / 395.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/0.1209, allocations: 17.77 MB / 413.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.1236, allocations: 2.085 MB / 415.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.1242, allocations: 0.5962 MB / 415.8 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.1244, allocations: 44.89 kB / 415.9 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1244, allocations: 39.56 kB / 415.9 MB, free: 4.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=94): time 3.135e-06/0.1244, allocations: 0 / 415.9 MB, free: 4.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.001499/0.1259, allocations: 1.433 MB / 417.4 MB, free: 2.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.126, allocations: 68.41 kB / 417.4 MB, free: 2.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.1275, allocations: 1.523 MB / 419 MB, free: 1.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.1275, allocations: 45.7 kB / 419 MB, free: 1.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007625/0.1283, allocations: 2.037 MB / 421 MB, free: 14.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.1287, allocations: 361.1 kB / 421.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.1291, allocations: 471.9 kB / 421.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.1292, allocations: 349.9 kB / 422.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/0.1299, allocations: 0.8124 MB / 423 MB, free: 12.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.1311, allocations: 1.945 MB / 424.9 MB, free: 10.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.1333, allocations: 2.924 MB / 427.9 MB, free: 6.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/0.1334, allocations: 12 kB / 427.9 MB, free: 6.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002618/0.136, allocations: 2.817 MB / 430.7 MB, free: 4.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.136, allocations: 20 kB / 430.7 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/0.136, allocations: 40.88 kB / 430.8 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.177e-05/0.1361, allocations: 52 kB / 430.8 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008539/0.1369, allocations: 0.5381 MB / 431.3 MB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.004e-05/0.137, allocations: 79.72 kB / 431.4 MB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/0.1378, allocations: 305.9 kB / 431.7 MB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.1379, allocations: 128 kB / 431.9 MB, free: 3 MB / 394.7 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.001837/0.1398, allocations: 1.664 MB / 433.5 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.1399, allocations: 139 kB / 433.6 MB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.1415, allocations: 1.341 MB / 435 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007954/0.1423, allocations: 0.9396 MB / 435.9 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1423, allocations: 0 / 435.9 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.1423, allocations: 3.984 kB / 435.9 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009491/0.1518, allocations: 10.18 MB / 446.1 MB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.1518, allocations: 23.98 kB / 446.1 MB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.1522, allocations: 211.6 kB / 446.3 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.772e-05/0.1522, allocations: 28 kB / 446.4 MB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.1522, allocations: 44.64 kB / 446.4 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.945e-05/0.1523, allocations: 39.86 kB / 446.5 MB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/0.1523, allocations: 31.88 kB / 446.5 MB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.1546, allocations: 2.428 MB / 448.9 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.155, allocations: 250.8 kB / 449.2 MB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/0.1551, allocations: 43.98 kB / 449.2 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.1555, allocations: 59.95 kB / 449.3 MB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.1556, allocations: 139.3 kB / 449.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.1556, allocations: 60 kB / 449.5 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1805/0.3362, allocations: 0.9851 MB / 450.4 MB, free: 108.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3362, allocations: 0.5312 kB / 450.4 MB, free: 108.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002673/0.3388, allocations: 0.9547 MB / 451.4 MB, free: 108.1 MB / 410.7 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.000372/0.3392, allocations: 196 kB / 451.6 MB, free: 108 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.3413, allocations: 1.809 MB / 453.4 MB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/0.3413, allocations: 3.688 kB / 453.4 MB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006135/0.3419, allocations: 0.5602 MB / 454 MB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.3432, allocations: 377.6 kB / 454.3 MB, free: 107.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00625/0.3495, allocations: 6.723 MB / 461 MB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.3509, allocations: 2.447 MB / 463.5 MB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.3512, allocations: 147 kB / 463.6 MB, free: 103.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.3512, allocations: 0 / 463.6 MB, free: 103.5 MB / 410.7 MB Notification: Performance of Templates: time 0.0378/0.389, allocations: 40.45 MB / 0.4923 GB, free: 65.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.248009572736919]