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.0007743/0.0007743, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001808, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006928/0.0006928, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009564/0.001649, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9346/0.9346, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08775/1.022, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.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.483e-06/1.483e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.289e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.02138/0.0214, allocations: 9.259 MB / 254.5 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008315/0.02972, allocations: 2.875 MB / 257.3 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004062/0.03378, allocations: 91.56 kB / 257.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.04536, allocations: 4.464 MB / 261.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.04756, allocations: 0.7877 MB / 262.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004568/0.05212, allocations: 0.9381 MB / 263.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006927/0.05905, allocations: 4.255 MB / 267.9 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.134/0.1931, allocations: 7.146 MB / 275 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/0.1988, allocations: 3.696 MB / 278.7 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/0.2026, allocations: 2.604 MB / 281.3 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001476/0.2041, allocations: 0.6648 MB / 282 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.2057, allocations: 0.9015 MB / 282.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007542/0.2065, allocations: 1.002 MB / 283.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.208, allocations: 1.45 MB / 285.3 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.2114, allocations: 4.191 MB / 289.5 MB, free: 3.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.2114, allocations: 0 / 289.5 MB, free: 3.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2114, allocations: 0 / 289.5 MB, free: 3.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.159e-05/0.2115, allocations: 0 / 289.5 MB, free: 3.969 MB / 266.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.008009/0.2195, allocations: 6.134 MB / 295.7 MB, free: 1.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.2195, allocations: 8.25 kB / 295.7 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005913/0.2254, allocations: 1.746 MB / 297.4 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.2277, allocations: 1.346 MB / 298.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004181/0.2281, allocations: 348.5 kB / 299.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005709/0.2287, allocations: 460.3 kB / 299.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004586/0.2333, allocations: 3.002 MB / 302.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.673e-05/0.2333, allocations: 3.938 kB / 302.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/0.2337, allocations: 192 kB / 302.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/0.2339, allocations: 193.5 kB / 302.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.2361, allocations: 1.144 MB / 304.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01576/0.2519, allocations: 13.28 MB / 317.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.2542, allocations: 1.344 MB / 318.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.2546, allocations: 255.5 kB / 318.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.2547, allocations: 48.95 kB / 319 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.2547, allocations: 43.56 kB / 319 MB, free: 12.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 3.226e-06/0.2547, allocations: 4 kB / 319 MB, free: 12.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0008504/0.2556, allocations: 490.3 kB / 319.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.2556, allocations: 60.41 kB / 319.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.2566, allocations: 1.035 MB / 320.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.2567, allocations: 41.7 kB / 320.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.2579, allocations: 1.941 MB / 322.6 MB, free: 8.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.2581, allocations: 363.7 kB / 323 MB, free: 8.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/0.2585, allocations: 442.8 kB / 323.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.2586, allocations: 352 kB / 323.7 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.259, allocations: 303.4 kB / 324 MB, free: 7.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008534/0.2599, allocations: 1.331 MB / 325.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.2618, allocations: 1.939 MB / 327.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/0.2619, allocations: 16 kB / 327.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002077/0.2639, allocations: 1.398 MB / 328.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.264, allocations: 20 kB / 328.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-05/0.264, allocations: 43.94 kB / 328.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.957e-05/0.2641, allocations: 52 kB / 328.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.2654, allocations: 0.5849 MB / 329.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.013e-05/0.2654, allocations: 81.86 kB / 329.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000932/0.2663, allocations: 270.1 kB / 329.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.2665, allocations: 104 kB / 329.8 MB, free: 1.059 MB / 298.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.0007511/0.2672, allocations: 278.1 kB / 330.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.2674, allocations: 103.9 kB / 330.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.2684, allocations: 0.689 MB / 330.9 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004315/0.2688, allocations: 300.5 kB / 331.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2688, allocations: 0 / 331.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.2689, allocations: 11.97 kB / 331.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005359/0.2742, allocations: 3.427 MB / 334.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/0.2742, allocations: 35.95 kB / 334.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005921/0.2748, allocations: 205.8 kB / 334.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.2751, allocations: 189.6 kB / 335.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-05/0.2752, allocations: 24 kB / 335.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/0.2752, allocations: 43.98 kB / 335.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-05/0.2752, allocations: 35.02 kB / 335.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.965e-05/0.2753, allocations: 31.22 kB / 335.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.2769, allocations: 1.403 MB / 336.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.2771, allocations: 47.92 kB / 336.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.2776, allocations: 36 kB / 336.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.2778, allocations: 137.7 kB / 336.8 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.2778, allocations: 47.98 kB / 336.9 MB, free: 9.918 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005126/0.2784, allocations: 438.6 kB / 337.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2784, allocations: 0 / 337.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001964/0.2803, allocations: 0.9492 MB / 338.2 MB, free: 8.586 MB / 314.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.0002794/0.2806, allocations: 192 kB / 338.4 MB, free: 8.414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009675/0.2816, allocations: 0.9792 MB / 339.4 MB, free: 7.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.099e-05/0.2816, allocations: 35.84 kB / 339.4 MB, free: 7.512 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.283, allocations: 1.036 MB / 340.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.2852, allocations: 2.798 MB / 343.3 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/0.3063, allocations: 6.245 MB / 349.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.3075, allocations: 0.8246 MB / 350.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006359/0.3081, allocations: 229.8 kB / 350.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/0.3086, allocations: 349.1 kB / 350.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.833e-06/0.3086, allocations: 4 kB / 350.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of Templates: time 0.02885/0.3374, allocations: 17.46 MB / 368.4 MB, free: 10.09 MB / 346.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.956326234154403]