Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009197/0.0009197, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001094/0.001094, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9969/0.9969, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2659/0.2659, allocations: 34.26 MB / 295.7 MB, free: 0.7539 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.868e-05, allocations: 2.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002354/0.002383, allocations: 1.717 MB / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.003204, allocations: 0.5725 MB / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.003263, allocations: 0 / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.591e-05/0.003329, allocations: 15.86 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.615e-05/0.003375, allocations: 19.8 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.003604, allocations: 63.73 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.003741, allocations: 123.6 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.003855, allocations: 25.23 kB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.003993, allocations: 75.73 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.851e-05/0.004081, allocations: 35.89 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.004101, allocations: 12 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-05/0.004169, allocations: 19.98 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.004202, allocations: 31.91 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.004255, allocations: 35.91 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.004424, allocations: 87.66 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004427, allocations: 0 / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.004428, allocations: 0 / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.004433, allocations: 0 / 380.8 MB, free: 15.83 MB / 362.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.0005363/0.004969, allocations: 475.4 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.005004, allocations: 8.031 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.005164, allocations: 44.77 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.005345, allocations: 149 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.005359, allocations: 8.375 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.005385, allocations: 8.375 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.005543, allocations: 82.91 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.005555, allocations: 3.938 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.00557, allocations: 4 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.005578, allocations: 4 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.432e-05/0.005632, allocations: 22.73 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.006072, allocations: 371.4 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.887e-05/0.006161, allocations: 50.98 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.006193, allocations: 23.81 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.006215, allocations: 7.984 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.006348, allocations: 88.94 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.006349, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002421/0.006591, allocations: 97.56 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/0.006777, allocations: 55.41 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.006886, allocations: 208.8 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.006901, allocations: 25.7 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.006959, allocations: 154.9 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.006987, allocations: 31.73 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.007031, allocations: 35.38 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.007154, allocations: 0.5001 MB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.007185, allocations: 11.98 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.007252, allocations: 89.17 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.007363, allocations: 125 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.007366, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001632/0.007529, allocations: 129.3 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.007546, allocations: 10.56 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.007553, allocations: 4 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.00757, allocations: 4 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.007668, allocations: 23.98 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.007678, allocations: 11.88 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.007717, allocations: 8 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.007725, allocations: 4 kB / 383.7 MB, free: 12.71 MB / 362.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 8.794e-05/0.007813, allocations: 168.5 kB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.007833, allocations: 15.91 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.00787, allocations: 12.78 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.007873, allocations: 4 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.007879, allocations: 7.938 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.007884, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.007998, allocations: 156.6 kB / 384 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007999, allocations: 0 / 384 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.008051, allocations: 11.94 kB / 384 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.008053, allocations: 3.938 kB / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.008067, allocations: 7.984 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008069, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008069, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.008271, allocations: 136.2 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.008287, allocations: 19.94 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.008303, allocations: 4 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.895e-05/0.008332, allocations: 0 / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.008374, allocations: 11.98 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.008385, allocations: 11.92 kB / 384.2 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.624e-05/0.008441, allocations: 146.4 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008441, allocations: 0 / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.0086, allocations: 23.94 kB / 384.4 MB, free: 11.92 MB / 362.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 9.04e-05/0.00869, allocations: 99.31 kB / 384.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.008819, allocations: 67.53 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.00882, allocations: 0 / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.008864, allocations: 27.61 kB / 384.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.009028, allocations: 20.64 kB / 384.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006225/0.00965, allocations: 246.5 kB / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.744e-05/0.009687, allocations: 67.72 kB / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.276e-05/0.00972, allocations: 16.48 kB / 384.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.009757, allocations: 16.5 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.009758, allocations: 0 / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of Templates: time 0.002963/0.01272, allocations: 1.047 MB / 386 MB, free: 10.27 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.1249845097772777]