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.001184/0.001184, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009286/0.0009286, allocations: 99.39 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3491/0.3491, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3293, allocations: 62.02 MB / 0.5151 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002492/0.3319, allocations: 1.744 MB / 0.5169 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008449/0.3327, allocations: 0.5834 MB / 0.5174 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.3328, allocations: 0 / 0.5174 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.799e-05/0.3329, allocations: 7.312 kB / 0.5174 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.333, allocations: 14.8 kB / 0.5174 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.3332, allocations: 58.17 kB / 0.5175 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3334, allocations: 109.3 kB / 0.5176 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3335, allocations: 28.78 kB / 0.5176 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.3336, allocations: 49.59 kB / 0.5177 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3337, allocations: 48.8 kB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3338, allocations: 5.438 kB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.328e-05/0.3338, allocations: 16.16 kB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.3339, allocations: 23.56 kB / 0.5178 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.3339, allocations: 48.94 kB / 0.5178 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.3341, allocations: 119.6 kB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3341, allocations: 0 / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3341, allocations: 0 / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.3341, allocations: 0 / 0.5179 GB, free: 35.83 MB / 378.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.0006062/0.3347, allocations: 424.4 kB / 0.5183 GB, free: 35.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3348, allocations: 13.16 kB / 0.5183 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.335, allocations: 22.36 kB / 0.5184 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.3351, allocations: 215.4 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3352, allocations: 7.281 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.3352, allocations: 16.5 kB / 0.5186 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3354, allocations: 90.11 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3354, allocations: 3.938 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3354, allocations: 4 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3354, allocations: 2.906 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3356, allocations: 48.33 kB / 0.5187 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.3361, allocations: 396.1 kB / 0.5191 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.3362, allocations: 52.88 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.3363, allocations: 34.84 kB / 0.5192 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3363, allocations: 3.375 kB / 0.5192 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.3365, allocations: 101.1 kB / 0.5193 GB, free: 34.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.3365, allocations: 3.938 kB / 0.5193 GB, free: 34.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003207/0.3368, allocations: 127.1 kB / 0.5194 GB, free: 34.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.3369, allocations: 65.56 kB / 0.5195 GB, free: 34.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.337, allocations: 143.7 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.337, allocations: 29.7 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.337, allocations: 109.3 kB / 0.5198 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.3371, allocations: 25.7 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.3371, allocations: 32.78 kB / 0.5198 GB, free: 34.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.823e-05/0.3372, allocations: 321.3 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.3373, allocations: 28.56 kB / 0.5201 GB, free: 33.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.318e-05/0.3374, allocations: 82.73 kB / 0.5202 GB, free: 33.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3375, allocations: 128.1 kB / 0.5203 GB, free: 33.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3375, allocations: 0 / 0.5203 GB, free: 33.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002085/0.3377, allocations: 143.4 kB / 0.5205 GB, free: 33.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3378, allocations: 9.5 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3378, allocations: 2.844 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3378, allocations: 3.031 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3379, allocations: 24.72 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3379, allocations: 2.875 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.338, allocations: 13.22 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.338, allocations: 9.438 kB / 0.5205 GB, free: 33.63 MB / 378.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.885e-05/0.3381, allocations: 130.4 kB / 0.5207 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.3381, allocations: 17.41 kB / 0.5207 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.3382, allocations: 14.98 kB / 0.5207 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3382, allocations: 0 / 0.5207 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3382, allocations: 3 kB / 0.5207 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3382, allocations: 0 / 0.5207 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.3383, allocations: 213.6 kB / 0.5209 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3383, allocations: 0 / 0.5209 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.3384, allocations: 19.11 kB / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3384, allocations: 3.938 kB / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3384, allocations: 0 / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3384, allocations: 3.375 kB / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3384, allocations: 0 / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009616/0.3394, allocations: 1.148 MB / 0.5221 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.3395, allocations: 87.89 kB / 0.5221 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3395, allocations: 2.938 kB / 0.5221 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.572e-05/0.3395, allocations: 3.141 kB / 0.5221 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3396, allocations: 7.297 kB / 0.5221 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3396, allocations: 11.94 kB / 0.5222 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.163e-05/0.3397, allocations: 110.5 kB / 0.5223 GB, free: 32.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3397, allocations: 0 / 0.5223 GB, free: 32.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000272/0.3399, allocations: 31.31 kB / 0.5223 GB, free: 32 MB / 378.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 8.327e-05/0.34, allocations: 101 kB / 0.5224 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.3402, allocations: 72.53 kB / 0.5225 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3402, allocations: 4.438 kB / 0.5225 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.3403, allocations: 38.08 kB / 0.5225 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.3405, allocations: 15.44 kB / 0.5225 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.341, allocations: 423.6 kB / 0.5229 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.3412, allocations: 0.7133 MB / 0.5236 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.3413, allocations: 10.19 kB / 0.5236 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.3413, allocations: 16.09 kB / 0.5236 GB, free: 30.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3413, allocations: 3 kB / 0.5236 GB, free: 30.8 MB / 378.7 MB Notification: Performance of Templates: time 0.002804/0.3441, allocations: 0.9741 MB / 0.5246 GB, free: 30.71 MB / 378.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@2/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