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.000998/0.000998, allocations: 105.7 kB / 16.64 MB, free: 6.812 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.001094/0.001094, allocations: 190.5 kB / 17.56 MB, free: 5.922 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.329/1.329, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2679/0.2679, allocations: 43.51 MB / 314.3 MB, free: 0.6992 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.001772/0.001772, allocations: 72.14 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1793, allocations: 57.78 MB / 440.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003559/0.1829, allocations: 1.711 MB / 442.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009455/0.1839, allocations: 0.5664 MB / 442.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.184, allocations: 7.938 kB / 442.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.1842, allocations: 7.922 kB / 442.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.1842, allocations: 7.922 kB / 442.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.1846, allocations: 55.89 kB / 443 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1847, allocations: 103.7 kB / 443.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1849, allocations: 40.23 kB / 443.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.185, allocations: 43.8 kB / 443.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1852, allocations: 47.75 kB / 443.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1852, allocations: 12 kB / 443.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.1852, allocations: 8 kB / 443.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.1853, allocations: 23.92 kB / 443.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.582e-05/0.1854, allocations: 43.8 kB / 443.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1855, allocations: 75.81 kB / 443.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1855, allocations: 0 / 443.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1855, allocations: 4 kB / 443.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1855, allocations: 0 / 443.4 MB, free: 4.586 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.0007696/0.1863, allocations: 411 kB / 443.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1864, allocations: 15.89 kB / 443.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.1864, allocations: 12.78 kB / 443.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1867, allocations: 216.6 kB / 444 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1867, allocations: 4.375 kB / 444 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.1867, allocations: 12.38 kB / 444.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.187, allocations: 93.95 kB / 444.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.187, allocations: 0 / 444.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.187, allocations: 0 / 444.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.187, allocations: 4 kB / 444.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1872, allocations: 43.97 kB / 444.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.1877, allocations: 364.6 kB / 444.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.1879, allocations: 58.58 kB / 444.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.1879, allocations: 32.89 kB / 444.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.188, allocations: 0 / 444.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.1882, allocations: 99.34 kB / 444.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1882, allocations: 0 / 444.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003336/0.1885, allocations: 121.5 kB / 444.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1885, allocations: 59.39 kB / 444.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1887, allocations: 152.8 kB / 445.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1887, allocations: 25.7 kB / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.1887, allocations: 104.4 kB / 445.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.1888, allocations: 31.55 kB / 445.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.1888, allocations: 33.7 kB / 445.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.1889, allocations: 318.8 kB / 445.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/0.189, allocations: 27.98 kB / 445.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.1891, allocations: 83.66 kB / 445.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.1892, allocations: 127.6 kB / 445.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1892, allocations: 3.938 kB / 445.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002042/0.1895, allocations: 133.8 kB / 445.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1895, allocations: 8 kB / 445.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1895, allocations: 4.219 kB / 445.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1895, allocations: 4 kB / 445.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1896, allocations: 27.86 kB / 446 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1896, allocations: 11.92 kB / 446 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.1897, allocations: 11.91 kB / 446 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1897, allocations: 8 kB / 446 MB, free: 1.699 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 9.275e-05/0.1898, allocations: 137.3 kB / 446.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.1899, allocations: 7.906 kB / 446.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.1899, allocations: 20.7 kB / 446.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1899, allocations: 4 kB / 446.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1899, allocations: 7.875 kB / 446.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1899, allocations: 0 / 446.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1901, allocations: 201.6 kB / 446.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1901, allocations: 0 / 446.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.065e-05/0.1902, allocations: 8 kB / 446.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1902, allocations: 0 / 446.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1902, allocations: 7.984 kB / 446.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1902, allocations: 0 / 446.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1902, allocations: 7.938 kB / 446.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.1905, allocations: 164.9 kB / 446.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.1906, allocations: 81.02 kB / 446.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1906, allocations: 4.031 kB / 446.6 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.003e-05/0.1907, allocations: 7.984 kB / 446.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.1907, allocations: 7.938 kB / 446.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1908, allocations: 7.984 kB / 446.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.778e-05/0.1908, allocations: 111.2 kB / 446.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1908, allocations: 0 / 446.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.191, allocations: 20 kB / 446.8 MB, free: 0.8125 MB / 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.0001168/0.1912, allocations: 95.19 kB / 446.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1914, allocations: 87.95 kB / 447 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1914, allocations: 448 / 447 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.1915, allocations: 43.95 kB / 447 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.1917, allocations: 15.97 kB / 447 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.1923, allocations: 298.6 kB / 447.3 MB, free: 248 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1926, allocations: 0.7002 MB / 448 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.1927, allocations: 19.42 kB / 448 MB, free: 15.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1927, allocations: 0 / 448 MB, free: 15.5 MB / 334.1 MB Notification: Performance of Templates: time 0.003456/0.1961, allocations: 1.327 MB / 449.4 MB, free: 14.16 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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches