Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 108.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 180.9 kB / 18.71 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1981/0.1981, allocations: 44.2 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.345, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002963/0.348, allocations: 1.67 MB / 0.5205 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009953/0.349, allocations: 0.5397 MB / 0.5211 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.3491, allocations: 1.312 kB / 0.5211 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.3492, allocations: 10.12 kB / 0.5211 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.3493, allocations: 19.66 kB / 0.5211 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.3496, allocations: 55.16 kB / 0.5211 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3497, allocations: 112.6 kB / 0.5212 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3499, allocations: 35 kB / 0.5213 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.35, allocations: 41.62 kB / 0.5213 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3501, allocations: 50.5 kB / 0.5214 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.3501, allocations: 14.38 kB / 0.5214 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.262e-05/0.3501, allocations: 9.562 kB / 0.5214 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.3502, allocations: 28.72 kB / 0.5214 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.3503, allocations: 47.88 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.3504, allocations: 103.6 kB / 0.5216 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3504, allocations: 0 / 0.5216 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3504, allocations: 0 / 0.5216 GB, free: 1.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.3505, allocations: 5.156 kB / 0.5216 GB, free: 1.785 MB / 382.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.000654/0.3511, allocations: 419.6 kB / 0.522 GB, free: 1.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3512, allocations: 9.688 kB / 0.522 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.3512, allocations: 12.28 kB / 0.522 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3514, allocations: 212.1 kB / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3514, allocations: 3.812 kB / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.3514, allocations: 11.38 kB / 0.5222 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3517, allocations: 103.5 kB / 0.5223 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3517, allocations: 0.875 kB / 0.5223 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3517, allocations: 1.609 kB / 0.5223 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.3517, allocations: 1.25 kB / 0.5223 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.3518, allocations: 51.09 kB / 0.5224 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.3524, allocations: 373 kB / 0.5227 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.3525, allocations: 65.73 kB / 0.5228 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.3526, allocations: 32.17 kB / 0.5228 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.3526, allocations: 0 / 0.5228 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.3528, allocations: 104.4 kB / 0.5229 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.3528, allocations: 0 / 0.5229 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003647/0.3532, allocations: 124.9 kB / 0.523 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.3532, allocations: 56.97 kB / 0.5231 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3533, allocations: 141.5 kB / 0.5232 GB, free: 400 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3533, allocations: 27.69 kB / 0.5232 GB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.3534, allocations: 109.1 kB / 0.5233 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.3534, allocations: 29.25 kB / 0.5234 GB, free: 240 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.3535, allocations: 35.56 kB / 0.5234 GB, free: 212 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3536, allocations: 325.2 kB / 0.5237 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.3537, allocations: 30.11 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3538, allocations: 78.05 kB / 0.5238 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.354, allocations: 130.4 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.354, allocations: 1.562 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002788/0.3543, allocations: 137.7 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3543, allocations: 7.25 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3543, allocations: 0.9375 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3543, allocations: 3.656 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3545, allocations: 33.31 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3545, allocations: 2.859 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.3545, allocations: 19.05 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3546, allocations: 4.688 kB / 0.5241 GB, free: 15.59 MB / 398.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 9.763e-05/0.3547, allocations: 123.4 kB / 0.5243 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.3547, allocations: 13.22 kB / 0.5243 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.3547, allocations: 12.28 kB / 0.5243 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3547, allocations: 5.062 kB / 0.5243 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3547, allocations: 4.516 kB / 0.5243 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3547, allocations: 1.672 kB / 0.5243 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3549, allocations: 209.2 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3549, allocations: 1.156 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.355, allocations: 11.42 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.355, allocations: 1.375 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.355, allocations: 3 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.355, allocations: 7.875 kB / 0.5245 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.355, allocations: 0.6562 kB / 0.5245 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.3554, allocations: 168.1 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.3555, allocations: 85.16 kB / 0.5248 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3555, allocations: 2.031 kB / 0.5248 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.3556, allocations: 12.12 kB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.3556, allocations: 5.578 kB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.3557, allocations: 3.812 kB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.556e-05/0.3557, allocations: 104.2 kB / 0.5249 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3557, allocations: 160 / 0.5249 GB, free: 14.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.356, allocations: 31.72 kB / 0.5249 GB, free: 14.91 MB / 398.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.0001523/0.3561, allocations: 103.8 kB / 0.525 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.3564, allocations: 67.94 kB / 0.5251 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3564, allocations: 1.312 kB / 0.5251 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3565, allocations: 34.73 kB / 0.5251 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.3568, allocations: 13.17 kB / 0.5251 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.3574, allocations: 261.9 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.3579, allocations: 0.7043 MB / 0.5261 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.938e-05/0.3579, allocations: 13.62 kB / 0.5261 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.358, allocations: 13.09 kB / 0.5261 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.358, allocations: 0 / 0.5261 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.004215/0.3622, allocations: 0.9286 MB / 0.527 GB, free: 13.74 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches