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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009805/0.0009805, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.157/1.157, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008499/0.0008499, allocations: 91.86 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2766/0.2766, allocations: 45.23 MB / 394.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000245/0.000245, allocations: 4 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2671, allocations: 63.25 MB / 0.5192 GB, free: 43.97 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08903/0.3562, allocations: 87.97 MB / 0.6051 GB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001707/0.3564, allocations: 60.86 kB / 0.6052 GB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00563/0.362, allocations: 1.967 MB / 0.6071 GB, free: 15.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.362, allocations: 4 kB / 0.6071 GB, free: 15.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3621, allocations: 0.5938 kB / 0.6071 GB, free: 15.63 MB / 426.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.0004978/0.3626, allocations: 404 kB / 0.6075 GB, free: 15.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3626, allocations: 12.88 kB / 0.6075 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.3628, allocations: 28.62 kB / 0.6075 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.363, allocations: 218.2 kB / 0.6077 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3631, allocations: 11.98 kB / 0.6077 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3631, allocations: 8.812 kB / 0.6077 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3633, allocations: 100.5 kB / 0.6078 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3633, allocations: 0 / 0.6078 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3634, allocations: 4 kB / 0.6078 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3634, allocations: 0 / 0.6078 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3635, allocations: 51.97 kB / 0.6079 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.364, allocations: 398.1 kB / 0.6083 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3642, allocations: 58.55 kB / 0.6083 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3642, allocations: 8.125 kB / 0.6083 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.3644, allocations: 107.2 kB / 0.6084 GB, free: 14.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3644, allocations: 3.938 kB / 0.6084 GB, free: 14.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003162/0.3647, allocations: 129.5 kB / 0.6086 GB, free: 13.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.3648, allocations: 55.41 kB / 0.6086 GB, free: 13.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3649, allocations: 134.7 kB / 0.6087 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3649, allocations: 29.7 kB / 0.6088 GB, free: 13.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.365, allocations: 108.1 kB / 0.6089 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.365, allocations: 31.69 kB / 0.6089 GB, free: 13.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.365, allocations: 8 kB / 0.6089 GB, free: 13.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3652, allocations: 318.8 kB / 0.6092 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.3652, allocations: 27.98 kB / 0.6092 GB, free: 13.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.3653, allocations: 89.2 kB / 0.6093 GB, free: 13.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.091e-05/0.3654, allocations: 39.98 kB / 0.6094 GB, free: 13.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3654, allocations: 0 / 0.6094 GB, free: 13.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002563/0.3657, allocations: 145.4 kB / 0.6095 GB, free: 12.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3657, allocations: 6.25 kB / 0.6095 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3657, allocations: 8 kB / 0.6095 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3658, allocations: 7.953 kB / 0.6095 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.3659, allocations: 23.92 kB / 0.6095 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3659, allocations: 4 kB / 0.6095 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.366, allocations: 11.91 kB / 0.6096 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.366, allocations: 12 kB / 0.6096 GB, free: 12.85 MB / 426.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 ($PRE.mean1.y_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/0.3661, allocations: 129.7 kB / 0.6097 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.3661, allocations: 15.89 kB / 0.6097 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.3662, allocations: 12.72 kB / 0.6097 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3662, allocations: 7.891 kB / 0.6097 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3662, allocations: 0 / 0.6097 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3662, allocations: 0 / 0.6097 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.3664, allocations: 205.6 kB / 0.6099 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3664, allocations: 0 / 0.6099 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-05/0.3665, allocations: 11.98 kB / 0.6099 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3665, allocations: 0 / 0.6099 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3665, allocations: 4 kB / 0.6099 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3665, allocations: 4.375 kB / 0.6099 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3665, allocations: 3.953 kB / 0.6099 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3668, allocations: 178.1 kB / 0.6101 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.3669, allocations: 89.03 kB / 0.6102 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.3669, allocations: 4 kB / 0.6102 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.367, allocations: 8.062 kB / 0.6102 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.367, allocations: 7.984 kB / 0.6102 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3671, allocations: 7.953 kB / 0.6102 GB, free: 12.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.014e-05/0.3671, allocations: 114.8 kB / 0.6103 GB, free: 11.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3671, allocations: 0 / 0.6103 GB, free: 11.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.3674, allocations: 31.94 kB / 0.6104 GB, free: 11.95 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.3675, allocations: 103.3 kB / 0.6105 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.3677, allocations: 87.83 kB / 0.6105 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3677, allocations: 0 / 0.6105 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.3678, allocations: 31.98 kB / 0.6106 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.368, allocations: 11.98 kB / 0.6106 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.3684, allocations: 303.1 kB / 0.6109 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.3687, allocations: 0.7121 MB / 0.6116 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.932e-05/0.3687, allocations: 12.55 kB / 0.6116 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.3688, allocations: 11.44 kB / 0.6116 GB, free: 10.63 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3688, allocations: 288 / 0.6116 GB, free: 10.63 MB / 426.7 MB Notification: Performance of Templates: time 0.002712/0.3715, allocations: 0.8844 MB / 0.6125 GB, free: 9.75 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile (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) 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","../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches