Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008986/0.0008987, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.7 MB / 243.9 MB, free: 8.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008135/0.0008137, allocations: 92.02 kB / 295 MB, free: 9.516 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3364/0.3364, allocations: 44.31 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003087, allocations: 8 kB / 463.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2853, allocations: 61.9 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001552/0.2869, allocations: 1.348 MB / 0.514 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007096/0.2877, allocations: 0.5078 MB / 0.5145 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.2878, allocations: 6.969 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2879, allocations: 7.406 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.2879, allocations: 7.922 kB / 0.5146 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.2882, allocations: 51.52 kB / 0.5146 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.2883, allocations: 104.4 kB / 0.5147 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2885, allocations: 29.38 kB / 0.5147 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2886, allocations: 39.25 kB / 0.5148 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.2887, allocations: 42.53 kB / 0.5148 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.2887, allocations: 2.688 kB / 0.5148 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.2888, allocations: 2.656 kB / 0.5148 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.2888, allocations: 20.59 kB / 0.5148 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.2889, allocations: 64.61 kB / 0.5149 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.289, allocations: 98.02 kB / 0.515 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.289, allocations: 4 kB / 0.515 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.289, allocations: 0 / 0.515 GB, free: 36.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.289, allocations: 0 / 0.515 GB, free: 36.34 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.0005427/0.2896, allocations: 397.5 kB / 0.5154 GB, free: 35.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2896, allocations: 8.625 kB / 0.5154 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.2897, allocations: 18.06 kB / 0.5154 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.2898, allocations: 205 kB / 0.5156 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2899, allocations: 10.66 kB / 0.5156 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.2899, allocations: 10.34 kB / 0.5156 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2901, allocations: 95.39 kB / 0.5157 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2901, allocations: 3.984 kB / 0.5157 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2901, allocations: 3.328 kB / 0.5157 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2901, allocations: 3.094 kB / 0.5157 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.2903, allocations: 63.08 kB / 0.5158 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.2907, allocations: 376.9 kB / 0.5161 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.2909, allocations: 67.45 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.2909, allocations: 27.53 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.291, allocations: 0 / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.2911, allocations: 101.9 kB / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.2912, allocations: 4 kB / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003009/0.2915, allocations: 134.6 kB / 0.5165 GB, free: 35.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.2915, allocations: 62.25 kB / 0.5165 GB, free: 35.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.2916, allocations: 138.3 kB / 0.5167 GB, free: 34.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2916, allocations: 32.3 kB / 0.5167 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.2916, allocations: 106.1 kB / 0.5168 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.2917, allocations: 32.17 kB / 0.5168 GB, free: 34.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.2917, allocations: 4 kB / 0.5168 GB, free: 34.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.2918, allocations: 320.8 kB / 0.5171 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.2918, allocations: 23.69 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.809e-05/0.2919, allocations: 86.44 kB / 0.5172 GB, free: 34.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2921, allocations: 121.4 kB / 0.5173 GB, free: 34.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2921, allocations: 2.719 kB / 0.5174 GB, free: 34.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002161/0.2923, allocations: 145.5 kB / 0.5175 GB, free: 34.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2923, allocations: 5 kB / 0.5175 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2923, allocations: 2.438 kB / 0.5175 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2923, allocations: 7.156 kB / 0.5175 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2925, allocations: 34.3 kB / 0.5175 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2925, allocations: 2.531 kB / 0.5175 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.2926, allocations: 17.09 kB / 0.5176 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2926, allocations: 9.578 kB / 0.5176 GB, free: 34.16 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.914e-05/0.2927, allocations: 133.8 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.2927, allocations: 9.438 kB / 0.5177 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.2927, allocations: 11.59 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.2927, allocations: 6.938 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2927, allocations: 0 / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2927, allocations: 0 / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.2929, allocations: 202.7 kB / 0.5179 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2929, allocations: 0 / 0.5179 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.924e-05/0.293, allocations: 15.98 kB / 0.5179 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.293, allocations: 6.719 kB / 0.5179 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.293, allocations: 384 / 0.5179 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.293, allocations: 6.875 kB / 0.5179 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.293, allocations: 0 / 0.5179 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.2933, allocations: 175 kB / 0.5181 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.2933, allocations: 92.08 kB / 0.5182 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.2934, allocations: 2 kB / 0.5182 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.113e-05/0.2934, allocations: 11.81 kB / 0.5182 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.2935, allocations: 6.047 kB / 0.5182 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.2935, allocations: 2.688 kB / 0.5182 GB, free: 33.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.2936, allocations: 108.4 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2936, allocations: 0.9375 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002021/0.2938, allocations: 22.88 kB / 0.5183 GB, free: 33.49 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 0.0001046/0.2939, allocations: 105.4 kB / 0.5184 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.2941, allocations: 81.06 kB / 0.5185 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2941, allocations: 1.656 kB / 0.5185 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.2942, allocations: 36.81 kB / 0.5186 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.2944, allocations: 8.844 kB / 0.5186 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.2949, allocations: 302.2 kB / 0.5189 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.2951, allocations: 0.7047 MB / 0.5195 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.2952, allocations: 10.08 kB / 0.5196 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.2952, allocations: 12.81 kB / 0.5196 GB, free: 32.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2952, allocations: 1.25 kB / 0.5196 GB, free: 32.44 MB / 378.7 MB Notification: Performance of Templates: time 0.003279/0.2985, allocations: 0.8475 MB / 0.5204 GB, free: 32.35 MB / 378.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches