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.0009866/0.0009868, allocations: 88.84 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 197.8 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2478/0.2478, allocations: 45.92 MB / 344.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 8 kB / 418.6 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 63.47 MB / 482.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001948/0.1487, allocations: 1.378 MB / 483.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.1497, allocations: 0.542 MB / 484 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.1497, allocations: 4 kB / 484 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.216e-05/0.1498, allocations: 7.875 kB / 484.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.02e-05/0.1499, allocations: 11.86 kB / 484.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.1502, allocations: 47.89 kB / 484.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1504, allocations: 107.6 kB / 484.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1505, allocations: 33.09 kB / 484.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.1507, allocations: 43.84 kB / 484.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1508, allocations: 35.78 kB / 484.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1509, allocations: 7.938 kB / 484.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.1509, allocations: 12 kB / 484.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.151, allocations: 15.92 kB / 484.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.151, allocations: 45.62 kB / 484.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1512, allocations: 88.05 kB / 484.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1512, allocations: 0 / 484.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1512, allocations: 4 kB / 484.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1512, allocations: 0 / 484.5 MB, free: 2.973 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.0007804/0.152, allocations: 399 kB / 484.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.1521, allocations: 8.031 kB / 484.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.1523, allocations: 31.8 kB / 484.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1526, allocations: 207.5 kB / 485.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.1527, allocations: 8 kB / 485.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.1527, allocations: 15.94 kB / 485.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.153, allocations: 89.64 kB / 485.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.153, allocations: 11.84 kB / 485.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.153, allocations: 0 / 485.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1531, allocations: 0 / 485.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1532, allocations: 55.97 kB / 485.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/0.154, allocations: 400.5 kB / 485.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.1541, allocations: 62.55 kB / 485.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/0.1542, allocations: 24.98 kB / 485.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1542, allocations: 7.938 kB / 485.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.1545, allocations: 103.3 kB / 485.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.1545, allocations: 0 / 485.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003408/0.1548, allocations: 133.5 kB / 486 MB, free: 1.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.1549, allocations: 51.41 kB / 486.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.155, allocations: 150.3 kB / 486.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1551, allocations: 30.08 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.1552, allocations: 112.1 kB / 486.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1552, allocations: 23.66 kB / 486.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.1552, allocations: 0 / 486.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1554, allocations: 326.8 kB / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.1555, allocations: 23.98 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1556, allocations: 98.45 kB / 486.8 MB, free: 420 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.783e-05/0.1557, allocations: 39.98 kB / 486.9 MB, free: 380 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1557, allocations: 0 / 486.9 MB, free: 380 kB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002581/0.156, allocations: 145.3 kB / 487 MB, free: 228 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.156, allocations: 7.953 kB / 487 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.156, allocations: 4 kB / 487 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.156, allocations: 4.312 kB / 487 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1562, allocations: 31.91 kB / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1562, allocations: 4 kB / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.1563, allocations: 11.98 kB / 487.1 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1563, allocations: 4 kB / 487.1 MB, free: 160 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.000142/0.1564, allocations: 134.2 kB / 487.2 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.1564, allocations: 7.906 kB / 487.2 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.1565, allocations: 20.66 kB / 487.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1565, allocations: 4 kB / 487.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1565, allocations: 0 / 487.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1566, allocations: 0 / 487.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.1568, allocations: 213.4 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1568, allocations: 0 / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.1569, allocations: 15.98 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1569, allocations: 4 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.157, allocations: 0 / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.157, allocations: 3.953 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.157, allocations: 0 / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.1573, allocations: 172.9 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.1574, allocations: 85.05 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1574, allocations: 4 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.1575, allocations: 3.984 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.1576, allocations: 19.95 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1576, allocations: 7.984 kB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.1577, allocations: 107.4 kB / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1577, allocations: 96 / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1579, allocations: 35.77 kB / 487.9 MB, free: 15.24 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.0001226/0.158, allocations: 99.25 kB / 488 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1583, allocations: 79.84 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1583, allocations: 0 / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.1584, allocations: 31.98 kB / 488.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1586, allocations: 15.98 kB / 488.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.1592, allocations: 325.9 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1596, allocations: 0.7043 MB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.1596, allocations: 19.38 kB / 489.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1596, allocations: 4 kB / 489.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Templates: time 0.003212/0.1629, allocations: 1.392 MB / 490.5 MB, free: 12.51 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.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.RootMeanSquareCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.o] Error 1