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.001644/0.001644, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 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.001473/0.001473, allocations: 218.2 kB / 23 MB, free: 5.609 MB / 14.72 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.572/1.572, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 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.2594/0.2594, allocations: 46.9 MB / 359.4 MB, free: 4.867 MB / 286.1 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 0.002391/0.002391, allocations: 80.05 kB / 0.4946 GB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4466, allocations: 65.99 MB / 0.5591 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.005185/0.4518, allocations: 1.708 MB / 0.5607 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.4539, allocations: 0.601 MB / 0.5613 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.454, allocations: 0 / 0.5613 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.4541, allocations: 7.875 kB / 0.5613 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.4542, allocations: 23.78 kB / 0.5614 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.4548, allocations: 67.81 kB / 0.5614 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.4551, allocations: 123.5 kB / 0.5615 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.4553, allocations: 29.11 kB / 0.5616 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.4555, allocations: 51.84 kB / 0.5616 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.4557, allocations: 51.75 kB / 0.5617 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.4558, allocations: 8 kB / 0.5617 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.4558, allocations: 16 kB / 0.5617 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.4559, allocations: 27.86 kB / 0.5617 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.456, allocations: 55.72 kB / 0.5618 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.4564, allocations: 125.9 kB / 0.5619 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4564, allocations: 4 kB / 0.5619 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4564, allocations: 0 / 0.5619 GB, free: 2.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.4564, allocations: 0 / 0.5619 GB, free: 2.141 MB / 398.1 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.001245/0.4576, allocations: 425.7 kB / 0.5623 GB, free: 1.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.4577, allocations: 12.03 kB / 0.5623 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.458, allocations: 24.88 kB / 0.5623 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.4585, allocations: 224 kB / 0.5625 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4585, allocations: 12.38 kB / 0.5626 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.4585, allocations: 16.12 kB / 0.5626 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.4589, allocations: 92.03 kB / 0.5627 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4589, allocations: 0 / 0.5627 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.4589, allocations: 4 kB / 0.5627 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4589, allocations: 0 / 0.5627 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.4592, allocations: 47.97 kB / 0.5627 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/0.4602, allocations: 392.5 kB / 0.5631 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.4604, allocations: 58.5 kB / 0.5631 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.4606, allocations: 24.98 kB / 0.5632 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.4606, allocations: 0 / 0.5632 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.4609, allocations: 103.3 kB / 0.5633 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/0.4609, allocations: 0 / 0.5633 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006003/0.4615, allocations: 129.8 kB / 0.5634 GB, free: 456 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.4616, allocations: 63.34 kB / 0.5634 GB, free: 380 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.4618, allocations: 145.8 kB / 0.5636 GB, free: 224 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.4619, allocations: 37.64 kB / 0.5636 GB, free: 180 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.462, allocations: 116.1 kB / 0.5637 GB, free: 60 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.462, allocations: 19.86 kB / 0.5637 GB, free: 40 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/0.4621, allocations: 29.7 kB / 0.5638 GB, free: 4 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.4624, allocations: 322.8 kB / 0.5641 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4625, allocations: 23.98 kB / 0.5641 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4627, allocations: 87.7 kB / 0.5642 GB, free: 15.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.463, allocations: 119.6 kB / 0.5643 GB, free: 15.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.463, allocations: 0 / 0.5643 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005103/0.4636, allocations: 149.4 kB / 0.5644 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.4636, allocations: 8.156 kB / 0.5645 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4636, allocations: 8 kB / 0.5645 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.4636, allocations: 4 kB / 0.5645 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.4638, allocations: 23.92 kB / 0.5645 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.4638, allocations: 4 kB / 0.5645 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.464, allocations: 15.89 kB / 0.5645 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.464, allocations: 8 kB / 0.5645 GB, free: 15.18 MB / 414.1 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.0002027/0.4642, allocations: 125.8 kB / 0.5646 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.4642, allocations: 15.88 kB / 0.5647 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.4643, allocations: 12.72 kB / 0.5647 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4643, allocations: 4 kB / 0.5647 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4643, allocations: 0 / 0.5647 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4643, allocations: 0 / 0.5647 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.4647, allocations: 205.5 kB / 0.5649 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4647, allocations: 0 / 0.5649 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.4649, allocations: 15.98 kB / 0.5649 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.4649, allocations: 3.938 kB / 0.5649 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.4649, allocations: 0 / 0.5649 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.4649, allocations: 4 kB / 0.5649 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4649, allocations: 8 kB / 0.5649 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.4655, allocations: 169 kB / 0.5651 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.4657, allocations: 88.98 kB / 0.5651 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.4657, allocations: 7.938 kB / 0.5651 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4658, allocations: 4.094 kB / 0.5652 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.4659, allocations: 11.92 kB / 0.5652 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.4659, allocations: 4.062 kB / 0.5652 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.4661, allocations: 118.2 kB / 0.5653 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4661, allocations: 0 / 0.5653 GB, free: 14.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004123/0.4665, allocations: 16 kB / 0.5653 GB, free: 14.28 MB / 414.1 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.0001882/0.4667, allocations: 103.2 kB / 0.5654 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004005/0.4671, allocations: 75.83 kB / 0.5655 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4671, allocations: 4.438 kB / 0.5655 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.4672, allocations: 31.97 kB / 0.5655 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.4676, allocations: 19.88 kB / 0.5655 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009565/0.4686, allocations: 273 kB / 0.5658 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.4691, allocations: 0.7002 MB / 0.5665 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.347e-05/0.4692, allocations: 20.41 kB / 0.5665 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.4693, allocations: 11.44 kB / 0.5665 GB, free: 12.99 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4693, allocations: 0 / 0.5665 GB, free: 12.99 MB / 414.1 MB Notification: Performance of Templates: time 0.006783/0.4761, allocations: 1.029 MB / 0.5675 GB, free: 11.97 MB / 414.1 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.0.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: 5.35885757021606]