Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 116.2 kB / 17.05 MB, free: 6.035 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.001466/0.001466, allocations: 195 kB / 17.98 MB, free: 5.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.286/0.286, allocations: 43.52 MB / 314.7 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 61.47 kB / 442.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1232, allocations: 57.8 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002896/0.1261, allocations: 1.654 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.1271, allocations: 0.5736 MB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.1272, allocations: 4 kB / 0.4907 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.1273, allocations: 11.86 kB / 0.4907 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.1273, allocations: 11.81 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1276, allocations: 55.88 kB / 0.4907 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1278, allocations: 115.6 kB / 0.4908 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.128, allocations: 43.91 kB / 0.4909 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.1281, allocations: 43.84 kB / 0.4909 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1282, allocations: 39.84 kB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1282, allocations: 8 kB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.415e-05/0.1282, allocations: 12 kB / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.1283, allocations: 23.91 kB / 0.491 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.1284, allocations: 51.66 kB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1285, allocations: 99.69 kB / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1285, allocations: 0 / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1285, allocations: 0 / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1285, allocations: 0 / 0.4912 GB, free: 9.082 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007698/0.1293, allocations: 419 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1294, allocations: 11.89 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.1294, allocations: 8.844 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1297, allocations: 204.1 kB / 0.4918 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1297, allocations: 12.31 kB / 0.4918 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1297, allocations: 8.359 kB / 0.4918 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1299, allocations: 93.97 kB / 0.4919 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.13, allocations: 7.922 kB / 0.4919 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.13, allocations: 7.922 kB / 0.4919 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.13, allocations: 4 kB / 0.4919 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1301, allocations: 43.97 kB / 0.4919 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.1307, allocations: 364.6 kB / 0.4923 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1308, allocations: 58.59 kB / 0.4923 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.79e-05/0.1309, allocations: 28.95 kB / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1309, allocations: 0 / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.1311, allocations: 99.28 kB / 0.4925 GB, free: 7.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1311, allocations: 4 kB / 0.4925 GB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000341/0.1315, allocations: 125.5 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1315, allocations: 55.41 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1317, allocations: 148.2 kB / 0.4928 GB, free: 7.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1317, allocations: 25.7 kB / 0.4928 GB, free: 7.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.1318, allocations: 108.2 kB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1318, allocations: 35.53 kB / 0.4929 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.1319, allocations: 33.72 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.132, allocations: 318.8 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.1321, allocations: 27.98 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1322, allocations: 83.64 kB / 0.4934 GB, free: 6.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.1324, allocations: 127.6 kB / 0.4935 GB, free: 6.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1324, allocations: 0 / 0.4935 GB, free: 6.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002267/0.1326, allocations: 137.4 kB / 0.4936 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1326, allocations: 8 kB / 0.4936 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1326, allocations: 0 / 0.4936 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1327, allocations: 4 kB / 0.4936 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1328, allocations: 19.98 kB / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.1328, allocations: 16.47 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.1329, allocations: 11.91 kB / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1329, allocations: 12 kB / 0.4937 GB, free: 6.188 MB / 382.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,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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 0.0001072/0.133, allocations: 137.7 kB / 0.4938 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.133, allocations: 11.84 kB / 0.4938 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.1331, allocations: 12.8 kB / 0.4939 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1331, allocations: 4 kB / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.1331, allocations: 3.938 kB / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1331, allocations: 7.984 kB / 0.4939 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.1333, allocations: 197.6 kB / 0.4941 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1333, allocations: 3.938 kB / 0.4941 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.1334, allocations: 15.92 kB / 0.4941 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1334, allocations: 0 / 0.4941 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1334, allocations: 4 kB / 0.4941 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1334, allocations: 0 / 0.4941 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1335, allocations: 3.938 kB / 0.4941 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.1338, allocations: 168.9 kB / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.1338, allocations: 85 kB / 0.4943 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1339, allocations: 4.031 kB / 0.4943 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.1339, allocations: 4 kB / 0.4943 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.134, allocations: 11.92 kB / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.134, allocations: 4 kB / 0.4944 GB, free: 5.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.116e-05/0.1341, allocations: 108 kB / 0.4945 GB, free: 5.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1341, allocations: 0 / 0.4945 GB, free: 5.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1343, allocations: 24.05 kB / 0.4945 GB, free: 5.293 MB / 382.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,rootMeanSquare.mean.y) * 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.0001121/0.1344, allocations: 99.19 kB / 0.4946 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1347, allocations: 75.84 kB / 0.4946 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1347, allocations: 4 kB / 0.4947 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.048e-05/0.1348, allocations: 39.91 kB / 0.4947 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.135, allocations: 8.719 kB / 0.4947 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.1355, allocations: 274.6 kB / 0.495 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1358, allocations: 0.7041 MB / 0.4956 GB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.1358, allocations: 15.44 kB / 0.4957 GB, free: 4.016 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1358, allocations: 0 / 0.4957 GB, free: 4.016 MB / 382.1 MB Notification: Performance of Templates: time 0.002882/0.1387, allocations: 1.347 MB / 0.497 GB, free: 2.668 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches