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.0007533/0.0007533, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009045/0.001658, allocations: 447.8 kB / 10.35 MB, free: 348 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.0006808/0.0006808, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00084/0.001521, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.954/0.954, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1701/1.124, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1223/0.1223, allocations: 32.34 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02285/0.1451, allocations: 12.3 MB / 265.9 MB, free: 7.82 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 4.408e-06/4.408e-06, allocations: 4 kB / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/2.098e-05, allocations: 6.25 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002935/0.002956, allocations: 1.714 MB / 268.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.003929, allocations: 0.5812 MB / 269.5 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.004021, allocations: 7.938 kB / 269.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.621e-05/0.004097, allocations: 7.875 kB / 269.5 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.004152, allocations: 15.84 kB / 269.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.004379, allocations: 55.81 kB / 269.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.004544, allocations: 111.6 kB / 269.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.004669, allocations: 19.98 kB / 269.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.004839, allocations: 79.75 kB / 269.8 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.004967, allocations: 43.88 kB / 269.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.004999, allocations: 8 kB / 269.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.005018, allocations: 8 kB / 269.9 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.005058, allocations: 15.94 kB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.00511, allocations: 27.94 kB / 269.9 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.00527, allocations: 59.81 kB / 270 MB, free: 3.758 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-05/0.005291, allocations: 3.938 kB / 270 MB, free: 3.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005292, allocations: 0 / 270 MB, free: 3.754 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.005311, allocations: 0 / 270 MB, free: 3.754 MB / 266.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.0006683/0.005979, allocations: 332.1 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.006018, allocations: 8.031 kB / 270.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.006067, allocations: 12.92 kB / 270.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.006284, allocations: 137.7 kB / 270.4 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.006299, allocations: 8.312 kB / 270.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.006325, allocations: 8.375 kB / 270.5 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.006483, allocations: 74.91 kB / 270.5 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.006499, allocations: 8.141 kB / 270.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.006514, allocations: 8.312 kB / 270.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.006527, allocations: 7.938 kB / 270.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.006579, allocations: 19.98 kB / 270.6 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.007007, allocations: 207 kB / 270.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.984e-05/0.007097, allocations: 38.5 kB / 270.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.007123, allocations: 12.8 kB / 270.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.007148, allocations: 4 kB / 270.8 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.007317, allocations: 83.33 kB / 270.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.007319, allocations: 4 kB / 270.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001802/0.007499, allocations: 69.59 kB / 271 MB, free: 2.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.007555, allocations: 55.41 kB / 271 MB, free: 2.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.007649, allocations: 130.7 kB / 271.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.007668, allocations: 29.7 kB / 271.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.00772, allocations: 112.2 kB / 271.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.007753, allocations: 27.78 kB / 271.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.007801, allocations: 33.7 kB / 271.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.007912, allocations: 322.8 kB / 271.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.007936, allocations: 11.98 kB / 271.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.008345, allocations: 71.64 kB / 271.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.008467, allocations: 95.56 kB / 271.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.00847, allocations: 0 / 271.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001423/0.008613, allocations: 101.5 kB / 272 MB, free: 1.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.008631, allocations: 8 kB / 272 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.008636, allocations: 0 / 272 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.008649, allocations: 4 kB / 272 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.008786, allocations: 31.92 kB / 272 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.008793, allocations: 3.984 kB / 272 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.008849, allocations: 11.94 kB / 272 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.00886, allocations: 12 kB / 272 MB, free: 1.477 MB / 266.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.578e-05/0.008946, allocations: 124.8 kB / 272.1 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.008965, allocations: 19.92 kB / 272.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.009001, allocations: 16.72 kB / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.009004, allocations: 0 / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.009007, allocations: 0 / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.009012, allocations: 0 / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.009122, allocations: 93.92 kB / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009123, allocations: 0 / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.177e-05/0.009205, allocations: 15.98 kB / 272.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.009224, allocations: 15.89 kB / 272.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.009226, allocations: 0 / 272.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.00924, allocations: 4 kB / 272.3 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009242, allocations: 0 / 272.3 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.009244, allocations: 0 / 272.3 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.009439, allocations: 105.3 kB / 272.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.009465, allocations: 11.92 kB / 272.4 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.009511, allocations: 4 kB / 272.4 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.009553, allocations: 7.984 kB / 272.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.009562, allocations: 0 / 272.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.225e-05/0.009594, allocations: 33.36 kB / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009595, allocations: 3.938 kB / 272.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.009774, allocations: 19.95 kB / 272.5 MB, free: 0.9609 MB / 266.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 0.0001049/0.009879, allocations: 92.47 kB / 272.6 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.009999, allocations: 44.91 kB / 272.6 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.01001, allocations: 4 kB / 272.6 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.01005, allocations: 24.84 kB / 272.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.01018, allocations: 20.08 kB / 272.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.01124, allocations: 243.5 kB / 272.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.047e-05/0.01129, allocations: 67.2 kB / 273 MB, free: 424 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.872e-05/0.01134, allocations: 16.42 kB / 273 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.01141, allocations: 59.38 kB / 273 MB, free: 348 kB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01141, allocations: 0 / 273 MB, free: 348 kB / 266.7 MB Notification: Performance of Templates: time 0.003446/0.01486, allocations: 1.04 MB / 274.1 MB, free: 15.3 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] 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","",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.7629582937806845]