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.0009969/0.0009969, allocations: 91.52 kB / 20.92 MB, free: 3.633 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.0009801/0.0009801, allocations: 156.5 kB / 24.22 MB, free: 344 kB / 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.9631/0.9631, allocations: 177 MB / 204.4 MB, free: 5.672 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.233e-06/1.233e-06, allocations: 0 / 272.1 MB, free: 1.891 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.435e-05, allocations: 2.312 kB / 272.1 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01532/0.01533, allocations: 9.41 MB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004836/0.02017, allocations: 2.713 MB / 284.3 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007413/0.02091, allocations: 91.56 kB / 284.3 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005867/0.02678, allocations: 4.453 MB / 288.8 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.0286, allocations: 0.7917 MB / 289.6 MB, free: 356 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1124/0.141, allocations: 0.9414 MB / 290.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003049/0.144, allocations: 4.222 MB / 294.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007115/0.1512, allocations: 7.071 MB / 301.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003539/0.1547, allocations: 3.622 MB / 305.4 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.1571, allocations: 2.547 MB / 308 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008367/0.158, allocations: 0.6649 MB / 308.7 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009025/0.1589, allocations: 0.887 MB / 309.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004838/0.1594, allocations: 1.286 MB / 310.8 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.1605, allocations: 1.724 MB / 312.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.1629, allocations: 4.43 MB / 317 MB, free: 2.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1629, allocations: 0.5312 kB / 317 MB, free: 2.055 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1629, allocations: 0 / 317 MB, free: 2.055 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.463e-05/0.163, allocations: 0.5312 kB / 317 MB, free: 2.055 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.006634/0.1696, allocations: 5.798 MB / 322.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1696, allocations: 15.97 kB / 322.8 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004565/0.1742, allocations: 1.845 MB / 324.6 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.1766, allocations: 2.445 MB / 327.1 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.1768, allocations: 343.9 kB / 327.4 MB, free: 7.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004822/0.1773, allocations: 468.8 kB / 327.9 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004539/0.1818, allocations: 2.727 MB / 330.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.507e-05/0.1819, allocations: 15.92 kB / 330.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/0.1822, allocations: 190.2 kB / 330.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.1824, allocations: 193.5 kB / 331 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.1854, allocations: 1.647 MB / 332.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/0.2, allocations: 17.22 MB / 349.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.2028, allocations: 1.972 MB / 351.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.2032, allocations: 321.5 kB / 352.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.2033, allocations: 56.95 kB / 352.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2033, allocations: 42.39 kB / 352.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 2.214e-06/0.2033, allocations: 0 / 352.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.001015/0.2043, allocations: 0.7569 MB / 353 MB, free: 13.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.2044, allocations: 60.41 kB / 353.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.2056, allocations: 1.556 MB / 354.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.2057, allocations: 41.7 kB / 354.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008707/0.2066, allocations: 2.175 MB / 356.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.2067, allocations: 378.2 kB / 357.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004462/0.2072, allocations: 0.5408 MB / 357.7 MB, free: 9.188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002597/0.2074, allocations: 0.5433 MB / 358.3 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.2078, allocations: 272.2 kB / 358.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.2089, allocations: 1.976 MB / 360.5 MB, free: 5.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.2105, allocations: 2.474 MB / 363 MB, free: 2.586 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.2105, allocations: 12 kB / 363 MB, free: 2.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00202/0.2125, allocations: 1.844 MB / 364.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.2125, allocations: 23.94 kB / 364.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.2126, allocations: 40 kB / 364.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.06e-05/0.2126, allocations: 56 kB / 365 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009072/0.2135, allocations: 0.5375 MB / 365.5 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/0.2136, allocations: 80.83 kB / 365.6 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.2142, allocations: 294.4 kB / 365.9 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.2143, allocations: 124 kB / 366 MB, free: 15.89 MB / 330.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.0004534/0.2148, allocations: 329.8 kB / 366.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.2149, allocations: 163.1 kB / 366.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009935/0.2159, allocations: 0.889 MB / 367.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005234/0.2164, allocations: 478 kB / 367.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2164, allocations: 0 / 367.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2164, allocations: 7.969 kB / 367.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005659/0.2221, allocations: 5.016 MB / 372.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.2221, allocations: 20 kB / 372.9 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.2225, allocations: 218.3 kB / 373.1 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/0.2225, allocations: 24 kB / 373.1 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.2225, allocations: 44 kB / 373.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/0.2226, allocations: 35.39 kB / 373.2 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.738e-05/0.2226, allocations: 39.22 kB / 373.2 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.2239, allocations: 1.788 MB / 375 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.2242, allocations: 238.8 kB / 375.3 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.305e-05/0.2243, allocations: 51.64 kB / 375.3 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.2246, allocations: 63.94 kB / 375.4 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.2247, allocations: 130.5 kB / 375.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.2248, allocations: 59.98 kB / 375.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006047/0.2254, allocations: 0.683 MB / 376.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2254, allocations: 0 / 376.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001558/0.2269, allocations: 0.9608 MB / 377.2 MB, free: 4.117 MB / 330.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.0002732/0.2272, allocations: 203 kB / 377.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.2285, allocations: 1.144 MB / 378.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2285, allocations: 2 kB / 378.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.2288, allocations: 320.2 kB / 378.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.23, allocations: 391 kB / 379.2 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006043/0.2361, allocations: 6.241 MB / 385.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.2368, allocations: 1.126 MB / 386.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009193/0.2377, allocations: 0.7116 MB / 387.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.2379, allocations: 119.9 kB / 387.4 MB, free: 9.699 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2379, allocations: 0 / 387.4 MB, free: 9.699 MB / 346.7 MB Notification: Performance of Templates: time 0.02079/0.2587, allocations: 16.8 MB / 404.2 MB, free: 9.207 MB / 362.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.208573163021356]