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.001168/0.001168, allocations: 112.9 kB / 18.45 MB, free: 4.594 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.001109/0.001109, allocations: 183 kB / 19.38 MB, free: 3.672 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.264/1.264, allocations: 222.9 MB / 243.1 MB, free: 15.17 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.192/0.192, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2862, allocations: 60.83 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003553/0.2898, allocations: 1.666 MB / 0.5212 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009045/0.2908, allocations: 0.5306 MB / 0.5217 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.2909, allocations: 1.438 kB / 0.5217 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.173e-05/0.291, allocations: 18.31 kB / 0.5217 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.291, allocations: 15.91 kB / 0.5217 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.2913, allocations: 57.34 kB / 0.5218 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.2914, allocations: 109.4 kB / 0.5219 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2916, allocations: 40.33 kB / 0.5219 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.761e-05/0.2917, allocations: 47.02 kB / 0.522 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2918, allocations: 53.62 kB / 0.522 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.2918, allocations: 9.688 kB / 0.522 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.2919, allocations: 9.531 kB / 0.5221 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.2919, allocations: 21.58 kB / 0.5221 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.826e-05/0.292, allocations: 51.86 kB / 0.5221 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.2921, allocations: 103.5 kB / 0.5222 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2921, allocations: 1.156 kB / 0.5222 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2921, allocations: 3.938 kB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2921, allocations: 0 / 0.5222 GB, free: 1.777 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.0005698/0.2927, allocations: 423.5 kB / 0.5226 GB, free: 1.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2928, allocations: 9.328 kB / 0.5226 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.2928, allocations: 12.28 kB / 0.5227 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.293, allocations: 203.5 kB / 0.5229 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.293, allocations: 9.359 kB / 0.5229 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.293, allocations: 11.97 kB / 0.5229 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.2933, allocations: 90.83 kB / 0.523 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2933, allocations: 4.516 kB / 0.523 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.2933, allocations: 10.33 kB / 0.523 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2933, allocations: 1.094 kB / 0.523 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.2934, allocations: 52.27 kB / 0.523 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.2939, allocations: 371.9 kB / 0.5234 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.2941, allocations: 64.27 kB / 0.5234 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.2941, allocations: 31.91 kB / 0.5235 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2942, allocations: 1.25 kB / 0.5235 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.2943, allocations: 111.4 kB / 0.5236 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.2944, allocations: 1.25 kB / 0.5236 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003001/0.2947, allocations: 127.5 kB / 0.5237 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.2947, allocations: 54.3 kB / 0.5238 GB, free: 500 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.2948, allocations: 141.7 kB / 0.5239 GB, free: 380 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2948, allocations: 28.08 kB / 0.5239 GB, free: 348 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.2949, allocations: 108.3 kB / 0.524 GB, free: 244 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.2949, allocations: 30.09 kB / 0.524 GB, free: 220 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.2949, allocations: 30.55 kB / 0.5241 GB, free: 196 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.295, allocations: 325 kB / 0.5244 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.987e-05/0.2951, allocations: 26.17 kB / 0.5244 GB, free: 15.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.2952, allocations: 77.66 kB / 0.5245 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2954, allocations: 123.2 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2954, allocations: 5.531 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002375/0.2957, allocations: 137.3 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2957, allocations: 6.109 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2957, allocations: 2.125 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2957, allocations: 7.688 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2958, allocations: 21.31 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2958, allocations: 7.188 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-05/0.2959, allocations: 22.17 kB / 0.5248 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2959, allocations: 7.266 kB / 0.5248 GB, free: 15.58 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.12e-05/0.296, allocations: 125.7 kB / 0.5249 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.2961, allocations: 8.859 kB / 0.5249 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.2961, allocations: 12.17 kB / 0.5249 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2961, allocations: 0.75 kB / 0.5249 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2961, allocations: 5.375 kB / 0.525 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.2962, allocations: 84.31 kB / 0.525 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.2962, allocations: 9.781 kB / 0.525 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.2963, allocations: 4.766 kB / 0.525 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.2963, allocations: 4.812 kB / 0.5251 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003113/0.2966, allocations: 200.7 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003698/0.297, allocations: 329.7 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.069e-05/0.2971, allocations: 31.58 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.884e-05/0.2972, allocations: 110.2 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of Backend: time 3.81e-07/0.2972, allocations: 0 / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.2976, allocations: 124 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006174/0.2982, allocations: 0.6925 MB / 0.5265 GB, free: 14.1 MB / 398.1 MB Notification: Performance of Templates: time 0.003867/0.3021, allocations: 1.103 MB / 0.5276 GB, free: 13.91 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches