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.001127/0.001127, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001064/0.001064, allocations: 156.5 kB / 24.55 MB, free: 20 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.059/1.059, allocations: 177 MB / 204.8 MB, free: 5.602 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.2715/0.2715, allocations: 34.86 MB / 296.3 MB, free: 0.543 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 2.525e-06/2.525e-06, allocations: 0 / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.696e-05, allocations: 2.312 kB / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002666/0.002693, allocations: 1.722 MB / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003778, allocations: 0.5648 MB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.003867, allocations: 8 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.003996, allocations: 7.875 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.004062, allocations: 27.62 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.004472, allocations: 63.73 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.00464, allocations: 115.6 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.004787, allocations: 25.23 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.004989, allocations: 79.8 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.005109, allocations: 35.89 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.005147, allocations: 16 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.005267, allocations: 15.98 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.005324, allocations: 31.86 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.301e-05/0.005397, allocations: 31.91 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.005619, allocations: 91.64 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005621, allocations: 0 / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005622, allocations: 0 / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.005629, allocations: 0 / 381.6 MB, free: 15.28 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.0006401/0.006269, allocations: 479.4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.006315, allocations: 8.031 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.006526, allocations: 40.83 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.006728, allocations: 153 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.00674, allocations: 4.375 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.006773, allocations: 8.375 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.006949, allocations: 93.38 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.006964, allocations: 3.938 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.00698, allocations: 4 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.006993, allocations: 4 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.878e-05/0.007051, allocations: 19.97 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.007587, allocations: 367.4 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.007695, allocations: 47.08 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.007734, allocations: 15.75 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.007764, allocations: 0 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.007934, allocations: 96.98 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.695e-06/0.007937, allocations: 3.984 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002454/0.008182, allocations: 97.56 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.008219, allocations: 55.41 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.008331, allocations: 201.8 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.008346, allocations: 29.7 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.008412, allocations: 154.9 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.008441, allocations: 35.72 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.00849, allocations: 43.36 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.008615, allocations: 0.4884 MB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.008643, allocations: 12 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/0.00871, allocations: 97.11 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.008818, allocations: 129.1 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.00882, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001461/0.008966, allocations: 125.6 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.008984, allocations: 11.97 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.008993, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.009016, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.009128, allocations: 27.92 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.009137, allocations: 3.938 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.009174, allocations: 8 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.009185, allocations: 11.98 kB / 384.4 MB, free: 12.15 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.773e-05/0.009272, allocations: 164.5 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.00929, allocations: 15.91 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.009325, allocations: 16.72 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.009327, allocations: 4 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.009333, allocations: 3.938 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.009339, allocations: 3.984 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.009449, allocations: 140.6 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.00945, allocations: 4 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.009502, allocations: 15.98 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.009504, allocations: 0 / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.009518, allocations: 0 / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.009519, allocations: 0 / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00952, allocations: 4 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.009711, allocations: 144.5 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.009727, allocations: 11.91 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.009746, allocations: 4 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.876e-05/0.009774, allocations: 7.984 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.009824, allocations: 7.984 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.009832, allocations: 3.938 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.174e-05/0.009903, allocations: 154.9 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009904, allocations: 0 / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.01007, allocations: 23.94 kB / 385.1 MB, free: 11.37 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.0001006/0.01017, allocations: 103.3 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.01034, allocations: 61.98 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01034, allocations: 3.938 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.01038, allocations: 27.67 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.01057, allocations: 19.98 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.01126, allocations: 262.8 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.596e-05/0.01131, allocations: 63.34 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.517e-05/0.01135, allocations: 12.48 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.01139, allocations: 12.5 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01139, allocations: 0 / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Templates: time 0.002903/0.01429, allocations: 1.047 MB / 386.7 MB, free: 9.727 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: 3.3228670582175255]