Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007968/0.0007968, allocations: 93 kB / 17.63 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000892/0.000892, allocations: 200.3 kB / 18.54 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002502, allocations: 7.938 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 51.49 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002208/0.1246, allocations: 1.439 MB / 360.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1257, allocations: 0.5653 MB / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1259, allocations: 7.938 kB / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.126, allocations: 7.922 kB / 360.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.1261, allocations: 7.875 kB / 360.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.1266, allocations: 91.77 kB / 360.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1268, allocations: 79.77 kB / 361 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1269, allocations: 36.78 kB / 361 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1271, allocations: 43.78 kB / 361.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.1272, allocations: 31.84 kB / 361.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1272, allocations: 4 kB / 361.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.93e-05/0.1273, allocations: 4 kB / 361.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.1273, allocations: 27.84 kB / 361.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.1274, allocations: 41.64 kB / 361.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.1275, allocations: 75.84 kB / 361.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1275, allocations: 0 / 361.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1275, allocations: 0 / 361.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1275, allocations: 4 kB / 361.3 MB, free: 11.42 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005605/0.1281, allocations: 407.1 kB / 361.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1282, allocations: 8.031 kB / 361.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.1283, allocations: 23.81 kB / 361.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1286, allocations: 218.2 kB / 361.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.1286, allocations: 8 kB / 361.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1286, allocations: 8 kB / 361.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.1292, allocations: 270.5 kB / 362.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1292, allocations: 0 / 362.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1292, allocations: 4 kB / 362.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1292, allocations: 3.984 kB / 362.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1294, allocations: 55.92 kB / 362.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.1297, allocations: 310.5 kB / 362.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.13, allocations: 131.7 kB / 362.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1302, allocations: 74.66 kB / 362.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.1302, allocations: 12.27 kB / 362.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1302, allocations: 34.56 kB / 362.8 MB, free: 9.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.1302, allocations: 4 kB / 362.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004244/0.1307, allocations: 177.3 kB / 363 MB, free: 9.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.1308, allocations: 119.2 kB / 363.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1309, allocations: 149.5 kB / 363.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1309, allocations: 29.77 kB / 363.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.131, allocations: 100.1 kB / 363.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.131, allocations: 19.8 kB / 363.4 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.1311, allocations: 4 kB / 363.4 MB, free: 9.043 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1312, allocations: 326.8 kB / 363.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.1313, allocations: 28.36 kB / 363.7 MB, free: 8.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1314, allocations: 136.4 kB / 363.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1315, allocations: 59.88 kB / 363.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1315, allocations: 0 / 363.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000301/0.1318, allocations: 177.6 kB / 364.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1319, allocations: 8 kB / 364.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1319, allocations: 4 kB / 364.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.1319, allocations: 7.938 kB / 364.1 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.132, allocations: 35.98 kB / 364.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.1321, allocations: 7.938 kB / 364.2 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.045e-05/0.1322, allocations: 11.91 kB / 364.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1322, allocations: 12 kB / 364.2 MB, free: 8.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001369/0.1323, allocations: 146.5 kB / 364.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.1325, allocations: 121.4 kB / 364.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.1326, allocations: 16.72 kB / 364.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1326, allocations: 4 kB / 364.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1326, allocations: 0 / 364.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1326, allocations: 3.984 kB / 364.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.1328, allocations: 189.6 kB / 364.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1328, allocations: 3.953 kB / 364.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1329, allocations: 27.92 kB / 364.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.133, allocations: 8 kB / 364.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.133, allocations: 7.984 kB / 364.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.133, allocations: 4 kB / 364.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.133, allocations: 0 / 364.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.1333, allocations: 259.3 kB / 365 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.1334, allocations: 108.9 kB / 365.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1334, allocations: 0 / 365.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.1335, allocations: 11.94 kB / 365.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.1336, allocations: 4.094 kB / 365.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1336, allocations: 11.92 kB / 365.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.16e-05/0.1337, allocations: 115.2 kB / 365.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1337, allocations: 0 / 365.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1339, allocations: 20 kB / 365.2 MB, free: 7.035 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.000124/0.1341, allocations: 103.2 kB / 365.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.1343, allocations: 108.7 kB / 365.4 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1343, allocations: 0 / 365.4 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.1344, allocations: 16.06 kB / 365.4 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.1349, allocations: 74.73 kB / 365.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.1354, allocations: 337.3 kB / 365.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.1358, allocations: 0.7244 MB / 366.6 MB, free: 5.609 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.1359, allocations: 15.42 kB / 366.6 MB, free: 5.594 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1359, allocations: 0 / 366.6 MB, free: 5.594 MB / 302.1 MB Notification: Performance of Templates: time 0.003186/0.1391, allocations: 1.456 MB / 368 MB, free: 4.141 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1CalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1CalcHelperMain.o] Error 1