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.000995/0.0009951, allocations: 102.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001554, allocations: 183.2 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5098/0.5098, allocations: 43.57 MB / 315 MB, free: 9.035 MB / 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.0006376/0.0006378, allocations: 12 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1774, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002274/0.1797, allocations: 1.366 MB / 444.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1807, allocations: 0.5621 MB / 445.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.1808, allocations: 0 / 445.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.181, allocations: 3.938 kB / 445.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/0.181, allocations: 19.8 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1813, allocations: 51.89 kB / 445.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1815, allocations: 99.75 kB / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.1817, allocations: 31.98 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1818, allocations: 35.84 kB / 445.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.182, allocations: 43.7 kB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1821, allocations: 0 / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.1821, allocations: 4 kB / 445.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.1821, allocations: 15.92 kB / 445.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.1822, allocations: 69.44 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1824, allocations: 91.92 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1824, allocations: 0 / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1824, allocations: 4 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1824, allocations: 0 / 445.8 MB, free: 10.5 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.000821/0.1833, allocations: 391.1 kB / 446.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1833, allocations: 12.03 kB / 446.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.1834, allocations: 12.83 kB / 446.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1836, allocations: 204 kB / 446.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.1837, allocations: 12.38 kB / 446.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.1837, allocations: 16.36 kB / 446.5 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.184, allocations: 93.95 kB / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.184, allocations: 0 / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.184, allocations: 0 / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.184, allocations: 4 kB / 446.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.1842, allocations: 51.97 kB / 446.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006274/0.1848, allocations: 368.6 kB / 447 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.185, allocations: 62.55 kB / 447 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.1851, allocations: 32.92 kB / 447.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1851, allocations: 4 kB / 447.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.1853, allocations: 103.3 kB / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1853, allocations: 0 / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003915/0.1857, allocations: 141.4 kB / 447.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.1858, allocations: 51.41 kB / 447.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.186, allocations: 145.2 kB / 447.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.186, allocations: 33.7 kB / 447.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.1861, allocations: 104.2 kB / 447.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.1861, allocations: 19.72 kB / 447.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.1862, allocations: 25.7 kB / 447.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1863, allocations: 322.8 kB / 448 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.1864, allocations: 27.98 kB / 448 MB, free: 8.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.1866, allocations: 87.59 kB / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.1868, allocations: 127.6 kB / 448.2 MB, free: 7.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1868, allocations: 0 / 448.2 MB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002584/0.187, allocations: 137.5 kB / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1871, allocations: 12.22 kB / 448.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1871, allocations: 0 / 448.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.1871, allocations: 7.984 kB / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1872, allocations: 31.92 kB / 448.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.1873, allocations: 7.875 kB / 448.4 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.1873, allocations: 15.89 kB / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1874, allocations: 4 kB / 448.4 MB, free: 7.613 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.0001383/0.1875, allocations: 129.8 kB / 448.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.1875, allocations: 11.91 kB / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.1876, allocations: 20.7 kB / 448.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1876, allocations: 384 / 448.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.1876, allocations: 3.938 kB / 448.6 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1876, allocations: 0 / 448.6 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1878, allocations: 205.5 kB / 448.8 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1878, allocations: 3.938 kB / 448.8 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.188, allocations: 15.94 kB / 448.8 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.188, allocations: 0 / 448.8 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.188, allocations: 3.984 kB / 448.8 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.188, allocations: 4 kB / 448.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.188, allocations: 3.938 kB / 448.8 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.1884, allocations: 176.8 kB / 449 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.1884, allocations: 81.02 kB / 449.1 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1885, allocations: 8.031 kB / 449.1 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.906e-05/0.1885, allocations: 8.062 kB / 449.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.1886, allocations: 7.922 kB / 449.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1886, allocations: 4 kB / 449.1 MB, free: 6.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.839e-05/0.1887, allocations: 107.2 kB / 449.2 MB, free: 6.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1887, allocations: 0 / 449.2 MB, free: 6.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.1889, allocations: 20 kB / 449.2 MB, free: 6.719 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.0001612/0.1891, allocations: 99.19 kB / 449.3 MB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.1894, allocations: 87.83 kB / 449.4 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1894, allocations: 0 / 449.4 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.1895, allocations: 35.92 kB / 449.5 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.1897, allocations: 12 kB / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/0.1904, allocations: 291.9 kB / 449.8 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.1909, allocations: 0.7042 MB / 450.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.1909, allocations: 12.55 kB / 450.5 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.191, allocations: 19.38 kB / 450.5 MB, free: 5.41 MB / 382.1 MB Notification: Performance of SimCode: time 3.155e-06/0.191, allocations: 0 / 450.5 MB, free: 5.41 MB / 382.1 MB Notification: Performance of Templates: time 0.003729/0.1947, allocations: 0.84 MB / 451.3 MB, free: 4.57 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/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