Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 104.5 kB / 16.52 MB, free: 6.664 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.001924/0.001925, allocations: 199.7 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.405/2.405, allocations: 205.1 MB / 223.3 MB, free: 12.51 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3399/0.3399, allocations: 43.52 MB / 314.2 MB, free: 0.7617 MB / 254.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.001689/0.001689, allocations: 68.92 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2109, allocations: 57.78 MB / 440.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.004818/0.2158, allocations: 1.733 MB / 442.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2172, allocations: 0.6442 MB / 442.8 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.2174, allocations: 4 kB / 442.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.161e-05/0.2174, allocations: 3.938 kB / 442.8 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.2176, allocations: 19.86 kB / 442.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.2182, allocations: 131.6 kB / 443 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.2184, allocations: 147.6 kB / 443.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.2186, allocations: 29.33 kB / 443.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.2188, allocations: 67.75 kB / 443.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.2189, allocations: 67.67 kB / 443.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.219, allocations: 8 kB / 443.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.011e-05/0.219, allocations: 12 kB / 443.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.2191, allocations: 31.84 kB / 443.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.929e-05/0.2192, allocations: 59.64 kB / 443.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.2193, allocations: 87.84 kB / 443.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2194, allocations: 0 / 443.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2194, allocations: 0 / 443.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2194, allocations: 0 / 443.5 MB, free: 4.488 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008923/0.2203, allocations: 454.9 kB / 443.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.2203, allocations: 8.031 kB / 443.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.2204, allocations: 20.75 kB / 444 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.2208, allocations: 228.9 kB / 444.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.2208, allocations: 384 / 444.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.2209, allocations: 16.36 kB / 444.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.2213, allocations: 182.3 kB / 444.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.2213, allocations: 0 / 444.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.2214, allocations: 8 kB / 444.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2214, allocations: 0 / 444.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.2218, allocations: 135.8 kB / 444.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.2227, allocations: 460.2 kB / 445 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.2233, allocations: 190.5 kB / 445.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.2235, allocations: 72.8 kB / 445.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.2235, allocations: 0 / 445.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.2235, allocations: 30.56 kB / 445.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 7.72e-07/0.2236, allocations: 4 kB / 445.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.001509/0.2251, allocations: 0.5686 MB / 445.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.2252, allocations: 106.8 kB / 445.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2254, allocations: 171.6 kB / 446.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.2254, allocations: 29.7 kB / 446.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.2255, allocations: 112 kB / 446.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.2255, allocations: 27.56 kB / 446.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.2256, allocations: 29.7 kB / 446.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2258, allocations: 322.8 kB / 446.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.226, allocations: 72.8 kB / 446.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2262, allocations: 98.44 kB / 446.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.2266, allocations: 141 kB / 446.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2266, allocations: 0 / 446.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004267/0.227, allocations: 189.4 kB / 447.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.227, allocations: 8 kB / 447.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.227, allocations: 80 / 447.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2271, allocations: 0 / 447.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.2273, allocations: 39.91 kB / 447.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2273, allocations: 3.984 kB / 447.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2274, allocations: 23.97 kB / 447.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.2274, allocations: 4 kB / 447.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000145/0.2276, allocations: 128 kB / 447.3 MB, free: 376 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.95e-05/0.2277, allocations: 54.55 kB / 447.4 MB, free: 312 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001557/0.2279, allocations: 76.81 kB / 447.4 MB, free: 232 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.2279, allocations: 0 / 447.4 MB, free: 232 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002199/0.2281, allocations: 121.7 kB / 447.6 MB, free: 104 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/0.2281, allocations: 11.92 kB / 447.6 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.71e-07/0.2281, allocations: 0 / 447.6 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/0.2281, allocations: 4.094 kB / 447.6 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.2282, allocations: 23.92 kB / 447.6 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.2282, allocations: 7.875 kB / 447.6 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.831e-05/0.2283, allocations: 15.98 kB / 447.6 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2283, allocations: 4 kB / 447.6 MB, free: 36 kB / 318.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002129/0.2286, allocations: 184.3 kB / 447.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.2286, allocations: 15.81 kB / 447.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/0.2287, allocations: 17.39 kB / 447.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2287, allocations: 3.938 kB / 447.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.2287, allocations: 4 kB / 447.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.2287, allocations: 0 / 447.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.2298, allocations: 0.5109 MB / 448.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.2299, allocations: 3.938 kB / 448.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.23, allocations: 40 kB / 448.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2301, allocations: 0 / 448.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2301, allocations: 0 / 448.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.2301, allocations: 7.938 kB / 448.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2301, allocations: 0 / 448.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009273/0.231, allocations: 360.1 kB / 448.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.2312, allocations: 96.86 kB / 448.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.2312, allocations: 0 / 448.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.2315, allocations: 40.02 kB / 448.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.2315, allocations: 11.98 kB / 448.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2316, allocations: 0 / 448.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.2317, allocations: 127.2 kB / 449 MB, free: 14.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2318, allocations: 0 / 449 MB, free: 14.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004463/0.2322, allocations: 32 kB / 449.1 MB, free: 14.49 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002377/0.2325, allocations: 111.2 kB / 449.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007096/0.2332, allocations: 184.1 kB / 449.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2332, allocations: 4 kB / 449.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.2335, allocations: 80.06 kB / 449.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.234, allocations: 47.72 kB / 449.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2351, allocations: 352.5 kB / 449.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/0.2358, allocations: 0.7127 MB / 450.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2359, allocations: 19.44 kB / 450.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.236, allocations: 0 / 450.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Templates: time 0.005443/0.2414, allocations: 1.864 MB / 452.4 MB, free: 11.07 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersCalcHelperMain.o] Error 1