Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002062/0.002062, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 94.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3036/0.3036, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.994e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3899, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.5489, allocations: 85.11 MB / 0.549 GB, free: 14.2 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.5492, allocations: 63.97 kB / 0.5491 GB, free: 14.14 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.007349/0.5566, allocations: 1.669 MB / 0.5507 GB, free: 12.46 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5566, allocations: 0 / 0.5507 GB, free: 12.46 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.5567, allocations: 4 kB / 0.5507 GB, free: 12.46 MB / 395.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.0006066/0.5573, allocations: 374.3 kB / 0.5511 GB, free: 12.05 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5573, allocations: 8.031 kB / 0.5511 GB, free: 12.04 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.5574, allocations: 11.91 kB / 0.5511 GB, free: 12.03 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.5577, allocations: 214.8 kB / 0.5513 GB, free: 11.78 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.5578, allocations: 4 kB / 0.5513 GB, free: 11.78 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.5578, allocations: 7.984 kB / 0.5513 GB, free: 11.77 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001476/0.558, allocations: 35.94 kB / 0.5513 GB, free: 11.73 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.5582, allocations: 73.66 kB / 0.5514 GB, free: 11.66 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5582, allocations: 0 / 0.5514 GB, free: 11.66 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.5582, allocations: 0 / 0.5514 GB, free: 11.66 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5582, allocations: 6.953 kB / 0.5514 GB, free: 11.65 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.5589, allocations: 341.1 kB / 0.5517 GB, free: 11.28 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.5591, allocations: 58.48 kB / 0.5518 GB, free: 11.21 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.5592, allocations: 16.95 kB / 0.5518 GB, free: 11.2 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.5592, allocations: 4 kB / 0.5518 GB, free: 11.19 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.5595, allocations: 95.3 kB / 0.5519 GB, free: 11.09 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 1.913e-06/0.5595, allocations: 0 / 0.5519 GB, free: 11.09 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002843/0.5598, allocations: 89.53 kB / 0.552 GB, free: 10.99 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.5598, allocations: 51.41 kB / 0.552 GB, free: 10.93 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.56, allocations: 124.1 kB / 0.5521 GB, free: 10.8 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.56, allocations: 29.7 kB / 0.5522 GB, free: 10.77 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.5601, allocations: 166.8 kB / 0.5523 GB, free: 10.6 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.5602, allocations: 27.8 kB / 0.5524 GB, free: 10.57 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.5602, allocations: 0 / 0.5524 GB, free: 10.57 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5603, allocations: 318.8 kB / 0.5527 GB, free: 10.25 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.5604, allocations: 16 kB / 0.5527 GB, free: 10.23 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.5605, allocations: 79.72 kB / 0.5528 GB, free: 10.13 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.477e-05/0.5606, allocations: 23.98 kB / 0.5528 GB, free: 10.11 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5606, allocations: 0 / 0.5528 GB, free: 10.11 MB / 395.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002712/0.5609, allocations: 113.4 kB / 0.5529 GB, free: 9.988 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.561, allocations: 7.984 kB / 0.5529 GB, free: 9.98 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.561, allocations: 4 kB / 0.5529 GB, free: 9.977 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.561, allocations: 4 kB / 0.5529 GB, free: 9.973 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.5612, allocations: 23.94 kB / 0.5529 GB, free: 9.949 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5612, allocations: 7.938 kB / 0.5529 GB, free: 9.941 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.5614, allocations: 15.84 kB / 0.5529 GB, free: 9.926 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.5614, allocations: 12.22 kB / 0.553 GB, free: 9.914 MB / 395.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 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.5615, allocations: 112.1 kB / 0.5531 GB, free: 9.801 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.5615, allocations: 7.906 kB / 0.5531 GB, free: 9.793 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.5616, allocations: 12.61 kB / 0.5531 GB, free: 9.785 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.5616, allocations: 4 kB / 0.5531 GB, free: 9.781 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5616, allocations: 3.953 kB / 0.5531 GB, free: 9.777 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5616, allocations: 3.938 kB / 0.5531 GB, free: 9.773 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.5618, allocations: 178.2 kB / 0.5533 GB, free: 9.562 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5619, allocations: 3.938 kB / 0.5533 GB, free: 9.559 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.562, allocations: 23.98 kB / 0.5533 GB, free: 9.535 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.562, allocations: 0 / 0.5533 GB, free: 9.535 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.5621, allocations: 0 / 0.5533 GB, free: 9.535 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5621, allocations: 0 / 0.5533 GB, free: 9.535 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.5621, allocations: 0 / 0.5533 GB, free: 9.535 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.5624, allocations: 152.9 kB / 0.5534 GB, free: 9.367 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.5625, allocations: 81.02 kB / 0.5535 GB, free: 9.27 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.5626, allocations: 4 kB / 0.5535 GB, free: 9.266 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.5627, allocations: 8.047 kB / 0.5535 GB, free: 9.258 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.5627, allocations: 4 kB / 0.5535 GB, free: 9.254 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.5628, allocations: 11.98 kB / 0.5535 GB, free: 9.242 MB / 395.1 MB Notification: Performance of sorting global known variables: time 8.404e-05/0.5629, allocations: 95.28 kB / 0.5536 GB, free: 9.148 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5629, allocations: 0 / 0.5536 GB, free: 9.148 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.5632, allocations: 23.84 kB / 0.5537 GB, free: 9.125 MB / 395.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001487/0.5634, allocations: 99.36 kB / 0.5538 GB, free: 9.016 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.5636, allocations: 67.86 kB / 0.5538 GB, free: 8.949 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5636, allocations: 0 / 0.5538 GB, free: 8.949 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.5637, allocations: 27.94 kB / 0.5538 GB, free: 8.922 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.5639, allocations: 13.36 kB / 0.5539 GB, free: 8.91 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.5644, allocations: 178.2 kB / 0.554 GB, free: 8.707 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.5648, allocations: 0.7162 MB / 0.5547 GB, free: 7.965 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.5649, allocations: 23.64 kB / 0.5547 GB, free: 7.941 MB / 395.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5649, allocations: 0 / 0.5547 GB, free: 7.941 MB / 395.1 MB Notification: Performance of Templates: time 0.003808/0.5687, allocations: 1.29 MB / 0.556 GB, free: 6.652 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches