Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 192.7 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.763/1.763, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003997, allocations: 7.984 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004277/0.1989, allocations: 1.666 MB / 360.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.2022, allocations: 1.189 MB / 361.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.2025, allocations: 7.938 kB / 361.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009037/0.2034, allocations: 135.6 kB / 361.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.204, allocations: 131.6 kB / 361.9 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2052, allocations: 199.2 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.2057, allocations: 211.4 kB / 362.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.2059, allocations: 52.19 kB / 362.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.2061, allocations: 75.64 kB / 362.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.2063, allocations: 83.55 kB / 362.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.2063, allocations: 4 kB / 362.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.2065, allocations: 51.91 kB / 362.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2066, allocations: 43.83 kB / 362.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.2068, allocations: 57.58 kB / 362.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.2071, allocations: 183.9 kB / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.2071, allocations: 0 / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2072, allocations: 0 / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2072, allocations: 4 kB / 362.9 MB, free: 10.05 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001163/0.2083, allocations: 0.5156 MB / 363.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.2084, allocations: 8.031 kB / 363.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.78e-05/0.2085, allocations: 23.72 kB / 363.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.2091, allocations: 277.5 kB / 363.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.2091, allocations: 8 kB / 363.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.2092, allocations: 15.95 kB / 363.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/0.21, allocations: 297.8 kB / 364 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.21, allocations: 0 / 364 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.2101, allocations: 8 kB / 364 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2101, allocations: 0 / 364 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.2103, allocations: 59.91 kB / 364.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.2111, allocations: 406.2 kB / 364.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.2116, allocations: 160 kB / 364.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.2118, allocations: 94.55 kB / 364.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.2118, allocations: 3.984 kB / 364.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.2121, allocations: 75.33 kB / 364.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.2121, allocations: 4 kB / 364.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007205/0.2128, allocations: 225.3 kB / 365 MB, free: 7.676 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.213, allocations: 148.8 kB / 365.1 MB, free: 7.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.2136, allocations: 277 kB / 365.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.2136, allocations: 29.7 kB / 365.4 MB, free: 7.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.2138, allocations: 120.6 kB / 365.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.2138, allocations: 39.58 kB / 365.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/0.2139, allocations: 4 kB / 365.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003082/0.2142, allocations: 338.8 kB / 365.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2143, allocations: 36.45 kB / 366 MB, free: 6.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.2147, allocations: 176.8 kB / 366.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.2149, allocations: 55.97 kB / 366.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.2149, allocations: 4 kB / 366.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005962/0.2155, allocations: 225.2 kB / 366.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.2155, allocations: 7.984 kB / 366.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2156, allocations: 8 kB / 366.4 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.2156, allocations: 4 kB / 366.4 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2157, allocations: 19.94 kB / 366.5 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/0.2158, allocations: 11.92 kB / 366.5 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.216, allocations: 20.27 kB / 366.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.216, allocations: 16 kB / 366.5 MB, free: 6.039 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,table1.y,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0002839/0.2163, allocations: 164.5 kB / 366.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.2167, allocations: 125.3 kB / 366.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.425e-05/0.2168, allocations: 29.7 kB / 366.8 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.2168, allocations: 7.938 kB / 366.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.2168, allocations: 0 / 366.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2168, allocations: 0 / 366.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.2172, allocations: 257.3 kB / 367.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2172, allocations: 4.312 kB / 367.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.741e-05/0.2173, allocations: 19.94 kB / 367.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2173, allocations: 0 / 367.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.2173, allocations: 7.984 kB / 367.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/0.2174, allocations: 0 / 367.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.752e-05/0.2174, allocations: 4 kB / 367.1 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.218, allocations: 226.5 kB / 367.3 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.2183, allocations: 116.8 kB / 367.5 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.2184, allocations: 8 kB / 367.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2185, allocations: 11.98 kB / 367.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.2186, allocations: 7.938 kB / 367.5 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.2187, allocations: 11.98 kB / 367.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004954/0.2192, allocations: 200.5 kB / 367.7 MB, free: 4.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2193, allocations: 3.938 kB / 367.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005549/0.2198, allocations: 40 kB / 367.7 MB, free: 4.715 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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * 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 (22): * Single equations (assignments): 20 * 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.002235/0.2221, allocations: 435.5 kB / 368.2 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005399/0.2226, allocations: 142.4 kB / 368.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2226, allocations: 256 / 368.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.2228, allocations: 31.98 kB / 368.3 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.2241, allocations: 111.6 kB / 368.4 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.2268, allocations: 470.2 kB / 368.9 MB, free: 3.645 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.2278, allocations: 0.756 MB / 369.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.228, allocations: 27.42 kB / 369.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of SimCode: time 2.244e-06/0.228, allocations: 0 / 369.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of Templates: time 0.2999/0.5279, allocations: 3.234 MB / 372.9 MB, free: 18.94 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.BooleanSignals.UpSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.o] Error 1