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.001098/0.001098, allocations: 81.81 kB / 21.42 MB, free: 3.074 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.001289/0.001289, allocations: 167.3 kB / 24.82 MB, free: 8.926 MB / 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 0.8922/0.8922, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2235/0.2235, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] 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.583e-06/1.583e-06, allocations: 0 / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.35e-05, allocations: 6.953 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002015/0.002038, allocations: 1.712 MB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007322/0.00277, allocations: 0.5608 MB / 381.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.002835, allocations: 4 kB / 381.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 8.822e-05/0.002923, allocations: 15.8 kB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.002973, allocations: 19.81 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.003215, allocations: 71.67 kB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.003341, allocations: 115.6 kB / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.003456, allocations: 29.22 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.003588, allocations: 71.88 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.119e-05/0.003679, allocations: 39.88 kB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.003701, allocations: 12 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.406e-05/0.003745, allocations: 12 kB / 381.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.003774, allocations: 31.84 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.003812, allocations: 31.91 kB / 381.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.003942, allocations: 95.66 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003945, allocations: 3.984 kB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003945, allocations: 0 / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.003949, allocations: 0 / 382 MB, free: 15.01 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.0004561/0.004405, allocations: 475.4 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.004439, allocations: 12.02 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.004556, allocations: 28.84 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.005025, allocations: 161 kB / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.005037, allocations: 16.31 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.005059, allocations: 8.375 kB / 382.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.005169, allocations: 86.89 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.005178, allocations: 3.938 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.005187, allocations: 0 / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005193, allocations: 4 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.162e-05/0.005225, allocations: 11.98 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.00555, allocations: 340 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.274e-05/0.005613, allocations: 51.03 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.005634, allocations: 19.81 kB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.00565, allocations: 7.938 kB / 383.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.645e-05/0.005746, allocations: 84.94 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.005747, allocations: 0 / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001513/0.005899, allocations: 89.56 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.005925, allocations: 51.41 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.006012, allocations: 210.5 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.006024, allocations: 33.7 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.006072, allocations: 154.9 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.006097, allocations: 31.73 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.006132, allocations: 35.34 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.006229, allocations: 0.4923 MB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.006247, allocations: 15.92 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.006305, allocations: 95.41 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.152e-05/0.006386, allocations: 129 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006388, allocations: 0 / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001099/0.006498, allocations: 113.4 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.006508, allocations: 7.984 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006513, allocations: 4 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.006524, allocations: 4.219 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.006598, allocations: 31.92 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.006601, allocations: 0 / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.006634, allocations: 11.94 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.006639, allocations: 8 kB / 384.8 MB, free: 11.95 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 7.219e-05/0.006712, allocations: 172.5 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.006727, allocations: 19.91 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.006755, allocations: 12.77 kB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.006756, allocations: 0 / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.006757, allocations: 4 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006761, allocations: 7.938 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.85e-05/0.006839, allocations: 125.2 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.006841, allocations: 0 / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.00688, allocations: 8 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.006881, allocations: 0 / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.006891, allocations: 3.984 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.006892, allocations: 4 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.006894, allocations: 4 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.007032, allocations: 136.2 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.007042, allocations: 7.906 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.007055, allocations: 8.031 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.007081, allocations: 0 / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.007106, allocations: 11.98 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.007113, allocations: 7.984 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.108e-05/0.007154, allocations: 145.9 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007154, allocations: 3.938 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000142/0.007296, allocations: 23.94 kB / 385.5 MB, free: 11.2 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 6.446e-05/0.00736, allocations: 99.23 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.445e-05/0.007445, allocations: 59.84 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.007446, allocations: 3.938 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.137e-05/0.007477, allocations: 23.67 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.007612, allocations: 15.98 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.008019, allocations: 247.1 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.008049, allocations: 67.34 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.008079, allocations: 12.61 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.008135, allocations: 82.2 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008136, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of Templates: time 0.002407/0.01054, allocations: 1.135 MB / 387.2 MB, free: 9.426 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] 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","",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.7729300600476563]