Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008942/0.0008942, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009138/0.0009138, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 45.91 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003027, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1672, allocations: 63.46 MB / 481.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001872/0.1691, allocations: 1.374 MB / 482.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009756/0.1701, allocations: 0.5381 MB / 483.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.984e-05/0.1702, allocations: 4 kB / 483.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1703, allocations: 7.922 kB / 483.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.1704, allocations: 19.91 kB / 483.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.1707, allocations: 47.88 kB / 483.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1709, allocations: 67.86 kB / 483.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1711, allocations: 25.09 kB / 483.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1712, allocations: 51.72 kB / 483.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1714, allocations: 39.83 kB / 483.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1714, allocations: 4 kB / 483.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.1715, allocations: 8 kB / 483.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.1715, allocations: 19.91 kB / 483.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.1716, allocations: 45.64 kB / 483.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1718, allocations: 84.05 kB / 483.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1718, allocations: 0 / 483.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1718, allocations: 0 / 483.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1718, allocations: 0 / 483.7 MB, free: 3.109 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.0008263/0.1726, allocations: 403 kB / 484.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1727, allocations: 8.031 kB / 484.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.1729, allocations: 27.8 kB / 484.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1732, allocations: 203.4 kB / 484.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.1733, allocations: 15.94 kB / 484.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.1733, allocations: 12 kB / 484.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1736, allocations: 93.64 kB / 484.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1736, allocations: 7.844 kB / 484.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.1737, allocations: 7.984 kB / 484.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1737, allocations: 0 / 484.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.1738, allocations: 51.97 kB / 484.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/0.1745, allocations: 400.5 kB / 484.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1747, allocations: 66.53 kB / 485 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1747, allocations: 0 / 485 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.1749, allocations: 103.4 kB / 485.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1749, allocations: 0 / 485.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003345/0.1752, allocations: 137.5 kB / 485.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.1753, allocations: 51.41 kB / 485.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1754, allocations: 149.9 kB / 485.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1755, allocations: 37.69 kB / 485.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.1756, allocations: 100.1 kB / 485.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1756, allocations: 27.8 kB / 485.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.1756, allocations: 4 kB / 485.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1757, allocations: 330.8 kB / 485.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.1758, allocations: 27.98 kB / 485.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1759, allocations: 82.23 kB / 486 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.176, allocations: 36 kB / 486 MB, free: 0.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.176, allocations: 0 / 486 MB, free: 0.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002489/0.1763, allocations: 153.3 kB / 486.2 MB, free: 396 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1763, allocations: 7.953 kB / 486.2 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1763, allocations: 7.938 kB / 486.2 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.1764, allocations: 4.375 kB / 486.2 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1765, allocations: 23.98 kB / 486.2 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1765, allocations: 0 / 486.2 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.1766, allocations: 12 kB / 486.2 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1766, allocations: 12.16 kB / 486.3 MB, free: 328 kB / 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 ($PRE.mean1.y_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.1767, allocations: 134.2 kB / 486.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.1768, allocations: 7.906 kB / 486.4 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.1768, allocations: 16.67 kB / 486.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1768, allocations: 0 / 486.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1768, allocations: 0 / 486.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1768, allocations: 0 / 486.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.177, allocations: 217.5 kB / 486.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1771, allocations: 3.938 kB / 486.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.1772, allocations: 16 kB / 486.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1772, allocations: 0 / 486.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1772, allocations: 3.984 kB / 486.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.1772, allocations: 7.891 kB / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1772, allocations: 3.984 kB / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.1776, allocations: 180.9 kB / 486.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.1776, allocations: 85.05 kB / 486.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1777, allocations: 8 kB / 486.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.1777, allocations: 0 / 486.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.1778, allocations: 11.94 kB / 486.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1778, allocations: 8 kB / 486.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.853e-05/0.1779, allocations: 111.8 kB / 487.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1779, allocations: 0 / 487.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1782, allocations: 27.84 kB / 487.1 MB, free: 15.4 MB / 366.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 (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.0001312/0.1783, allocations: 99.31 kB / 487.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.1785, allocations: 83.83 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1785, allocations: 0 / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.353e-05/0.1786, allocations: 36.39 kB / 487.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.1788, allocations: 19.98 kB / 487.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.1794, allocations: 287.8 kB / 487.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1797, allocations: 0.7121 MB / 488.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5e-05/0.1797, allocations: 8.422 kB / 488.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.1798, allocations: 23.36 kB / 488.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1798, allocations: 0 / 488.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Templates: time 0.003272/0.1831, allocations: 0.8766 MB / 489.2 MB, free: 13.2 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches