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.001282/0.001282, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001079/0.001079, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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.9729/0.9729, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.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.2497/0.2497, allocations: 32.81 MB / 294.6 MB, free: 1.199 MB / 266.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 2.104e-06/2.104e-06, allocations: 3.938 kB / 323.2 MB, free: 9.766 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.439e-05, allocations: 2.969 kB / 323.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00366/0.003695, allocations: 1.713 MB / 324.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.004883, allocations: 0.5725 MB / 325.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.64e-05/0.00498, allocations: 0 / 325.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.005109, allocations: 11.86 kB / 325.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.005191, allocations: 31.73 kB / 325.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.005548, allocations: 59.75 kB / 325.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.00574, allocations: 119.6 kB / 325.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.005872, allocations: 29.89 kB / 325.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.006091, allocations: 71.81 kB / 325.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.006227, allocations: 39.88 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.006258, allocations: 12 kB / 325.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.516e-05/0.006323, allocations: 16 kB / 325.9 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.006369, allocations: 31.89 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.006428, allocations: 31.91 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.006629, allocations: 95.59 kB / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.006632, allocations: 0 / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.006634, allocations: 0 / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.00664, allocations: 0 / 326 MB, free: 6.922 MB / 298.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.0005822/0.007222, allocations: 326.2 kB / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.007263, allocations: 8.031 kB / 326.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.00745, allocations: 24.92 kB / 326.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.007667, allocations: 146.2 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.007682, allocations: 16.31 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.007712, allocations: 8.375 kB / 326.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.007873, allocations: 78.91 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.007888, allocations: 3.938 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.007902, allocations: 7.938 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.007909, allocations: 4 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.007958, allocations: 15.98 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.008373, allocations: 234.8 kB / 326.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.008457, allocations: 42.55 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.008483, allocations: 12.86 kB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.0085, allocations: 0 / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.008647, allocations: 87.27 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.008649, allocations: 0 / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001787/0.008827, allocations: 69.61 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.008876, allocations: 59.39 kB / 327.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.00898, allocations: 139.2 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.009, allocations: 37.7 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.009051, allocations: 104.1 kB / 327.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.009085, allocations: 27.78 kB / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.009137, allocations: 29.7 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.009242, allocations: 330.7 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.009267, allocations: 7.984 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.009336, allocations: 76.48 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.00972, allocations: 91.58 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.009724, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001664/0.00989, allocations: 93.47 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.009904, allocations: 4 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.009912, allocations: 4 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.009929, allocations: 8.219 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.01004, allocations: 27.98 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.01005, allocations: 7.922 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.01011, allocations: 23.88 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.01012, allocations: 4 kB / 328.1 MB, free: 4.59 MB / 298.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 9.699e-05/0.01022, allocations: 123.4 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.01024, allocations: 7.984 kB / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.01028, allocations: 16.78 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01029, allocations: 0 / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.01029, allocations: 0 / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01029, allocations: 4 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.0104, allocations: 105.7 kB / 328.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01041, allocations: 0 / 328.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.01048, allocations: 11.98 kB / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01048, allocations: 0 / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.0105, allocations: 4 kB / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.0105, allocations: 0 / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.0105, allocations: 4 kB / 328.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.0107, allocations: 105 kB / 328.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.01072, allocations: 11.91 kB / 328.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.01074, allocations: 3.984 kB / 328.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.01078, allocations: 8.031 kB / 328.5 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.01081, allocations: 8.078 kB / 328.5 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.01082, allocations: 4 kB / 328.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.01086, allocations: 29.33 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01086, allocations: 4 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.01108, allocations: 27.86 kB / 328.6 MB, free: 4.074 MB / 298.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 0.0001097/0.01119, allocations: 80.41 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.01131, allocations: 53.55 kB / 328.7 MB, free: 3.934 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.01131, allocations: 8.688 kB / 328.7 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.705e-05/0.01136, allocations: 24.73 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.0115, allocations: 17.3 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.01217, allocations: 242.2 kB / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.737e-05/0.01222, allocations: 67.28 kB / 329.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.519e-05/0.01228, allocations: 16.48 kB / 329.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.01236, allocations: 63.36 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01236, allocations: 0 / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of Templates: time 0.00385/0.01621, allocations: 1.097 MB / 330.3 MB, free: 2.379 MB / 298.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 -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.986352860927582]