Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001104/0.001104, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001904/0.003008, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001025/0.001025, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.002453, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.899/0.899, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1709/1.07, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1396/0.1396, allocations: 32.8 MB / 272 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01916/0.1587, allocations: 12.54 MB / 284.5 MB, free: 9.695 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.426e-05, allocations: 2.312 kB / 285.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.0018/0.001814, allocations: 1.732 MB / 287.6 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006284/0.002443, allocations: 0.5452 MB / 288.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.002498, allocations: 7.938 kB / 288.1 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.372e-05/0.002552, allocations: 7.922 kB / 288.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.217e-05/0.002584, allocations: 15.81 kB / 288.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.002729, allocations: 59.75 kB / 288.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.00285, allocations: 111.7 kB / 288.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.002944, allocations: 26.22 kB / 288.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.003052, allocations: 79.77 kB / 288.4 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.671e-05/0.003149, allocations: 39.88 kB / 288.4 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.003175, allocations: 12 kB / 288.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.003189, allocations: 8 kB / 288.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.003222, allocations: 19.94 kB / 288.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.00326, allocations: 23.94 kB / 288.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.00337, allocations: 71.69 kB / 288.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.003379, allocations: 0 / 288.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.00338, allocations: 4 kB / 288.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.003388, allocations: 0 / 288.6 MB, free: 5.641 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004396/0.003828, allocations: 336.1 kB / 288.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.003858, allocations: 12.03 kB / 288.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.003891, allocations: 12.92 kB / 288.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.004019, allocations: 133.7 kB / 289.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.004028, allocations: 4.375 kB / 289.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.004049, allocations: 8.375 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.004159, allocations: 90.89 kB / 289.2 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.004167, allocations: 192 / 289.2 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.004175, allocations: 384 / 289.2 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.004182, allocations: 7.938 kB / 289.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.004212, allocations: 15.94 kB / 289.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.00448, allocations: 234.8 kB / 289.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.836e-05/0.004539, allocations: 42.48 kB / 289.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.004557, allocations: 12.86 kB / 289.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.004572, allocations: 4 kB / 289.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.747e-05/0.004669, allocations: 79.34 kB / 289.6 MB, free: 4.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.00467, allocations: 3.938 kB / 289.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001245/0.004795, allocations: 69.66 kB / 289.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.004828, allocations: 59.34 kB / 289.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.004893, allocations: 138.6 kB / 289.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.004908, allocations: 29.7 kB / 289.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.004948, allocations: 108.1 kB / 290 MB, free: 4.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.004967, allocations: 19.8 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.005002, allocations: 37.69 kB / 290 MB, free: 4.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.005074, allocations: 330.8 kB / 290.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.005089, allocations: 11.98 kB / 290.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.005126, allocations: 66.81 kB / 290.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.931e-05/0.005196, allocations: 95.5 kB / 290.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005197, allocations: 0 / 290.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.785e-05/0.005285, allocations: 97.47 kB / 290.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.005296, allocations: 10.81 kB / 290.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.005301, allocations: 0 / 290.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.005313, allocations: 4 kB / 290.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.005398, allocations: 35.92 kB / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.005402, allocations: 0 / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.005433, allocations: 7.953 kB / 290.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.005441, allocations: 16.2 kB / 290.7 MB, free: 3.34 MB / 282.7 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_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * 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 5.897e-05/0.0055, allocations: 128.5 kB / 290.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.005511, allocations: 11.98 kB / 290.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.005533, allocations: 12.78 kB / 290.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005535, allocations: 0 / 290.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.005536, allocations: 0 / 290.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005539, allocations: 0 / 290.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.741e-05/0.005606, allocations: 89.84 kB / 290.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005607, allocations: 0 / 290.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.005655, allocations: 19.94 kB / 290.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.005666, allocations: 16.03 kB / 290.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.005669, allocations: 3.984 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.005677, allocations: 0 / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005678, allocations: 0 / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.00568, allocations: 3.938 kB / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.00579, allocations: 105 kB / 291.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.005803, allocations: 3.984 kB / 291.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.501e-05/0.005828, allocations: 7.938 kB / 291.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.005851, allocations: 11.92 kB / 291.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.005857, allocations: 4 kB / 291.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.033e-05/0.005878, allocations: 28.86 kB / 291.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005878, allocations: 0 / 291.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001144/0.005992, allocations: 20 kB / 291.1 MB, free: 2.836 MB / 282.7 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_last,rootMeanSquare.mean.y_last) * 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 6.084e-05/0.006053, allocations: 80.41 kB / 291.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.43e-05/0.006127, allocations: 52.7 kB / 291.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.006131, allocations: 0 / 291.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.466e-05/0.006166, allocations: 29.31 kB / 291.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.006277, allocations: 84.27 kB / 291.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/0.006973, allocations: 247.8 kB / 291.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.859e-05/0.007001, allocations: 63.34 kB / 291.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.007031, allocations: 12.48 kB / 291.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.007084, allocations: 67.36 kB / 291.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007085, allocations: 4 kB / 291.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of Templates: time 0.002177/0.009261, allocations: 1.007 MB / 292.8 MB, free: 1.145 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.568974209949374]