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.001374/0.001374, allocations: 84.34 kB / 22.21 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.001031/0.001031, allocations: 158.9 kB / 25.61 MB, free: 8.891 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.9353/0.9353, allocations: 177 MB / 205.9 MB, free: 4.457 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.162e-06/1.162e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.103e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.007402/0.007423, allocations: 9.151 MB / 283.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004831/0.01225, allocations: 2.69 MB / 286 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.01327, allocations: 91.56 kB / 286 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004043/0.01732, allocations: 4.359 MB / 290.4 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.01922, allocations: 0.7915 MB / 291.2 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.02054, allocations: 0.9302 MB / 292.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003145/0.02368, allocations: 4.224 MB / 296.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00714/0.03082, allocations: 7.063 MB / 303.4 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.03425, allocations: 3.627 MB / 307 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002716/0.03697, allocations: 2.585 MB / 309.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.03805, allocations: 0.6641 MB / 310.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.0392, allocations: 0.8824 MB / 311.2 MB, free: 15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008184/0.04001, allocations: 1.29 MB / 312.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001892/0.04191, allocations: 1.719 MB / 314.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.0456, allocations: 4.425 MB / 318.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.0456, allocations: 3.938 kB / 318.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.0456, allocations: 0 / 318.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.747e-05/0.04566, allocations: 4 kB / 318.6 MB, free: 7.535 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.007173/0.05283, allocations: 5.675 MB / 324.3 MB, free: 1.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.05287, allocations: 8.031 kB / 324.3 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/0.05735, allocations: 1.716 MB / 326 MB, free: 72 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.05965, allocations: 2.291 MB / 328.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.05982, allocations: 345.8 kB / 328.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004202/0.06024, allocations: 456.4 kB / 329.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003098/0.06334, allocations: 2.43 MB / 331.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.977e-05/0.06341, allocations: 0 / 331.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/0.06367, allocations: 192 kB / 331.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.0638, allocations: 197.5 kB / 331.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.06593, allocations: 1.324 MB / 333.2 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1456/0.2115, allocations: 17.03 MB / 350.3 MB, free: 45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.2137, allocations: 1.43 MB / 351.7 MB, free: 44.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.214, allocations: 290.9 kB / 352 MB, free: 44.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.2141, allocations: 45 kB / 352 MB, free: 44.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2141, allocations: 46.86 kB / 352.1 MB, free: 44.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 3.546e-06/0.2141, allocations: 0 / 352.1 MB, free: 44.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.0009049/0.215, allocations: 0.6608 MB / 352.7 MB, free: 44.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.2151, allocations: 67.94 kB / 352.8 MB, free: 44.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.2163, allocations: 1.535 MB / 354.3 MB, free: 44.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.2164, allocations: 45.59 kB / 354.4 MB, free: 44.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009204/0.2173, allocations: 2.184 MB / 356.6 MB, free: 43.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.2175, allocations: 372.4 kB / 356.9 MB, free: 43.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004667/0.218, allocations: 0.5511 MB / 357.5 MB, free: 43.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.2181, allocations: 0.5434 MB / 358 MB, free: 42.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.2183, allocations: 208.9 kB / 358.2 MB, free: 42.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/0.219, allocations: 1.937 MB / 360.2 MB, free: 40.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.2203, allocations: 2.386 MB / 362.5 MB, free: 38.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.2203, allocations: 9.344 kB / 362.5 MB, free: 38.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001707/0.222, allocations: 1.699 MB / 364.2 MB, free: 38.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.2221, allocations: 22.03 kB / 364.3 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/0.2221, allocations: 41.75 kB / 364.3 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/0.2221, allocations: 53.84 kB / 364.4 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/0.2229, allocations: 0.5164 MB / 364.9 MB, free: 38.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.851e-05/0.223, allocations: 83.09 kB / 365 MB, free: 38.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007405/0.2237, allocations: 275.2 kB / 365.2 MB, free: 38.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.2239, allocations: 104.4 kB / 365.3 MB, free: 38.2 MB / 314.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.0006307/0.2245, allocations: 317.2 kB / 365.6 MB, free: 38.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.2247, allocations: 168.7 kB / 365.8 MB, free: 37.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008027/0.2255, allocations: 0.8366 MB / 366.6 MB, free: 37.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003842/0.2259, allocations: 414.9 kB / 367 MB, free: 37.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2259, allocations: 3.938 kB / 367.1 MB, free: 37.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.2259, allocations: 3.797 kB / 367.1 MB, free: 37.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004807/0.2307, allocations: 3.906 MB / 371 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/0.2307, allocations: 21.31 kB / 371 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.231, allocations: 194.4 kB / 371.2 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.2311, allocations: 30.41 kB / 371.2 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.2311, allocations: 40.34 kB / 371.2 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.57e-05/0.2311, allocations: 43.03 kB / 371.3 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/0.2311, allocations: 28.81 kB / 371.3 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.2323, allocations: 1.703 MB / 373 MB, free: 35.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.2326, allocations: 232 kB / 373.2 MB, free: 34.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/0.2327, allocations: 41.11 kB / 373.3 MB, free: 34.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.233, allocations: 40.52 kB / 373.3 MB, free: 34.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.2331, allocations: 133.3 kB / 373.5 MB, free: 34.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.2332, allocations: 50.06 kB / 373.5 MB, free: 34.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004637/0.2336, allocations: 0.6484 MB / 374.1 MB, free: 34.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2336, allocations: 4 kB / 374.2 MB, free: 34.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002157/0.2358, allocations: 0.9507 MB / 375.1 MB, free: 33.49 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.0002347/0.236, allocations: 206.5 kB / 375.3 MB, free: 33.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.2371, allocations: 1.083 MB / 376.4 MB, free: 32.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.2371, allocations: 4 kB / 376.4 MB, free: 32.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.2373, allocations: 303.6 kB / 376.7 MB, free: 32.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.2385, allocations: 395.7 kB / 377.1 MB, free: 32.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/0.2444, allocations: 6.223 MB / 383.3 MB, free: 26.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.2451, allocations: 1.125 MB / 384.4 MB, free: 25.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004694/0.2455, allocations: 237.6 kB / 384.7 MB, free: 24.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.246, allocations: 394 kB / 385 MB, free: 24.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.863e-06/0.246, allocations: 0 / 385 MB, free: 24.48 MB / 314.7 MB Notification: Performance of Templates: time 0.0244/0.2704, allocations: 18.59 MB / 403.6 MB, free: 6.238 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2822285848669708]