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.001726/0.001726, allocations: 85.5 kB / 20.68 MB, free: 1.035 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.001654/0.001654, allocations: 158.3 kB / 23.95 MB, free: 4.168 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.515/1.515, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.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.2127/0.2127, allocations: 34.26 MB / 294.8 MB, free: 14.5 MB / 286.1 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.705e-06/2.705e-06, allocations: 0 / 442.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/3.028e-05, allocations: 4.672 kB / 442.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003274/0.003304, allocations: 1.659 MB / 444.3 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.00457, allocations: 0.557 MB / 444.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.004653, allocations: 3.938 kB / 444.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.004755, allocations: 11.86 kB / 444.9 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.004816, allocations: 23.8 kB / 444.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.005149, allocations: 63.69 kB / 445 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.005333, allocations: 123.6 kB / 445.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.005464, allocations: 25.3 kB / 445.1 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.005657, allocations: 75.75 kB / 445.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.005768, allocations: 39.88 kB / 445.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.005801, allocations: 12 kB / 445.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.005867, allocations: 15.94 kB / 445.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.005911, allocations: 31.91 kB / 445.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.005973, allocations: 39.83 kB / 445.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.006183, allocations: 127.6 kB / 445.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.006186, allocations: 0 / 445.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006187, allocations: 4 kB / 445.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.006197, allocations: 0 / 445.4 MB, free: 2.461 MB / 366.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.0007709/0.006968, allocations: 367.5 kB / 445.8 MB, free: 2.066 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.007005, allocations: 8.031 kB / 445.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.007211, allocations: 28.83 kB / 445.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.007434, allocations: 146.1 kB / 446 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.007447, allocations: 8.375 kB / 446 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.007482, allocations: 16.36 kB / 446 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.007706, allocations: 98.14 kB / 446.1 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.007727, allocations: 7.938 kB / 446.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.007743, allocations: 0 / 446.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.007748, allocations: 0 / 446.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.007898, allocations: 51.95 kB / 446.2 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.008467, allocations: 312.2 kB / 446.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.008614, allocations: 54.5 kB / 446.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.008685, allocations: 32.98 kB / 446.5 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.008705, allocations: 4 kB / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.008916, allocations: 99.28 kB / 446.6 MB, free: 1.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.008917, allocations: 0 / 446.6 MB, free: 1.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003577/0.009275, allocations: 125.5 kB / 446.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.009317, allocations: 55.41 kB / 446.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.009457, allocations: 149 kB / 447 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.009482, allocations: 33.7 kB / 447 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.009558, allocations: 108 kB / 447.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.009591, allocations: 31.91 kB / 447.1 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.009647, allocations: 34.08 kB / 447.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.00979, allocations: 326.8 kB / 447.5 MB, free: 244 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.009866, allocations: 23.98 kB / 447.5 MB, free: 220 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.009982, allocations: 85.91 kB / 447.6 MB, free: 108 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2615/0.2715, allocations: 125.4 kB / 447.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.2715, allocations: 0 / 447.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003574/0.2719, allocations: 143.1 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.2719, allocations: 8 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2719, allocations: 4.969 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.2719, allocations: 3.281 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2721, allocations: 21.33 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.2721, allocations: 9.688 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.133e-05/0.2722, allocations: 16.95 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2722, allocations: 12.59 kB / 447.9 MB, free: 18.87 MB / 366.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.0001249/0.2723, allocations: 128.9 kB / 448.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.2723, allocations: 8.922 kB / 448.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.2724, allocations: 11.48 kB / 448.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.2724, allocations: 1.719 kB / 448.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2724, allocations: 3.703 kB / 448.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2724, allocations: 2.297 kB / 448.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.2726, allocations: 150.5 kB / 448.2 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2726, allocations: 1.156 kB / 448.2 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.2727, allocations: 11.62 kB / 448.2 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2727, allocations: 2.938 kB / 448.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2727, allocations: 1.969 kB / 448.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2727, allocations: 1.156 kB / 448.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2727, allocations: 4.547 kB / 448.3 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.273, allocations: 173.3 kB / 448.4 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.2731, allocations: 12.22 kB / 448.4 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.2731, allocations: 7.25 kB / 448.4 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.2731, allocations: 2.719 kB / 448.5 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.2732, allocations: 8.906 kB / 448.5 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2732, allocations: 5.172 kB / 448.5 MB, free: 18.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.165e-05/0.2733, allocations: 112.3 kB / 448.6 MB, free: 18.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2733, allocations: 0 / 448.6 MB, free: 18.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.2735, allocations: 23.69 kB / 448.6 MB, free: 18.48 MB / 366.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.0001013/0.2736, allocations: 97.44 kB / 448.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.2739, allocations: 78.03 kB / 448.8 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2739, allocations: 0.7188 kB / 448.8 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.458e-05/0.274, allocations: 36.2 kB / 448.8 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.2742, allocations: 11.72 kB / 448.8 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.2747, allocations: 236.4 kB / 449 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.281e-05/0.2748, allocations: 100.4 kB / 449.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.2749, allocations: 10.39 kB / 449.2 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.2749, allocations: 14.52 kB / 449.2 MB, free: 18.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2749, allocations: 1.062 kB / 449.2 MB, free: 18.14 MB / 366.1 MB Notification: Performance of Templates: time 0.004945/0.2799, allocations: 1.034 MB / 450.2 MB, free: 18.08 MB / 366.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.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: 5.046236015856266]