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.0009972/0.0009972, allocations: 75.69 kB / 21.7 MB, free: 2.848 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.001057/0.001057, allocations: 159.3 kB / 24.98 MB, free: 8.754 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.9706/0.9706, allocations: 177 MB / 205.2 MB, free: 5.594 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.263e-06/1.263e-06, allocations: 0 / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.404e-05, allocations: 2.312 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.007309/0.007323, allocations: 9.404 MB / 282.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.01136, allocations: 2.709 MB / 285.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.01195, allocations: 91.5 kB / 285.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004005/0.01595, allocations: 4.465 MB / 289.7 MB, free: 1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.0174, allocations: 0.7916 MB / 290.5 MB, free: 208 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1087/0.1261, allocations: 0.9383 MB / 291.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003413/0.1296, allocations: 4.228 MB / 295.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008196/0.1377, allocations: 7.064 MB / 302.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.1417, allocations: 3.625 MB / 306.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/0.1443, allocations: 2.547 MB / 308.9 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008214/0.1451, allocations: 0.6635 MB / 309.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1462, allocations: 0.8901 MB / 310.4 MB, free: 7.531 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006806/0.1468, allocations: 1.278 MB / 311.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.1481, allocations: 1.736 MB / 313.4 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.1513, allocations: 4.42 MB / 317.9 MB, free: 1.988 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1513, allocations: 0.625 kB / 317.9 MB, free: 1.988 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1513, allocations: 4 kB / 317.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.911e-05/0.1513, allocations: 0.5 kB / 317.9 MB, free: 1.984 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.008802/0.1601, allocations: 5.799 MB / 323.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1601, allocations: 15.98 kB / 323.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007235/0.1674, allocations: 1.85 MB / 325.5 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/0.1705, allocations: 2.435 MB / 328 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.1707, allocations: 349.5 kB / 328.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005594/0.1713, allocations: 456.9 kB / 328.7 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005301/0.1766, allocations: 2.752 MB / 331.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.122e-05/0.1767, allocations: 11.92 kB / 331.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/0.177, allocations: 194.4 kB / 331.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001694/0.1772, allocations: 193.5 kB / 331.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004232/0.1814, allocations: 1.645 MB / 333.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/0.1997, allocations: 17.21 MB / 350.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/0.2025, allocations: 1.969 MB / 352.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.203, allocations: 325.5 kB / 353 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.2031, allocations: 48.95 kB / 353.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.2031, allocations: 46.39 kB / 353.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 2.785e-06/0.2031, allocations: 0 / 353.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.001058/0.2041, allocations: 0.7532 MB / 353.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.2042, allocations: 60.41 kB / 353.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.2056, allocations: 1.567 MB / 355.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.2056, allocations: 45.69 kB / 355.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009432/0.2066, allocations: 2.172 MB / 357.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.2068, allocations: 368 kB / 358.1 MB, free: 9.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004495/0.2072, allocations: 0.5408 MB / 358.6 MB, free: 9.109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2074, allocations: 0.5433 MB / 359.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.2078, allocations: 272.2 kB / 359.4 MB, free: 8.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.2089, allocations: 1.981 MB / 361.4 MB, free: 5.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.2106, allocations: 2.475 MB / 363.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/0.2107, allocations: 15.94 kB / 363.9 MB, free: 2.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001973/0.2126, allocations: 1.839 MB / 365.7 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.2127, allocations: 27.94 kB / 365.8 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.2127, allocations: 40 kB / 365.8 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.023e-05/0.2127, allocations: 55.98 kB / 365.9 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008934/0.2136, allocations: 0.5336 MB / 366.4 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.116e-05/0.2137, allocations: 82.06 kB / 366.5 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/0.2144, allocations: 298.4 kB / 366.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.2145, allocations: 128 kB / 366.9 MB, free: 15.8 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.0004734/0.215, allocations: 315.4 kB / 367.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.2151, allocations: 171.1 kB / 367.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.2161, allocations: 0.8851 MB / 368.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005361/0.2167, allocations: 482.2 kB / 368.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2167, allocations: 3.984 kB / 368.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.2167, allocations: 3.984 kB / 368.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005897/0.2226, allocations: 5.016 MB / 373.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.2226, allocations: 20 kB / 373.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.2229, allocations: 217.1 kB / 374 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.223, allocations: 28 kB / 374 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.223, allocations: 47.98 kB / 374.1 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.692e-05/0.223, allocations: 38.3 kB / 374.1 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/0.223, allocations: 31.12 kB / 374.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.2247, allocations: 1.794 MB / 375.9 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.2249, allocations: 234.8 kB / 376.1 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.225, allocations: 43.98 kB / 376.2 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.2254, allocations: 63.94 kB / 376.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.2255, allocations: 137.3 kB / 376.4 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.2256, allocations: 51.98 kB / 376.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006555/0.2262, allocations: 0.6869 MB / 377.1 MB, free: 5 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2262, allocations: 3.938 kB / 377.1 MB, free: 4.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00192/0.2282, allocations: 0.9569 MB / 378.1 MB, free: 4.035 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.0002797/0.2284, allocations: 206.9 kB / 378.3 MB, free: 3.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.23, allocations: 1.152 MB / 379.4 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.23, allocations: 5.875 kB / 379.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.2303, allocations: 309.6 kB / 379.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.2315, allocations: 396.3 kB / 380.1 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006919/0.2384, allocations: 6.244 MB / 386.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/0.2392, allocations: 1.122 MB / 387.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000966/0.2402, allocations: 0.7077 MB / 388.2 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.2403, allocations: 124.5 kB / 388.3 MB, free: 9.605 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2403, allocations: 0 / 388.3 MB, free: 9.605 MB / 346.7 MB Notification: Performance of Templates: time 0.02103/0.2614, allocations: 16.8 MB / 405.1 MB, free: 9.121 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.1848584038671106]