Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.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) 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(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008006/0.0008006, allocations: 90.56 kB / 17.58 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008403/0.0008405, allocations: 188.6 kB / 18.48 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 224.6 MB, free: 13.16 MB / 190.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.0004555/0.0004556, allocations: 8.938 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1132, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001976/0.1152, allocations: 1.488 MB / 330.5 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005568/0.1208, allocations: 3.406 MB / 333.9 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1209, allocations: 3.938 kB / 333.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.1214, allocations: 111.4 kB / 334 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.447e-05/0.1215, allocations: 23.78 kB / 334 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.1256, allocations: 1.362 MB / 335.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.126, allocations: 263.1 kB / 335.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1261, allocations: 32.72 kB / 335.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1263, allocations: 95.56 kB / 335.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1264, allocations: 91.48 kB / 335.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1265, allocations: 8 kB / 335.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.1268, allocations: 131.7 kB / 336 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1269, allocations: 55.81 kB / 336 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.1269, allocations: 61.58 kB / 336.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1272, allocations: 235.5 kB / 336.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1272, allocations: 0 / 336.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1272, allocations: 0 / 336.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1272, allocations: 0 / 336.3 MB, free: 12.71 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007175/0.128, allocations: 0.5412 MB / 336.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.128, allocations: 12.02 kB / 336.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.1281, allocations: 31.62 kB / 336.9 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1284, allocations: 275.1 kB / 337.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1284, allocations: 12.14 kB / 337.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.1284, allocations: 15.91 kB / 337.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.1288, allocations: 211.8 kB / 337.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1288, allocations: 0 / 337.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1288, allocations: 4 kB / 337.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1289, allocations: 4 kB / 337.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.129, allocations: 96.44 kB / 337.5 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.1298, allocations: 496.8 kB / 338 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.1301, allocations: 162.5 kB / 338.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1302, allocations: 56.83 kB / 338.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1302, allocations: 4 kB / 338.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1302, allocations: 38.56 kB / 338.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.1302, allocations: 0 / 338.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004648/0.1307, allocations: 233.7 kB / 338.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.1309, allocations: 290.7 kB / 338.8 MB, free: 10 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1312, allocations: 280.5 kB / 339 MB, free: 9.715 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.1313, allocations: 29.7 kB / 339.1 MB, free: 9.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1314, allocations: 160.5 kB / 339.2 MB, free: 9.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.1314, allocations: 47.38 kB / 339.3 MB, free: 9.473 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.1315, allocations: 7.938 kB / 339.3 MB, free: 9.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1316, allocations: 342.8 kB / 339.6 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.1318, allocations: 99.94 kB / 339.7 MB, free: 9.023 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.1321, allocations: 188.5 kB / 339.9 MB, free: 8.809 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.1323, allocations: 119.9 kB / 340 MB, free: 8.691 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1323, allocations: 0 / 340 MB, free: 8.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004289/0.1327, allocations: 305.4 kB / 340.3 MB, free: 8.387 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1327, allocations: 4 kB / 340.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.1328, allocations: 11.98 kB / 340.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1328, allocations: 0 / 340.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.133, allocations: 51.97 kB / 340.4 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.133, allocations: 0 / 340.4 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1332, allocations: 31.64 kB / 340.4 MB, free: 8.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.1332, allocations: 11.98 kB / 340.4 MB, free: 8.277 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.0001962/0.1334, allocations: 153.7 kB / 340.6 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.1335, allocations: 23.72 kB / 340.6 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.1336, allocations: 33.97 kB / 340.6 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1336, allocations: 0 / 340.6 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1336, allocations: 0 / 340.6 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1336, allocations: 4 kB / 340.6 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.1339, allocations: 269.4 kB / 340.9 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1339, allocations: 0 / 340.9 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.1341, allocations: 23.98 kB / 340.9 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1341, allocations: 3.938 kB / 340.9 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.1341, allocations: 12 kB / 340.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1341, allocations: 0 / 340.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1342, allocations: 96 / 340.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.1347, allocations: 339 kB / 341.3 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.918e-05/0.1348, allocations: 100.8 kB / 341.4 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.1348, allocations: 12.06 kB / 341.4 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.135, allocations: 8 kB / 341.4 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1351, allocations: 11.97 kB / 341.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1351, allocations: 8 kB / 341.4 MB, free: 7.199 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1353, allocations: 191.1 kB / 341.6 MB, free: 7.016 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1353, allocations: 0 / 341.6 MB, free: 7.016 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.1357, allocations: 87.83 kB / 341.7 MB, free: 6.93 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0002364/0.1359, allocations: 151 kB / 341.8 MB, free: 6.77 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004481/0.1364, allocations: 284.9 kB / 342.1 MB, free: 6.473 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1364, allocations: 4 kB / 342.1 MB, free: 6.469 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1365, allocations: 67.89 kB / 342.2 MB, free: 6.402 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1369, allocations: 67.33 kB / 342.2 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.138, allocations: 0.6494 MB / 342.9 MB, free: 5.66 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.1386, allocations: 0.7716 MB / 343.6 MB, free: 4.863 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.1386, allocations: 19.44 kB / 343.7 MB, free: 4.844 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1387, allocations: 0 / 343.7 MB, free: 4.844 MB / 286.1 MB Notification: Performance of Templates: time 0.00718/0.1458, allocations: 3.854 MB / 347.5 MB, free: 0.9805 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.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 OMCppModelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTimeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTimeCalcHelperMain.o] Error 1