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.001356/0.001356, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001493/0.001493, allocations: 161.5 kB / 25.61 MB, free: 8.582 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.9539/0.9539, allocations: 177 MB / 205.9 MB, free: 4.41 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 8.52e-07/8.52e-07, allocations: 0 / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.581e-05, allocations: 5.703 kB / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01474/0.01476, allocations: 8.592 MB / 282.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.0257, allocations: 2.589 MB / 285.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.02686, allocations: 83.62 kB / 285.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004835/0.0317, allocations: 3.877 MB / 289.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.03387, allocations: 0.7646 MB / 290 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.03523, allocations: 0.9107 MB / 290.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003601/0.03883, allocations: 3.769 MB / 294.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007946/0.04678, allocations: 6.148 MB / 300.8 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004808/0.05159, allocations: 3.206 MB / 304.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/0.05473, allocations: 2.304 MB / 306.4 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.05581, allocations: 0.582 MB / 306.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.0574, allocations: 0.8159 MB / 307.8 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008524/0.05825, allocations: 1.149 MB / 308.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002201/0.06045, allocations: 1.54 MB / 310.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003827/0.06428, allocations: 3.973 MB / 314.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.06428, allocations: 0 / 314.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.06428, allocations: 0 / 314.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.458e-05/0.06437, allocations: 0 / 314.4 MB, free: 11.79 MB / 298.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.007704/0.07207, allocations: 5.165 MB / 319.6 MB, free: 6.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.07211, allocations: 8.031 kB / 319.6 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/0.07663, allocations: 1.669 MB / 321.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.07929, allocations: 2.019 MB / 323.3 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.07947, allocations: 308.8 kB / 323.6 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007543/0.08022, allocations: 419.9 kB / 324 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.08376, allocations: 2.204 MB / 326.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/0.08383, allocations: 7.953 kB / 326.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002446/0.08407, allocations: 171.9 kB / 326.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.08421, allocations: 180.6 kB / 326.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.08615, allocations: 1.224 MB / 327.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01689/0.103, allocations: 15.53 MB / 343.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.1047, allocations: 1.188 MB / 344.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.1051, allocations: 377.4 kB / 344.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.1053, allocations: 56.89 kB / 344.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.1053, allocations: 46.39 kB / 345 MB, free: 12.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=100): time 3.917e-06/0.1053, allocations: 0 / 345 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.001302/0.1066, allocations: 0.6949 MB / 345.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1066, allocations: 64.41 kB / 345.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.1079, allocations: 1.379 MB / 347.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.108, allocations: 41.7 kB / 347.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.109, allocations: 1.955 MB / 349.1 MB, free: 8.297 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.1092, allocations: 392.8 kB / 349.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004438/0.1097, allocations: 0.5208 MB / 350 MB, free: 7.379 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1098, allocations: 0.5354 MB / 350.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.1101, allocations: 216.1 kB / 350.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.1113, allocations: 1.725 MB / 352.5 MB, free: 4.238 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.1129, allocations: 2.169 MB / 354.6 MB, free: 1.418 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.1129, allocations: 8 kB / 354.6 MB, free: 1.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.1301/0.243, allocations: 1.621 MB / 356.3 MB, free: 63.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.243, allocations: 19.88 kB / 356.3 MB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.005e-05/0.2431, allocations: 33.75 kB / 356.3 MB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-05/0.2432, allocations: 49.95 kB / 356.4 MB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.2443, allocations: 0.4924 MB / 356.9 MB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.043e-05/0.2443, allocations: 70.08 kB / 356.9 MB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000913/0.2453, allocations: 254.7 kB / 357.2 MB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.2454, allocations: 97.52 kB / 357.3 MB, free: 63.23 MB / 330.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.0008522/0.2462, allocations: 312.3 kB / 357.6 MB, free: 63.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.2464, allocations: 162.9 kB / 357.7 MB, free: 63.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.2475, allocations: 0.8754 MB / 358.6 MB, free: 62.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005041/0.248, allocations: 443.8 kB / 359 MB, free: 62.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.248, allocations: 4.375 kB / 359 MB, free: 62.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.248, allocations: 7.172 kB / 359.1 MB, free: 62.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/0.2538, allocations: 4.898 MB / 364 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.2538, allocations: 20.38 kB / 364 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.2541, allocations: 207.7 kB / 364.2 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.2542, allocations: 26.47 kB / 364.2 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.2542, allocations: 49.17 kB / 364.2 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.018e-05/0.2542, allocations: 43.94 kB / 364.3 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-05/0.2542, allocations: 33.53 kB / 364.3 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.2554, allocations: 1.825 MB / 366.1 MB, free: 60.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.2557, allocations: 227.4 kB / 366.4 MB, free: 59.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.2557, allocations: 59.5 kB / 366.4 MB, free: 59.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.2561, allocations: 39.41 kB / 366.5 MB, free: 59.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.2562, allocations: 146.7 kB / 366.6 MB, free: 59.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.2562, allocations: 57.78 kB / 366.7 MB, free: 59.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003877/0.2566, allocations: 0.5952 MB / 367.3 MB, free: 59.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2566, allocations: 0 / 367.3 MB, free: 59.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001638/0.2582, allocations: 0.8785 MB / 368.1 MB, free: 59.64 MB / 330.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.0002201/0.2585, allocations: 207.8 kB / 368.3 MB, free: 59.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.2596, allocations: 1.066 MB / 369.4 MB, free: 59.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.2596, allocations: 4.844 kB / 369.4 MB, free: 59.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004409/0.26, allocations: 321.4 kB / 369.7 MB, free: 59.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.2612, allocations: 352 kB / 370.1 MB, free: 59.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007762/0.269, allocations: 5.804 MB / 375.9 MB, free: 56.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009118/0.2699, allocations: 1.01 MB / 376.9 MB, free: 56.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007473/0.2706, allocations: 217.1 kB / 377.1 MB, free: 56.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/0.2713, allocations: 373.6 kB / 377.5 MB, free: 56.09 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2713, allocations: 0 / 377.5 MB, free: 56.09 MB / 330.7 MB Notification: Performance of Templates: time 0.02373/0.295, allocations: 17.46 MB / 394.9 MB, free: 42.68 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3046228606253862]