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.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.0008506/0.0008506, allocations: 84.44 kB / 20.7 MB, free: 3.875 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.0007816/0.0007816, allocations: 169.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 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 0.8407/0.8407, allocations: 158.6 MB / 185.7 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.123/0.123, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.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_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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 408.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.153e-05, allocations: 2.281 kB / 408.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001965/0.001987, allocations: 1.628 MB / 409.7 MB, free: 112 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.002784, allocations: 0.5541 MB / 410.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.00285, allocations: 3.938 kB / 410.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.002952, allocations: 11.86 kB / 410.3 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.607e-05/0.002988, allocations: 19.86 kB / 410.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.003246, allocations: 59.75 kB / 410.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.003396, allocations: 107.7 kB / 410.5 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.003531, allocations: 23.92 kB / 410.5 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.003645, allocations: 67.81 kB / 410.6 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.003753, allocations: 35.88 kB / 410.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.003782, allocations: 11.94 kB / 410.6 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.003798, allocations: 8 kB / 410.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.003842, allocations: 27.91 kB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.003893, allocations: 27.92 kB / 410.7 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004044, allocations: 103.7 kB / 410.8 MB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004046, allocations: 4 kB / 410.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.004047, allocations: 0 / 410.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004052, allocations: 0 / 410.8 MB, free: 15.04 MB / 394.7 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.0006104/0.004662, allocations: 359.6 kB / 411.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.004699, allocations: 8.031 kB / 411.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.004741, allocations: 16.84 kB / 411.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.004926, allocations: 149.5 kB / 411.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004938, allocations: 8.375 kB / 411.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.004958, allocations: 8.375 kB / 411.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.005119, allocations: 90.22 kB / 411.4 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.005131, allocations: 4.172 kB / 411.4 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.005146, allocations: 8.312 kB / 411.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.005152, allocations: 3.938 kB / 411.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.005238, allocations: 43.97 kB / 411.5 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.005645, allocations: 292.3 kB / 411.7 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.00575, allocations: 54.59 kB / 411.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.005791, allocations: 32.95 kB / 411.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.005813, allocations: 3.938 kB / 411.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.005954, allocations: 99.34 kB / 411.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.005955, allocations: 0 / 411.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002475/0.006202, allocations: 129.5 kB / 412.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.006239, allocations: 51.41 kB / 412.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.006327, allocations: 137.8 kB / 412.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.006341, allocations: 29.7 kB / 412.3 MB, free: 13.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.006394, allocations: 112.3 kB / 412.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.006419, allocations: 23.81 kB / 412.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.006455, allocations: 29.7 kB / 412.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.006544, allocations: 326.8 kB / 412.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.539e-05/0.006589, allocations: 27.92 kB / 412.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.006658, allocations: 87.64 kB / 412.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.006778, allocations: 115.6 kB / 413 MB, free: 12.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.006781, allocations: 4 kB / 413 MB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001524/0.006933, allocations: 141.4 kB / 413.1 MB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.006949, allocations: 12.59 kB / 413.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.006954, allocations: 0 / 413.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.006967, allocations: 4 kB / 413.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.00705, allocations: 23.98 kB / 413.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.007057, allocations: 7.875 kB / 413.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.86e-05/0.007096, allocations: 15.95 kB / 413.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.007104, allocations: 4 kB / 413.2 MB, free: 12.39 MB / 394.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,$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 8.279e-05/0.007187, allocations: 133.7 kB / 413.3 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.007198, allocations: 7.953 kB / 413.3 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.007224, allocations: 16.78 kB / 413.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007227, allocations: 0 / 413.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.007231, allocations: 0 / 413.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.007235, allocations: 0 / 413.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.186e-05/0.007327, allocations: 149.1 kB / 413.5 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.007328, allocations: 4 kB / 413.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.007378, allocations: 8 kB / 413.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.00738, allocations: 0 / 413.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.007392, allocations: 7.984 kB / 413.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.007394, allocations: 4 kB / 413.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007394, allocations: 0 / 413.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.007601, allocations: 172.9 kB / 413.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.007612, allocations: 7.984 kB / 413.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.007628, allocations: 4 kB / 413.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.662e-05/0.007654, allocations: 4 kB / 413.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.007689, allocations: 3.984 kB / 413.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.007696, allocations: 11.98 kB / 413.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.6e-05/0.007752, allocations: 107 kB / 413.8 MB, free: 11.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007752, allocations: 0 / 413.8 MB, free: 11.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001392/0.007891, allocations: 16 kB / 413.8 MB, free: 11.7 MB / 394.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,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 7.529e-05/0.007966, allocations: 107.3 kB / 413.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.008126, allocations: 71.84 kB / 414 MB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008127, allocations: 0 / 414 MB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.008181, allocations: 39.95 kB / 414 MB, free: 11.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.008332, allocations: 15.92 kB / 414.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.008713, allocations: 259.1 kB / 414.3 MB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.426e-05/0.008807, allocations: 92.25 kB / 414.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.008843, allocations: 20.48 kB / 414.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008843, allocations: 0 / 414.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of Templates: time 0.002047/0.01089, allocations: 1.391 MB / 415.8 MB, free: 9.641 MB / 394.7 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: 4.528036265634]