Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Mean.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.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Mean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001466/0.001466, allocations: 88.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002288/0.002288, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.254/0.254, allocations: 45.91 MB / 344.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 4 kB / 418.6 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 63.47 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.002565/0.1536, allocations: 1.912 MB / 484 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.155, allocations: 0.7873 MB / 484.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1551, allocations: 4 kB / 484.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.1553, allocations: 31.72 kB / 484.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1555, allocations: 47.58 kB / 484.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.1558, allocations: 107.8 kB / 485 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.1562, allocations: 331 kB / 485.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.1564, allocations: 110.6 kB / 485.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1566, allocations: 115.4 kB / 485.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.1568, allocations: 131.2 kB / 485.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.1568, allocations: 12 kB / 485.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.157, allocations: 27.98 kB / 485.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.064e-05/0.157, allocations: 55.75 kB / 485.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.1571, allocations: 81.52 kB / 485.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.1574, allocations: 279.6 kB / 486.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1575, allocations: 0 / 486.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1575, allocations: 3.984 kB / 486.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.1575, allocations: 0 / 486.1 MB, free: 1.363 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009886/0.1585, allocations: 0.5874 MB / 486.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1585, allocations: 8.031 kB / 486.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004393/0.159, allocations: 87.48 kB / 486.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.1595, allocations: 334.8 kB / 487.1 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.1596, allocations: 28.55 kB / 487.2 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.1596, allocations: 31.91 kB / 487.2 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.1603, allocations: 276.9 kB / 487.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1603, allocations: 0 / 487.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.1604, allocations: 12 kB / 487.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.1604, allocations: 8 kB / 487.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.1608, allocations: 202.1 kB / 487.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1622, allocations: 0.8498 MB / 488.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.1626, allocations: 210.8 kB / 488.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.1628, allocations: 100.8 kB / 488.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.1629, allocations: 15.97 kB / 488.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004416/0.1633, allocations: 231.7 kB / 489.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.472e-06/0.1634, allocations: 0 / 489.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.0008065/0.1642, allocations: 393.1 kB / 489.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1642, allocations: 63.41 kB / 489.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.1645, allocations: 254.7 kB / 489.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1645, allocations: 33.7 kB / 489.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1647, allocations: 188.4 kB / 490 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.827e-05/0.1648, allocations: 94.64 kB / 490.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.1648, allocations: 8 kB / 490.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1649, allocations: 338.8 kB / 490.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.1651, allocations: 100.7 kB / 490.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.1655, allocations: 234.5 kB / 490.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1657, allocations: 123.8 kB / 490.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1658, allocations: 8 kB / 490.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008045/0.1666, allocations: 385.1 kB / 491.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1666, allocations: 8 kB / 491.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1666, allocations: 4 kB / 491.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1666, allocations: 8 kB / 491.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.1669, allocations: 79.83 kB / 491.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.167, allocations: 8 kB / 491.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.1671, allocations: 35.83 kB / 491.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.1672, allocations: 20.08 kB / 491.4 MB, free: 11.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.mean.y_last,mean.y_last,$PRE.rectifiedMean.mean.y_last,rectifiedMean.mean.y_last,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last,$PRE.harmonic.mean1.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean2.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001768/0.1673, allocations: 178.6 kB / 491.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.1674, allocations: 27.62 kB / 491.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006302/0.168, allocations: 329.2 kB / 491.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.168, allocations: 4 kB / 491.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1681, allocations: 0 / 491.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.1681, allocations: 3.984 kB / 491.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.1692, allocations: 0.7323 MB / 492.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1692, allocations: 0 / 492.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.1695, allocations: 63.89 kB / 492.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1695, allocations: 4 kB / 492.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.1695, allocations: 8.141 kB / 492.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1695, allocations: 4 kB / 492.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1695, allocations: 0 / 492.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008129/0.1704, allocations: 0.5383 MB / 493.3 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.1704, allocations: 108.8 kB / 493.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.1705, allocations: 8 kB / 493.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.1707, allocations: 19.98 kB / 493.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.1707, allocations: 23.97 kB / 493.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.1708, allocations: 15.98 kB / 493.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.171, allocations: 178 kB / 493.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.171, allocations: 0 / 493.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.1714, allocations: 83.61 kB / 493.7 MB, free: 9.379 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,rectifiedMean.mean.y_last,rootMeanSquare.mean.y_last,harmonic.mean1.y_last,harmonic.mean2.y_last) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001541/0.1715, allocations: 107 kB / 493.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007258/0.1723, allocations: 280.2 kB / 494.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1723, allocations: 256 / 494.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.1726, allocations: 135.8 kB / 494.2 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.173, allocations: 44.48 kB / 494.3 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1741, allocations: 0.7556 MB / 495 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.1746, allocations: 0.7959 MB / 495.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.1747, allocations: 35.42 kB / 495.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1747, allocations: 0 / 495.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of Templates: time 0.006538/0.1813, allocations: 3.75 MB / 499.6 MB, free: 3.414 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Mean.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Mean.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Blocks.MeanCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.MeanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.MeanCalcHelperMain.o] Error 1