Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 103.8 kB / 16.93 MB, free: 5.793 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.001222, allocations: 191.3 kB / 17.86 MB, free: 5.152 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.482/1.482, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2331/0.2331, allocations: 43.52 MB / 314.6 MB, free: 0.5273 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: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 65.14 kB / 383.4 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1776, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004219/0.1819, allocations: 1.648 MB / 442.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1834, allocations: 0.5658 MB / 443.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1835, allocations: 0 / 443.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.1837, allocations: 15.86 kB / 443.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.211e-05/0.1838, allocations: 23.8 kB / 443.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.1842, allocations: 51.88 kB / 443.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1843, allocations: 107.6 kB / 443.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.1846, allocations: 36.25 kB / 443.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1847, allocations: 39.84 kB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1849, allocations: 47.77 kB / 443.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.1849, allocations: 12 kB / 443.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.874e-05/0.1849, allocations: 12 kB / 443.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.185, allocations: 31.84 kB / 443.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.69e-05/0.1851, allocations: 39.8 kB / 443.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1853, allocations: 103.6 kB / 443.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1853, allocations: 7.938 kB / 443.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1853, allocations: 0 / 443.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1853, allocations: 0 / 443.9 MB, free: 4.156 MB / 318.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.000872/0.1862, allocations: 407 kB / 444.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1863, allocations: 15.89 kB / 444.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.1863, allocations: 8.844 kB / 444.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1866, allocations: 212 kB / 444.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1866, allocations: 8.375 kB / 444.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.1867, allocations: 12.38 kB / 444.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.187, allocations: 97.89 kB / 444.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.187, allocations: 0 / 444.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.1871, allocations: 4 kB / 444.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1871, allocations: 4 kB / 444.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.1873, allocations: 47.97 kB / 444.7 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.188, allocations: 360.6 kB / 445.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1882, allocations: 66.64 kB / 445.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1883, allocations: 24.89 kB / 445.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1883, allocations: 0 / 445.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.1886, allocations: 107.3 kB / 445.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.434e-06/0.1886, allocations: 0 / 445.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005236/0.1892, allocations: 129.5 kB / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.1892, allocations: 55.41 kB / 445.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1894, allocations: 145.6 kB / 445.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1894, allocations: 33.69 kB / 445.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.1895, allocations: 96.36 kB / 445.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.1896, allocations: 31.55 kB / 445.7 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.1897, allocations: 29.7 kB / 445.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.1897, allocations: 330.8 kB / 446.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1899, allocations: 24.36 kB / 446.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.19, allocations: 79.72 kB / 446.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.1903, allocations: 119.6 kB / 446.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1904, allocations: 3.938 kB / 446.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003705/0.1907, allocations: 141.4 kB / 446.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1908, allocations: 4 kB / 446.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1908, allocations: 4 kB / 446.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.1908, allocations: 7.938 kB / 446.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.191, allocations: 19.98 kB / 446.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1911, allocations: 7.938 kB / 446.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.1912, allocations: 16.11 kB / 446.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1912, allocations: 8 kB / 446.5 MB, free: 1.273 MB / 318.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.0001135/0.1914, allocations: 133.7 kB / 446.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.1914, allocations: 11.84 kB / 446.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.1915, allocations: 16.7 kB / 446.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1915, allocations: 0 / 446.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1915, allocations: 3.938 kB / 446.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1915, allocations: 0 / 446.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.1917, allocations: 201.6 kB / 446.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1917, allocations: 4 kB / 446.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.1919, allocations: 8 kB / 446.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1919, allocations: 0 / 446.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1919, allocations: 3.984 kB / 446.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1919, allocations: 4 kB / 446.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.192, allocations: 7.875 kB / 446.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.1924, allocations: 164.9 kB / 447.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.1925, allocations: 85.14 kB / 447.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.1926, allocations: 11.98 kB / 447.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1927, allocations: 0 / 447.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.1927, allocations: 11.92 kB / 447.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1928, allocations: 4 kB / 447.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.1929, allocations: 115.2 kB / 447.3 MB, free: 412 kB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1929, allocations: 0 / 447.3 MB, free: 412 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004026/0.1933, allocations: 12 kB / 447.3 MB, free: 400 kB / 318.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.0001209/0.1934, allocations: 107.3 kB / 447.4 MB, free: 284 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.1938, allocations: 83.86 kB / 447.5 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1938, allocations: 0 / 447.5 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.194, allocations: 39.92 kB / 447.5 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1943, allocations: 19.62 kB / 447.5 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.1951, allocations: 271.5 kB / 447.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.1956, allocations: 0.7002 MB / 448.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.1957, allocations: 19.44 kB / 448.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1957, allocations: 0 / 448.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Templates: time 0.00521/0.201, allocations: 1.34 MB / 449.9 MB, free: 13.76 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches