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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 191.6 kB / 22.98 MB, free: 5.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2552/0.2552, allocations: 44.23 MB / 330.2 MB, free: 9.555 MB / 270.1 MB " [Timeout remaining time 179] 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=5005,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=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "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.002279/0.002279, allocations: 71.89 kB / 467.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1759, allocations: 61.03 MB / 0.5166 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003865/0.1798, allocations: 1.671 MB / 0.5182 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1809, allocations: 0.5931 MB / 0.5188 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.181, allocations: 3.938 kB / 0.5188 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.1811, allocations: 11.86 kB / 0.5188 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.416e-05/0.1812, allocations: 11.88 kB / 0.5188 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1815, allocations: 59.75 kB / 0.5189 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.1817, allocations: 111.7 kB / 0.519 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.1819, allocations: 31.91 kB / 0.519 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.182, allocations: 43.8 kB / 0.519 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1822, allocations: 55.75 kB / 0.5191 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.1822, allocations: 12 kB / 0.5191 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.1822, allocations: 8 kB / 0.5191 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.1823, allocations: 23.92 kB / 0.5191 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.1823, allocations: 43.8 kB / 0.5192 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.1826, allocations: 107.5 kB / 0.5193 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1826, allocations: 0 / 0.5193 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1826, allocations: 0 / 0.5193 GB, free: 4.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1826, allocations: 0 / 0.5193 GB, free: 4.078 MB / 398.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.0009034/0.1835, allocations: 351.7 kB / 0.5196 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1835, allocations: 8.031 kB / 0.5196 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.1836, allocations: 20.78 kB / 0.5196 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1838, allocations: 142.4 kB / 0.5198 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.1839, allocations: 4.375 kB / 0.5198 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.1839, allocations: 12.38 kB / 0.5198 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.1841, allocations: 89.94 kB / 0.5199 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1841, allocations: 8 kB / 0.5199 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1842, allocations: 4 kB / 0.5199 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1842, allocations: 0 / 0.5199 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.1843, allocations: 47.91 kB / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/0.185, allocations: 339.6 kB / 0.5203 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1851, allocations: 66.52 kB / 0.5203 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.1852, allocations: 20.92 kB / 0.5203 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.1852, allocations: 8.031 kB / 0.5203 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.1855, allocations: 91.36 kB / 0.5204 GB, free: 2.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1855, allocations: 0 / 0.5204 GB, free: 2.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003916/0.1859, allocations: 133.8 kB / 0.5206 GB, free: 2.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.1859, allocations: 55.44 kB / 0.5206 GB, free: 2.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1861, allocations: 142.8 kB / 0.5208 GB, free: 2.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1861, allocations: 33.7 kB / 0.5208 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.1862, allocations: 104.3 kB / 0.5209 GB, free: 2.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.1862, allocations: 27.8 kB / 0.5209 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.1863, allocations: 29.7 kB / 0.5209 GB, free: 2.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1864, allocations: 330.8 kB / 0.5213 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.1865, allocations: 27.98 kB / 0.5213 GB, free: 1.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1867, allocations: 79.66 kB / 0.5214 GB, free: 1.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.1869, allocations: 123.6 kB / 0.5215 GB, free: 1.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1869, allocations: 0 / 0.5215 GB, free: 1.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002688/0.1871, allocations: 141.4 kB / 0.5216 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1872, allocations: 5.875 kB / 0.5216 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1872, allocations: 8 kB / 0.5216 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1872, allocations: 0 / 0.5216 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1873, allocations: 27.92 kB / 0.5216 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.1874, allocations: 7.938 kB / 0.5217 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.1874, allocations: 12.16 kB / 0.5217 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1874, allocations: 12 kB / 0.5217 GB, free: 1.371 MB / 398.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.0001466/0.1876, allocations: 121.8 kB / 0.5218 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1876, allocations: 16.03 kB / 0.5218 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.1877, allocations: 16.7 kB / 0.5218 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1877, allocations: 0 / 0.5218 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.1877, allocations: 3.938 kB / 0.5218 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1877, allocations: 0 / 0.5218 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1879, allocations: 176.6 kB / 0.522 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1879, allocations: 7.984 kB / 0.522 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.188, allocations: 12 kB / 0.522 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.188, allocations: 0 / 0.522 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.188, allocations: 3.984 kB / 0.522 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.188, allocations: 0 / 0.522 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.188, allocations: 7.938 kB / 0.522 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.1884, allocations: 164.9 kB / 0.5222 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.1884, allocations: 12.05 kB / 0.5222 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1884, allocations: 8.094 kB / 0.5222 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.1885, allocations: 3.938 kB / 0.5222 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.1885, allocations: 11.92 kB / 0.5222 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1886, allocations: 8 kB / 0.5222 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.892e-05/0.1886, allocations: 107.2 kB / 0.5223 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1886, allocations: 0 / 0.5223 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.1889, allocations: 19.88 kB / 0.5224 GB, free: 0.6094 MB / 398.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.0001299/0.189, allocations: 103.2 kB / 0.5224 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.1892, allocations: 71.83 kB / 0.5225 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1892, allocations: 0 / 0.5225 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.1893, allocations: 31.98 kB / 0.5225 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1895, allocations: 10.81 kB / 0.5226 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.1902, allocations: 261.5 kB / 0.5228 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.1906, allocations: 0.7041 MB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.96e-05/0.1906, allocations: 8.484 kB / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.1907, allocations: 15.44 kB / 0.5235 GB, free: 15.36 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1907, allocations: 0 / 0.5235 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Templates: time 0.004366/0.195, allocations: 0.9689 MB / 0.5245 GB, free: 14.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.492815707810223]