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.001348/0.001348, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001169/0.001169, allocations: 156.5 kB / 24.55 MB, free: 16 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.9281/0.9281, allocations: 177 MB / 204.8 MB, free: 5.602 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 2.274e-06/2.274e-06, allocations: 3.938 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.386e-05, allocations: 5.266 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.02068/0.02072, allocations: 9.462 MB / 282.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004447/0.02516, allocations: 2.717 MB / 285.1 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006817/0.02584, allocations: 91.56 kB / 285.2 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.02994, allocations: 4.477 MB / 289.7 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1131/0.1431, allocations: 0.7911 MB / 290.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.1453, allocations: 0.9461 MB / 291.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003602/0.1489, allocations: 4.223 MB / 295.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007345/0.1562, allocations: 7.065 MB / 302.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.1595, allocations: 3.622 MB / 306.3 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.1614, allocations: 2.57 MB / 308.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005518/0.162, allocations: 0.6632 MB / 309.5 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008522/0.1628, allocations: 0.8885 MB / 310.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005142/0.1633, allocations: 1.288 MB / 311.7 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.1644, allocations: 1.721 MB / 313.4 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.1667, allocations: 4.43 MB / 317.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1667, allocations: 0 / 317.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1667, allocations: 0.5 kB / 317.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.1668, allocations: 0.75 kB / 317.9 MB, free: 1.867 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.006137/0.1729, allocations: 5.802 MB / 323.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1729, allocations: 15.98 kB / 323.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004835/0.1778, allocations: 1.847 MB / 325.5 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.18, allocations: 2.447 MB / 328 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.1802, allocations: 349.8 kB / 328.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.1806, allocations: 455.9 kB / 328.8 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004229/0.1848, allocations: 2.747 MB / 331.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.338e-05/0.1849, allocations: 7.938 kB / 331.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.1851, allocations: 186.7 kB / 331.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.1852, allocations: 194.6 kB / 331.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.1882, allocations: 1.645 MB / 333.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/0.2027, allocations: 17.22 MB / 350.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.2052, allocations: 1.972 MB / 352.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006358/0.2059, allocations: 329.5 kB / 353.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.019e-05/0.2059, allocations: 40.97 kB / 353.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.206, allocations: 46.39 kB / 353.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 2.174e-06/0.206, allocations: 0 / 353.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.0009245/0.2069, allocations: 0.7528 MB / 353.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.2069, allocations: 60.41 kB / 354 MB, free: 13.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.2082, allocations: 1.567 MB / 355.5 MB, free: 12.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.2083, allocations: 41.7 kB / 355.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008874/0.2091, allocations: 2.182 MB / 357.7 MB, free: 9.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.2093, allocations: 369.4 kB / 358.1 MB, free: 9.539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.2098, allocations: 0.5369 MB / 358.6 MB, free: 8.992 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2099, allocations: 0.5355 MB / 359.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.2103, allocations: 272.2 kB / 359.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.2116, allocations: 1.984 MB / 361.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.2133, allocations: 2.474 MB / 363.9 MB, free: 2.395 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.2133, allocations: 8 kB / 363.9 MB, free: 2.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001861/0.2152, allocations: 1.847 MB / 365.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.2152, allocations: 27.94 kB / 365.8 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.2152, allocations: 40.88 kB / 365.8 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.753e-05/0.2153, allocations: 52 kB / 365.9 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.2164, allocations: 0.5483 MB / 366.4 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.347e-05/0.2165, allocations: 78.41 kB / 366.5 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/0.2171, allocations: 295.2 kB / 366.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.2172, allocations: 124 kB / 366.9 MB, free: 15.68 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.0004354/0.2176, allocations: 319.1 kB / 367.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.2178, allocations: 175.1 kB / 367.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009572/0.2187, allocations: 0.8888 MB / 368.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005277/0.2193, allocations: 478.5 kB / 368.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2193, allocations: 0 / 368.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.2193, allocations: 3.984 kB / 368.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006037/0.2253, allocations: 5.017 MB / 373.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.2253, allocations: 20 kB / 373.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.2257, allocations: 213.5 kB / 374 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.2257, allocations: 24 kB / 374 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.2257, allocations: 52.64 kB / 374.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/0.2258, allocations: 38.58 kB / 374.1 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.2258, allocations: 35.5 kB / 374.1 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.2272, allocations: 1.79 MB / 375.9 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.2274, allocations: 238.8 kB / 376.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.2275, allocations: 47.97 kB / 376.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.2278, allocations: 59.95 kB / 376.3 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2279, allocations: 137.5 kB / 376.4 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.228, allocations: 56.03 kB / 376.5 MB, free: 5.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006302/0.2286, allocations: 0.6869 MB / 377.1 MB, free: 4.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2286, allocations: 0 / 377.1 MB, free: 4.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001595/0.2302, allocations: 0.9531 MB / 378.1 MB, free: 3.922 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.000238/0.2304, allocations: 207.6 kB / 378.3 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.2316, allocations: 1.153 MB / 379.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.2316, allocations: 4 kB / 379.5 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.232, allocations: 315.8 kB / 379.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.2331, allocations: 389.7 kB / 380.1 MB, free: 2.109 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006415/0.2395, allocations: 6.245 MB / 386.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.2405, allocations: 1.122 MB / 387.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009317/0.2415, allocations: 0.7116 MB / 388.2 MB, free: 9.609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.2417, allocations: 124.5 kB / 388.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2417, allocations: 0 / 388.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of Templates: time 0.02731/0.269, allocations: 17.95 MB / 406.3 MB, free: 7.875 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.1232660030946136]