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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.451/1.451, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000794/0.000794, allocations: 94.55 kB / 261.7 MB, free: 1.609 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1774/0.1774, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.2e-05, allocations: 4 kB / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3277/0.4353, allocations: 85.09 MB / 0.549 GB, free: 9.055 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000161/0.4355, allocations: 66.17 kB / 0.5491 GB, free: 9.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004096/0.4396, allocations: 1.678 MB / 0.5507 GB, free: 8.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4396, allocations: 4 kB / 0.5507 GB, free: 8.035 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.4396, allocations: 4 kB / 0.5507 GB, free: 8.031 MB / 362.7 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.0003455/0.4399, allocations: 373.5 kB / 0.5511 GB, free: 7.629 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.44, allocations: 11.97 kB / 0.5511 GB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.44, allocations: 7.906 kB / 0.5511 GB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.4402, allocations: 212.8 kB / 0.5513 GB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4402, allocations: 4 kB / 0.5513 GB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.4403, allocations: 8 kB / 0.5513 GB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.216e-05/0.4404, allocations: 37.94 kB / 0.5514 GB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.4405, allocations: 75.09 kB / 0.5514 GB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4405, allocations: 0 / 0.5514 GB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4405, allocations: 4 kB / 0.5514 GB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.4405, allocations: 4 kB / 0.5514 GB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.4409, allocations: 346.9 kB / 0.5518 GB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/0.441, allocations: 48.75 kB / 0.5518 GB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.441, allocations: 23.11 kB / 0.5518 GB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.4411, allocations: 0 / 0.5518 GB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.4412, allocations: 99.22 kB / 0.5519 GB, free: 6.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.4412, allocations: 0 / 0.5519 GB, free: 6.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001794/0.4414, allocations: 91.02 kB / 0.552 GB, free: 6.684 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/0.4414, allocations: 55.41 kB / 0.5521 GB, free: 6.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.4415, allocations: 123 kB / 0.5522 GB, free: 6.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.4415, allocations: 25.7 kB / 0.5522 GB, free: 6.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.4415, allocations: 103.3 kB / 0.5523 GB, free: 6.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.4416, allocations: 27.22 kB / 0.5523 GB, free: 6.348 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.4416, allocations: 3.938 kB / 0.5523 GB, free: 6.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.12e-05/0.4416, allocations: 322.2 kB / 0.5526 GB, free: 6.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.4417, allocations: 14.94 kB / 0.5527 GB, free: 6.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.4417, allocations: 74.03 kB / 0.5527 GB, free: 5.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.717e-05/0.4418, allocations: 30.55 kB / 0.5528 GB, free: 5.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4418, allocations: 0 / 0.5528 GB, free: 5.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001377/0.4419, allocations: 115.3 kB / 0.5529 GB, free: 5.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4419, allocations: 11.98 kB / 0.5529 GB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4419, allocations: 4 kB / 0.5529 GB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.442, allocations: 4.094 kB / 0.5529 GB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4421, allocations: 27.88 kB / 0.5529 GB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4421, allocations: 7.938 kB / 0.5529 GB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.4422, allocations: 7.938 kB / 0.5529 GB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.4422, allocations: 11.69 kB / 0.5529 GB, free: 5.727 MB / 362.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,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 4.66e-05/0.4422, allocations: 111.5 kB / 0.553 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.4422, allocations: 7.906 kB / 0.5531 GB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.4423, allocations: 12.23 kB / 0.5531 GB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4423, allocations: 4 kB / 0.5531 GB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.4423, allocations: 7.891 kB / 0.5531 GB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4423, allocations: 0 / 0.5531 GB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.306e-05/0.4424, allocations: 176.7 kB / 0.5532 GB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4424, allocations: 0 / 0.5532 GB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.4425, allocations: 15.98 kB / 0.5533 GB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4425, allocations: 0 / 0.5533 GB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4425, allocations: 4 kB / 0.5533 GB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4425, allocations: 0 / 0.5533 GB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4425, allocations: 0 / 0.5533 GB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.4427, allocations: 152.7 kB / 0.5534 GB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.4427, allocations: 81.02 kB / 0.5535 GB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.4428, allocations: 7.938 kB / 0.5535 GB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.869e-05/0.4428, allocations: 0 / 0.5535 GB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.4429, allocations: 12.05 kB / 0.5535 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.4429, allocations: 7.984 kB / 0.5535 GB, free: 5.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.513e-05/0.4429, allocations: 94.22 kB / 0.5536 GB, free: 5.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4429, allocations: 0 / 0.5536 GB, free: 5.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.4431, allocations: 19.94 kB / 0.5536 GB, free: 5.008 MB / 362.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,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 8.767e-05/0.4432, allocations: 107 kB / 0.5537 GB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.4433, allocations: 66.11 kB / 0.5538 GB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4433, allocations: 448 / 0.5538 GB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.4434, allocations: 37.33 kB / 0.5538 GB, free: 4.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.4436, allocations: 11.39 kB / 0.5538 GB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.4438, allocations: 154 kB / 0.554 GB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.444, allocations: 0.7157 MB / 0.5547 GB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.444, allocations: 16.53 kB / 0.5547 GB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.444, allocations: 15.44 kB / 0.5547 GB, free: 3.871 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.444, allocations: 0 / 0.5547 GB, free: 3.871 MB / 362.7 MB Notification: Performance of Templates: time 0.002292/0.4463, allocations: 0.7528 MB / 0.5554 GB, free: 3.133 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches