Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009823/0.0009823, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001223, allocations: 194.3 kB / 16.14 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3723/0.3723, allocations: 39.92 MB / 309.3 MB, free: 9.676 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 70.41 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1791, allocations: 56.88 MB / 433.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004524/0.1837, allocations: 1.701 MB / 435.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.185, allocations: 0.562 MB / 436.1 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1851, allocations: 0 / 436.1 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.1853, allocations: 7.938 kB / 436.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.1854, allocations: 11.86 kB / 436.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1857, allocations: 55.89 kB / 436.1 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.1859, allocations: 99.7 kB / 436.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.1861, allocations: 35.95 kB / 436.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1863, allocations: 43.83 kB / 436.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1865, allocations: 39.78 kB / 436.3 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.1865, allocations: 8 kB / 436.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.402e-05/0.1866, allocations: 4 kB / 436.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.1866, allocations: 23.86 kB / 436.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.687e-05/0.1867, allocations: 43.78 kB / 436.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1869, allocations: 99.89 kB / 436.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1869, allocations: 0 / 436.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1869, allocations: 4 kB / 436.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1869, allocations: 0 / 436.5 MB, free: 1.664 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00114/0.1881, allocations: 407.1 kB / 436.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.053e-05/0.1882, allocations: 12.03 kB / 436.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.1882, allocations: 12.84 kB / 436.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1885, allocations: 204.1 kB / 437.1 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1885, allocations: 4.375 kB / 437.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.1886, allocations: 24.03 kB / 437.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1888, allocations: 89.58 kB / 437.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1889, allocations: 0 / 437.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1889, allocations: 4 kB / 437.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1889, allocations: 0 / 437.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.189, allocations: 51.91 kB / 437.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.1897, allocations: 364.6 kB / 437.7 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1899, allocations: 62.64 kB / 437.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.19, allocations: 28.89 kB / 437.8 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.19, allocations: 3.984 kB / 437.8 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1903, allocations: 103.3 kB / 437.9 MB, free: 160 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.1903, allocations: 0 / 437.9 MB, free: 160 kB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003766/0.1906, allocations: 125.5 kB / 438 MB, free: 28 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.1907, allocations: 59.34 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1908, allocations: 141.1 kB / 438.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1909, allocations: 29.7 kB / 438.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.191, allocations: 104.3 kB / 438.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.191, allocations: 27.61 kB / 438.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.1911, allocations: 37.7 kB / 438.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1912, allocations: 318.8 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.1913, allocations: 23.98 kB / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1914, allocations: 95.39 kB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1916, allocations: 115.6 kB / 438.9 MB, free: 15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1916, allocations: 3.938 kB / 438.9 MB, free: 15 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002521/0.1919, allocations: 137.4 kB / 439.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1919, allocations: 4 kB / 439.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1919, allocations: 8.219 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.1919, allocations: 7.938 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1921, allocations: 19.98 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1921, allocations: 7.984 kB / 439.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.351e-05/0.1922, allocations: 7.906 kB / 439.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1922, allocations: 8 kB / 439.1 MB, free: 14.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001429/0.1924, allocations: 126.2 kB / 439.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.1924, allocations: 11.84 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.1925, allocations: 20.7 kB / 439.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1925, allocations: 3.938 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1925, allocations: 3.938 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1925, allocations: 4 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1928, allocations: 201.5 kB / 439.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1928, allocations: 4 kB / 439.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1929, allocations: 8 kB / 439.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1929, allocations: 3.938 kB / 439.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1929, allocations: 7.984 kB / 439.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.1929, allocations: 11.94 kB / 439.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.193, allocations: 4 kB / 439.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.1934, allocations: 161 kB / 439.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1935, allocations: 81.02 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1935, allocations: 8 kB / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.1936, allocations: 7.922 kB / 439.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.1937, allocations: 4 kB / 439.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.1937, allocations: 12.05 kB / 439.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.692e-05/0.1938, allocations: 107.3 kB / 439.9 MB, free: 13.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1938, allocations: 0 / 439.9 MB, free: 13.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1941, allocations: 15.91 kB / 439.9 MB, free: 13.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001803/0.1943, allocations: 111.2 kB / 440 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.1945, allocations: 79.83 kB / 440.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1945, allocations: 448 / 440.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1946, allocations: 35.92 kB / 440.1 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.195, allocations: 15.98 kB / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007647/0.1957, allocations: 275.1 kB / 440.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.1961, allocations: 0.7042 MB / 441.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.1962, allocations: 16.41 kB / 441.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.1962, allocations: 11.44 kB / 441.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1962, allocations: 0 / 441.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of Templates: time 0.004279/0.2005, allocations: 0.8556 MB / 442 MB, free: 11.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)