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.001076/0.001076, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001151/0.001151, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.452/1.452, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2299/0.2299, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 65.27 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1308, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003156/0.134, allocations: 1.652 MB / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009296/0.135, allocations: 0.5299 MB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.1351, allocations: 3.938 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1352, allocations: 11.86 kB / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.1352, allocations: 19.88 kB / 472.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1355, allocations: 59.81 kB / 472.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1357, allocations: 115.7 kB / 472.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1359, allocations: 29.38 kB / 472.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.136, allocations: 47.83 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1361, allocations: 47.72 kB / 472.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.1361, allocations: 12 kB / 472.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.962e-05/0.1362, allocations: 12 kB / 472.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.1362, allocations: 23.92 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.1363, allocations: 51.78 kB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1365, allocations: 107.9 kB / 472.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1365, allocations: 3.984 kB / 472.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1365, allocations: 0 / 472.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1365, allocations: 0 / 472.6 MB, free: 11.62 MB / 350.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.0007524/0.1373, allocations: 414.2 kB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1373, allocations: 12.03 kB / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.1374, allocations: 20.69 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.1376, allocations: 206.8 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1376, allocations: 8.375 kB / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1377, allocations: 8.375 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1379, allocations: 97.33 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1379, allocations: 0 / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1379, allocations: 8 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1379, allocations: 0 / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1381, allocations: 51.97 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.1387, allocations: 384.4 kB / 473.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1388, allocations: 66.52 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.1389, allocations: 28.95 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1389, allocations: 0 / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.1391, allocations: 95.34 kB / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1392, allocations: 0 / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003347/0.1395, allocations: 129.5 kB / 474.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.1396, allocations: 59.34 kB / 474.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.1397, allocations: 133.8 kB / 474.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1397, allocations: 33.69 kB / 474.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.1398, allocations: 107.9 kB / 474.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1398, allocations: 27.69 kB / 474.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1399, allocations: 37.7 kB / 474.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.14, allocations: 326.8 kB / 474.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.1401, allocations: 23.92 kB / 474.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.773e-05/0.1402, allocations: 79.72 kB / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1404, allocations: 123.6 kB / 475.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1404, allocations: 0 / 475.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002348/0.1406, allocations: 145.7 kB / 475.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1407, allocations: 8 kB / 475.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1407, allocations: 0 / 475.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1407, allocations: 4 kB / 475.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1408, allocations: 31.8 kB / 475.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1408, allocations: 7.984 kB / 475.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.1409, allocations: 16.06 kB / 475.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1409, allocations: 12 kB / 475.3 MB, free: 8.703 MB / 350.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 0.0001005/0.141, allocations: 121.8 kB / 475.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.1411, allocations: 7.906 kB / 475.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.1411, allocations: 16.64 kB / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.1411, allocations: 7.938 kB / 475.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1411, allocations: 4 kB / 475.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1411, allocations: 0 / 475.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1413, allocations: 201.5 kB / 475.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1413, allocations: 4 kB / 475.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1414, allocations: 15.98 kB / 475.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1415, allocations: 4 kB / 475.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1415, allocations: 0 / 475.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1415, allocations: 3.938 kB / 475.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1415, allocations: 0 / 475.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.1418, allocations: 164.9 kB / 475.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.1419, allocations: 93.02 kB / 475.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1419, allocations: 0 / 475.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.142, allocations: 11.92 kB / 475.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.142, allocations: 8 kB / 475.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.142, allocations: 3.984 kB / 475.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.722e-05/0.1421, allocations: 105.5 kB / 476 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1421, allocations: 0 / 476 MB, free: 7.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.1424, allocations: 20 kB / 476.1 MB, free: 7.832 MB / 350.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.0001215/0.1425, allocations: 107.2 kB / 476.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1427, allocations: 76.12 kB / 476.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1427, allocations: 3.938 kB / 476.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.1428, allocations: 35.98 kB / 476.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.143, allocations: 16.02 kB / 476.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.1436, allocations: 283 kB / 476.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.144, allocations: 0.7118 MB / 477.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.144, allocations: 15.44 kB / 477.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.144, allocations: 0 / 477.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of Templates: time 0.003148/0.1472, allocations: 1.346 MB / 478.6 MB, free: 5.18 MB / 350.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