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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007392/0.0007392, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.00181, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007219/0.0007219, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009254/0.001647, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9653/0.9653, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09379/1.059, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2815/0.2815, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02971/0.3112, allocations: 12.53 MB / 289.3 MB, free: 8.664 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.913e-06/1.913e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.803e-05, allocations: 3.297 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002569/0.002587, allocations: 1.759 MB / 292.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.003459, allocations: 0.5849 MB / 292.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.003529, allocations: 1.344 kB / 292.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.826e-05/0.003588, allocations: 7.875 kB / 293 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.003647, allocations: 22.11 kB / 293 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.003857, allocations: 67.2 kB / 293 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.004023, allocations: 123.5 kB / 293.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.004147, allocations: 30.14 kB / 293.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.004332, allocations: 81.98 kB / 293.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.004456, allocations: 36.97 kB / 293.3 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.004479, allocations: 11.41 kB / 293.3 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.004554, allocations: 23.34 kB / 293.3 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.009e-05/0.004594, allocations: 26.58 kB / 293.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.004647, allocations: 26.47 kB / 293.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.00481, allocations: 77.47 kB / 293.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.004826, allocations: 0 / 293.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004826, allocations: 4 kB / 293.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.004845, allocations: 0 / 293.5 MB, free: 5.43 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.0005784/0.005423, allocations: 340.8 kB / 293.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.005456, allocations: 8.031 kB / 293.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.005627, allocations: 110 kB / 293.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.005781, allocations: 138.2 kB / 294.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.005794, allocations: 16.3 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.005819, allocations: 16.31 kB / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.005932, allocations: 78.91 kB / 294.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.005943, allocations: 3.938 kB / 294.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.005952, allocations: 4 kB / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.00596, allocations: 4 kB / 294.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.056e-05/0.006001, allocations: 18.52 kB / 294.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.006304, allocations: 234.8 kB / 294.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.062e-05/0.006375, allocations: 38.55 kB / 294.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.006394, allocations: 12.86 kB / 294.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.006415, allocations: 8 kB / 294.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.006523, allocations: 87.27 kB / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.006524, allocations: 0 / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001323/0.006656, allocations: 65.61 kB / 294.6 MB, free: 4.152 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.006697, allocations: 59.39 kB / 294.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.00677, allocations: 138.7 kB / 294.8 MB, free: 3.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.006784, allocations: 29.7 kB / 294.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.006824, allocations: 100.1 kB / 294.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.006847, allocations: 31.78 kB / 295 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.006881, allocations: 33.7 kB / 295 MB, free: 3.727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.006968, allocations: 326.8 kB / 295.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.006984, allocations: 7.984 kB / 295.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.007028, allocations: 71.7 kB / 295.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.729e-05/0.007105, allocations: 95.5 kB / 295.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.007108, allocations: 4 kB / 295.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.796e-05/0.007205, allocations: 97.41 kB / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.007219, allocations: 8 kB / 295.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007224, allocations: 0 / 295.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.007235, allocations: 4 kB / 295.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.007321, allocations: 27.98 kB / 295.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.007328, allocations: 7.922 kB / 295.6 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.007364, allocations: 24.05 kB / 295.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.007372, allocations: 8 kB / 295.7 MB, free: 2.988 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 7.511e-05/0.007447, allocations: 116.7 kB / 295.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.007459, allocations: 7.984 kB / 295.8 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.007502, allocations: 16.78 kB / 295.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007504, allocations: 0 / 295.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.007506, allocations: 0 / 295.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.007511, allocations: 0 / 295.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.429e-05/0.007595, allocations: 101.8 kB / 295.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.007596, allocations: 0 / 295.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.007648, allocations: 27.91 kB / 295.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.00766, allocations: 11.91 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.007661, allocations: 0 / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.007673, allocations: 4 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.007674, allocations: 4 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007675, allocations: 0 / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.007811, allocations: 110.8 kB / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.007825, allocations: 0 / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.876e-05/0.007854, allocations: 4 kB / 296.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.007887, allocations: 7.984 kB / 296.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.007893, allocations: 8.031 kB / 296.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.592e-05/0.007918, allocations: 30.33 kB / 296.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007919, allocations: 0 / 296.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001223/0.008041, allocations: 23.94 kB / 296.1 MB, free: 2.473 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 7.372e-05/0.008115, allocations: 72.42 kB / 296.2 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.749e-05/0.008212, allocations: 60.69 kB / 296.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.008217, allocations: 3.938 kB / 296.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.008254, allocations: 25.22 kB / 296.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.008356, allocations: 24.64 kB / 296.3 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.009097, allocations: 254 kB / 296.6 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.009133, allocations: 63.34 kB / 296.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.009164, allocations: 12.48 kB / 296.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.009219, allocations: 59.38 kB / 296.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.00922, allocations: 4 kB / 296.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of Templates: time 0.002913/0.01213, allocations: 1.147 MB / 297.9 MB, free: 0.7266 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.977292649447918]