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.001315/0.001315, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001446/0.001446, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2372/0.2372, allocations: 44.93 MB / 358.8 MB, free: 6.074 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.91 kB / 0.4935 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3974, allocations: 65.47 MB / 0.5574 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003647/0.4011, allocations: 1.662 MB / 0.5591 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.4025, allocations: 0.5504 MB / 0.5596 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.4026, allocations: 0 / 0.5596 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.4027, allocations: 11.81 kB / 0.5596 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.4028, allocations: 23.84 kB / 0.5596 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.4032, allocations: 63.81 kB / 0.5597 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.4035, allocations: 111.6 kB / 0.5598 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.4037, allocations: 25.3 kB / 0.5598 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.4039, allocations: 67.7 kB / 0.5599 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.404, allocations: 39.77 kB / 0.5599 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.404, allocations: 12 kB / 0.5599 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.926e-05/0.4041, allocations: 19.98 kB / 0.56 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.4041, allocations: 27.92 kB / 0.56 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.385e-05/0.4042, allocations: 39.8 kB / 0.56 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.4045, allocations: 129.9 kB / 0.5602 GB, free: 4.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4045, allocations: 3.938 kB / 0.5602 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4045, allocations: 0 / 0.5602 GB, free: 4.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.4045, allocations: 0 / 0.5602 GB, free: 4.711 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008843/0.4054, allocations: 367.5 kB / 0.5605 GB, free: 4.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4054, allocations: 15.97 kB / 0.5605 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.4056, allocations: 24.86 kB / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.4059, allocations: 157.9 kB / 0.5607 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4059, allocations: 4.375 kB / 0.5607 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.406, allocations: 16.12 kB / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.4062, allocations: 92.31 kB / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.4062, allocations: 0 / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.4062, allocations: 4 kB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.4062, allocations: 0 / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.4064, allocations: 59.84 kB / 0.5609 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.407, allocations: 312.2 kB / 0.5612 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.4071, allocations: 62.48 kB / 0.5612 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.56e-05/0.4072, allocations: 24.98 kB / 0.5612 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.4072, allocations: 0 / 0.5612 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.4074, allocations: 99.28 kB / 0.5613 GB, free: 3.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4074, allocations: 4 kB / 0.5613 GB, free: 3.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003699/0.4078, allocations: 129.5 kB / 0.5615 GB, free: 3.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.4078, allocations: 55.34 kB / 0.5615 GB, free: 3.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.408, allocations: 153.8 kB / 0.5617 GB, free: 3.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.408, allocations: 25.7 kB / 0.5617 GB, free: 2.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.4081, allocations: 108.2 kB / 0.5618 GB, free: 2.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4081, allocations: 31.73 kB / 0.5618 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.4082, allocations: 29.72 kB / 0.5619 GB, free: 2.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4083, allocations: 318.8 kB / 0.5622 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.4084, allocations: 27.98 kB / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4085, allocations: 95.64 kB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.4087, allocations: 115.6 kB / 0.5624 GB, free: 2.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4087, allocations: 4 kB / 0.5624 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002658/0.409, allocations: 141.4 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.409, allocations: 4 kB / 0.5625 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.409, allocations: 7.938 kB / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4091, allocations: 0 / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4092, allocations: 27.92 kB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.4092, allocations: 4 kB / 0.5626 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.4093, allocations: 11.95 kB / 0.5626 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4093, allocations: 8.203 kB / 0.5626 GB, free: 1.992 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_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 0.0001192/0.4094, allocations: 130.2 kB / 0.5627 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.4094, allocations: 7.953 kB / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.4095, allocations: 16.66 kB / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4095, allocations: 0 / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4095, allocations: 7.938 kB / 0.5627 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.4095, allocations: 7.984 kB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.4096, allocations: 141.2 kB / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4096, allocations: 0 / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/0.4097, allocations: 15.98 kB / 0.5629 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4097, allocations: 4 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.4097, allocations: 0 / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4097, allocations: 3.938 kB / 0.5629 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4097, allocations: 4 kB / 0.5629 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.4101, allocations: 169 kB / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.4101, allocations: 11.97 kB / 0.5631 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.4102, allocations: 7.922 kB / 0.5631 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.4102, allocations: 11.94 kB / 0.5631 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.4103, allocations: 3.984 kB / 0.5631 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.4103, allocations: 8.062 kB / 0.5631 GB, free: 1.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.4104, allocations: 120.5 kB / 0.5632 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4104, allocations: 0 / 0.5632 GB, free: 1.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.4106, allocations: 16 kB / 0.5632 GB, free: 1.258 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_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.000112/0.4107, allocations: 95.25 kB / 0.5633 GB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.411, allocations: 79.83 kB / 0.5634 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.411, allocations: 0 / 0.5634 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.4111, allocations: 32.36 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.4113, allocations: 14.62 kB / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.4118, allocations: 273.5 kB / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.971e-05/0.4119, allocations: 97.03 kB / 0.5638 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.412, allocations: 12.5 kB / 0.5638 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.412, allocations: 11.44 kB / 0.5638 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.412, allocations: 0 / 0.5638 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Templates: time 0.004137/0.4161, allocations: 1.104 MB / 0.5649 GB, free: 15.52 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.293676692992449]