Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 105.8 kB / 16.52 MB, free: 6.266 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.001724/0.001725, allocations: 196.8 kB / 17.44 MB, free: 5.887 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.416/2.416, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.3371/0.3371, allocations: 43.51 MB / 314.1 MB, free: 0.75 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.0028/0.002801, allocations: 66.16 kB / 382.7 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2171, allocations: 57.79 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.006707/0.2239, allocations: 3.568 MB / 444 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.2272, allocations: 1.423 MB / 445.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.2277, allocations: 27.81 kB / 445.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.2281, allocations: 83.19 kB / 445.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005811/0.2287, allocations: 123 kB / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.2299, allocations: 0.5418 MB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009654/0.2309, allocations: 0.8858 MB / 447.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005937/0.2315, allocations: 300.5 kB / 447.4 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.2319, allocations: 318.4 kB / 447.7 MB, free: 232 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.2324, allocations: 346 kB / 448.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.97e-05/0.2325, allocations: 39.94 kB / 448.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.721e-05/0.2326, allocations: 36 kB / 448.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.2328, allocations: 131.4 kB / 448.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.2332, allocations: 341.6 kB / 448.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007259/0.2339, allocations: 0.5886 MB / 449.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2339, allocations: 0 / 449.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2339, allocations: 0 / 449.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.2339, allocations: 0 / 449.2 MB, free: 14.75 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002807/0.2367, allocations: 1.211 MB / 450.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.2368, allocations: 8.031 kB / 450.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.237, allocations: 95.81 kB / 450.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.2381, allocations: 0.5739 MB / 451.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.2382, allocations: 41.38 kB / 451.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2383, allocations: 52.28 kB / 451.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.2399, allocations: 0.7074 MB / 451.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.24, allocations: 0 / 451.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.24, allocations: 27.98 kB / 451.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.2401, allocations: 12 kB / 451.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.2417, allocations: 0.5542 MB / 452.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00416/0.2458, allocations: 2.294 MB / 454.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.2479, allocations: 0.7214 MB / 455.5 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.2491, allocations: 322.2 kB / 455.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-05/0.2491, allocations: 12.44 kB / 455.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.642e-05/0.2492, allocations: 50.88 kB / 455.8 MB, free: 7.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 3.546e-06/0.2492, allocations: 0 / 455.8 MB, free: 7.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.005315/0.2546, allocations: 1.921 MB / 457.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002261/0.2548, allocations: 192.3 kB / 458 MB, free: 5.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/0.2557, allocations: 0.5788 MB / 458.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.2558, allocations: 37.69 kB / 458.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.2562, allocations: 360.8 kB / 458.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.2565, allocations: 185.3 kB / 459.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.2567, allocations: 102.2 kB / 459.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.2569, allocations: 330 kB / 459.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/0.2578, allocations: 298.9 kB / 459.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009885/0.2588, allocations: 416.7 kB / 460.2 MB, free: 3.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.2606, allocations: 0.6512 MB / 460.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2606, allocations: 0 / 460.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001997/0.2626, allocations: 0.7984 MB / 461.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.2627, allocations: 8 kB / 461.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2627, allocations: 0 / 461.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.748e-05/0.2627, allocations: 11.94 kB / 461.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/0.2636, allocations: 192 kB / 461.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.2636, allocations: 4 kB / 461.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.2642, allocations: 75.91 kB / 462 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.2642, allocations: 27.98 kB / 462 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007985/0.265, allocations: 361.1 kB / 462.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000743/0.2658, allocations: 363.5 kB / 462.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001467/0.2673, allocations: 0.5359 MB / 463.2 MB, free: 116 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.2673, allocations: 3.984 kB / 463.2 MB, free: 112 kB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.00177/0.2691, allocations: 0.6549 MB / 463.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2693, allocations: 8.938 kB / 463.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2693, allocations: 8 kB / 463.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.2693, allocations: 4 kB / 463.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.27, allocations: 167.8 kB / 464.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.27, allocations: 11.94 kB / 464.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.2705, allocations: 63.88 kB / 464.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.2705, allocations: 24.31 kB / 464.2 MB, free: 15.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002664/0.2708, allocations: 208.1 kB / 464.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.2709, allocations: 75.06 kB / 464.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.2711, allocations: 91.5 kB / 464.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.2712, allocations: 11.94 kB / 464.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.2712, allocations: 4 kB / 464.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.2712, allocations: 3.984 kB / 464.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.2748, allocations: 1.445 MB / 466 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.2748, allocations: 4 kB / 466 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009459/0.2757, allocations: 147.8 kB / 466.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.2758, allocations: 7.984 kB / 466.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/0.2758, allocations: 12 kB / 466.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.2758, allocations: 4 kB / 466.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2758, allocations: 0 / 466.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.2789, allocations: 1.256 MB / 467.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.2793, allocations: 188.1 kB / 467.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2794, allocations: 12 kB / 467.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00069/0.2801, allocations: 79.91 kB / 467.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.2803, allocations: 43.88 kB / 467.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.2803, allocations: 19.98 kB / 467.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009847/0.2813, allocations: 407.1 kB / 468.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2813, allocations: 0 / 468.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007375/0.2821, allocations: 180 kB / 468.3 MB, free: 10.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.0002523/0.2823, allocations: 123.2 kB / 468.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002828/0.2852, allocations: 0.981 MB / 469.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.2852, allocations: 0 / 469.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009755/0.2862, allocations: 351.8 kB / 469.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.2876, allocations: 204.2 kB / 470 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.2922, allocations: 1.832 MB / 471.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009897/0.2932, allocations: 0.9183 MB / 472.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.2935, allocations: 59.41 kB / 472.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2935, allocations: 4 kB / 472.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Templates: time 0.01951/0.313, allocations: 8.923 MB / 481.7 MB, free: 13.46 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.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.StrictLimitersCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimitersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimitersCalcHelperMain.o] Error 1