Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002018/0.002018, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002511/0.002511, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3783/0.3783, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.446e-05, allocations: 3.719 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003108/0.003142, allocations: 1.657 MB / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.004611, allocations: 0.5648 MB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.004681, allocations: 0 / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.00479, allocations: 7.875 kB / 379.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.004859, allocations: 31.72 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.005161, allocations: 63.75 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.00536, allocations: 119.6 kB / 379.6 MB, free: 468 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.005499, allocations: 21.17 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.005694, allocations: 83.73 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.005815, allocations: 39.88 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.005846, allocations: 12 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-05/0.005912, allocations: 12 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.005961, allocations: 27.91 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.006037, allocations: 35.84 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.006284, allocations: 135.6 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006286, allocations: 4 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006287, allocations: 0 / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.006292, allocations: 0 / 380 MB, free: 96 kB / 346.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.0008753/0.007168, allocations: 363.5 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.007209, allocations: 12.03 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.007457, allocations: 32.83 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.007718, allocations: 158.1 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.007737, allocations: 12.31 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.007773, allocations: 8.375 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.008027, allocations: 94.2 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.008045, allocations: 3.938 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.008065, allocations: 4 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.008073, allocations: 4 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.008226, allocations: 43.97 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006527/0.008878, allocations: 308.2 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.009045, allocations: 66.55 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.00912, allocations: 24.98 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.009141, allocations: 3.938 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.009378, allocations: 99.3 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 3.787e-06/0.009381, allocations: 7.984 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004099/0.009791, allocations: 125.5 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.009845, allocations: 59.41 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.01001, allocations: 150.7 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.01004, allocations: 29.7 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.01013, allocations: 108.2 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.01017, allocations: 27.8 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/0.01024, allocations: 29.72 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.01043, allocations: 322.8 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.01052, allocations: 35.86 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.01066, allocations: 79.7 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.01088, allocations: 123.6 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01088, allocations: 0 / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000294/0.01118, allocations: 153.5 kB / 382.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01119, allocations: 4 kB / 382.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.0112, allocations: 4 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.01122, allocations: 4 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.01134, allocations: 23.92 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.01135, allocations: 7.938 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.01143, allocations: 8 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.01144, allocations: 8 kB / 382.5 MB, free: 13.36 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 0.0001324/0.01158, allocations: 137.7 kB / 382.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.0116, allocations: 19.94 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.01164, allocations: 12.78 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.01165, allocations: 0 / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.01165, allocations: 3.938 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01166, allocations: 3.984 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.01182, allocations: 141.3 kB / 382.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01182, allocations: 0 / 382.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.876e-05/0.01192, allocations: 15.98 kB / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01192, allocations: 0 / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01194, allocations: 0 / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01194, allocations: 4 kB / 382.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01194, allocations: 0 / 382.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.01234, allocations: 176.8 kB / 383 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.01236, allocations: 11.94 kB / 383 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.01239, allocations: 7.984 kB / 383 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.01245, allocations: 4 kB / 383 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.0125, allocations: 7.984 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.01252, allocations: 7.938 kB / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.01262, allocations: 114.4 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01262, allocations: 3.938 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.01286, allocations: 24.06 kB / 383.2 MB, free: 12.62 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 0.0001264/0.01298, allocations: 99.33 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.01323, allocations: 79.83 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01324, allocations: 0 / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.53e-05/0.01333, allocations: 27.98 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.01356, allocations: 19.47 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.01416, allocations: 248.9 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.01427, allocations: 93.3 kB / 383.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.187e-05/0.01432, allocations: 12.36 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.01437, allocations: 16.48 kB / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01437, allocations: 4 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of Templates: time 0.004255/0.01862, allocations: 1.048 MB / 384.8 MB, free: 10.96 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.904330490040593]