Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.0008737/0.0008737, 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.003448/0.003448, 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.8944/0.8944, allocations: 177 MB / 204.9 MB, free: 5.73 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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.707e-05, allocations: 3.266 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006518/0.006545, allocations: 8.028 MB / 333.8 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.01115, allocations: 2.538 MB / 336.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.01243, allocations: 75.62 kB / 336.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003931/0.01636, allocations: 3.673 MB / 340.1 MB, free: 1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.01938, allocations: 0.7753 MB / 340.9 MB, free: 228 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.02099, allocations: 0.9019 MB / 341.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003161/0.02415, allocations: 3.772 MB / 345.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005915/0.03006, allocations: 6.155 MB / 351.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.03346, allocations: 3.171 MB / 354.9 MB, free: 2.117 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/0.03581, allocations: 2.054 MB / 356.9 MB, free: 60 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000785/0.0366, allocations: 0.5898 MB / 357.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.03773, allocations: 0.8042 MB / 358.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.03833, allocations: 1.13 MB / 359.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.03978, allocations: 1.524 MB / 361 MB, free: 12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005966/0.04574, allocations: 8.002 MB / 369 MB, free: 3.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.04575, allocations: 0 / 369 MB, free: 3.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.04575, allocations: 0 / 369 MB, free: 3.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001552/0.04591, allocations: 4 kB / 369 MB, free: 3.977 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.007992/0.0539, allocations: 4.818 MB / 373.8 MB, free: 15.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.05394, allocations: 11.98 kB / 373.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003805/0.05774, allocations: 1.286 MB / 375.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003637/0.06138, allocations: 2.309 MB / 377.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.06155, allocations: 316.8 kB / 377.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006371/0.06219, allocations: 419.9 kB / 378.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00733/0.06952, allocations: 5.502 MB / 383.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.288e-05/0.06959, allocations: 8 kB / 383.6 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.06984, allocations: 168 kB / 383.8 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.06996, allocations: 180.6 kB / 384 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005589/0.07555, allocations: 4.792 MB / 388.8 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/0.09249, allocations: 16.33 MB / 405.1 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.09461, allocations: 1.745 MB / 406.8 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/0.09534, allocations: 0.7225 MB / 407.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.09544, allocations: 40.95 kB / 407.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.09547, allocations: 47.56 kB / 407.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 2.465e-06/0.09547, allocations: 0 / 407.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001567/0.09704, allocations: 1.565 MB / 409.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.09708, allocations: 60.41 kB / 409.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.09828, allocations: 1.404 MB / 410.7 MB, free: 9.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.09832, allocations: 41.7 kB / 410.7 MB, free: 9.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009859/0.09931, allocations: 1.811 MB / 412.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.09951, allocations: 376.9 kB / 412.9 MB, free: 7.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/0.09988, allocations: 451.7 kB / 413.3 MB, free: 6.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.09997, allocations: 345.9 kB / 413.7 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/0.1007, allocations: 0.8356 MB / 414.5 MB, free: 5.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.1018, allocations: 1.82 MB / 416.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.1041, allocations: 2.802 MB / 419.1 MB, free: 60 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.1041, allocations: 15.94 kB / 419.1 MB, free: 44 kB / 378.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002452/0.1065, allocations: 2.751 MB / 421.9 MB, free: 13.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.1066, allocations: 23.98 kB / 421.9 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.1066, allocations: 32 kB / 422 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/0.1066, allocations: 51.94 kB / 422 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008517/0.1075, allocations: 0.5186 MB / 422.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-05/0.1075, allocations: 71.72 kB / 422.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/0.1083, allocations: 298.2 kB / 422.9 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.887e-05/0.1083, allocations: 112 kB / 423 MB, free: 12.19 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.001668/0.11, allocations: 1.48 MB / 424.5 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.1101, allocations: 131.1 kB / 424.6 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.1118, allocations: 1.461 MB / 426.1 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009028/0.1127, allocations: 1.045 MB / 427.1 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.1127, allocations: 4 kB / 427.1 MB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.1127, allocations: 3.984 kB / 427.1 MB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009798/0.1225, allocations: 10.18 MB / 437.3 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.1225, allocations: 20 kB / 437.3 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/0.123, allocations: 235.5 kB / 437.6 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/0.123, allocations: 24 kB / 437.6 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.123, allocations: 52.67 kB / 437.6 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.125e-05/0.123, allocations: 43.8 kB / 437.7 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/0.1231, allocations: 39.81 kB / 437.7 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.1255, allocations: 2.618 MB / 440.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/0.1259, allocations: 266.8 kB / 440.6 MB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-05/0.126, allocations: 55.86 kB / 440.6 MB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.1264, allocations: 67.94 kB / 440.7 MB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/0.1265, allocations: 147.4 kB / 440.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.1266, allocations: 59.98 kB / 440.9 MB, free: 9.578 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008423/0.1274, allocations: 0.9021 MB / 441.8 MB, free: 8.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1274, allocations: 3.938 kB / 441.8 MB, free: 8.664 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001907/0.1293, allocations: 0.8754 MB / 442.7 MB, free: 7.785 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.0003103/0.1296, allocations: 210.5 kB / 442.9 MB, free: 7.574 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.1316, allocations: 1.836 MB / 444.7 MB, free: 5.738 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.1316, allocations: 4.938 kB / 444.7 MB, free: 5.734 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.1321, allocations: 0.6201 MB / 445.4 MB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.1333, allocations: 352.6 kB / 445.7 MB, free: 4.781 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1504/0.2836, allocations: 6.272 MB / 452 MB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.2854, allocations: 2.182 MB / 454.2 MB, free: 112.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.2858, allocations: 142.4 kB / 454.3 MB, free: 112.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/0.2858, allocations: 3.906 kB / 454.3 MB, free: 112.3 MB / 410.7 MB Notification: Performance of Templates: time 0.03353/0.3193, allocations: 37.25 MB / 491.5 MB, free: 80.54 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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: 6.576448870822787]