Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 87.33 kB / 17.63 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 200.3 kB / 18.54 MB, free: 4.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2439/0.2439, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003047, allocations: 11.94 kB / 418.6 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1362, allocations: 63.47 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003999/0.1402, allocations: 2.961 MB / 485.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.1429, allocations: 1.364 MB / 486.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.1432, allocations: 23.88 kB / 486.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1435, allocations: 75.17 kB / 486.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.1439, allocations: 119 kB / 486.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009717/0.1448, allocations: 473.9 kB / 487.1 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007867/0.1456, allocations: 0.7924 MB / 487.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.146, allocations: 232.4 kB / 488.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.1465, allocations: 282.5 kB / 488.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.1468, allocations: 278.4 kB / 488.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/0.1469, allocations: 24 kB / 488.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.68e-05/0.1469, allocations: 24 kB / 488.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1471, allocations: 107.4 kB / 488.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.896e-05/0.1472, allocations: 137.3 kB / 489 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.1477, allocations: 0.5769 MB / 489.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1477, allocations: 0 / 489.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1477, allocations: 0 / 489.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1477, allocations: 0 / 489.5 MB, free: 13.94 MB / 366.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.001918/0.1497, allocations: 1.11 MB / 490.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1497, allocations: 8.031 kB / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/0.1502, allocations: 154.8 kB / 490.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/0.151, allocations: 0.5225 MB / 491.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.151, allocations: 41 kB / 491.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/0.1511, allocations: 56 kB / 491.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.1526, allocations: 0.7596 MB / 492.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1526, allocations: 0 / 492.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.1527, allocations: 28 kB / 492.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.1527, allocations: 12 kB / 492.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.1541, allocations: 0.644 MB / 492.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.1574, allocations: 2.348 MB / 495.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.159, allocations: 0.8153 MB / 496 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/0.1598, allocations: 378.2 kB / 496.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.091e-05/0.1599, allocations: 8.438 kB / 496.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1599, allocations: 42.94 kB / 496.5 MB, free: 6.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 1.563e-06/0.16, allocations: 0 / 496.5 MB, free: 6.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.00457/0.1645, allocations: 2.158 MB / 498.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002058/0.1647, allocations: 239.8 kB / 498.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/0.1654, allocations: 0.5589 MB / 499.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.1655, allocations: 41.7 kB / 499.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.1657, allocations: 356.8 kB / 499.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.1659, allocations: 173.5 kB / 500 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.166, allocations: 12 kB / 500 MB, free: 3.074 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002782/0.1663, allocations: 378.8 kB / 0.4886 GB, free: 2.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.1676, allocations: 340.9 kB / 0.4889 GB, free: 2.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.1687, allocations: 479.6 kB / 0.4894 GB, free: 1.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/0.1695, allocations: 354 kB / 0.4897 GB, free: 1.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1695, allocations: 4 kB / 0.4897 GB, free: 1.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001955/0.1715, allocations: 0.8845 MB / 0.4906 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.1716, allocations: 163.2 kB / 0.4908 GB, free: 420 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1716, allocations: 4 kB / 0.4908 GB, free: 416 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1717, allocations: 7.984 kB / 0.4908 GB, free: 408 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.1725, allocations: 215.7 kB / 0.491 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.1725, allocations: 4 kB / 0.491 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.1731, allocations: 119.8 kB / 0.4911 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.1731, allocations: 20 kB / 0.4911 GB, free: 48 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/0.1731, allocations: 4 kB / 0.4911 GB, free: 44 kB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001273/0.1744, allocations: 0.6143 MB / 0.4917 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1744, allocations: 256 / 0.4917 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.1744, allocations: 12 kB / 0.4917 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/0.1751, allocations: 171.8 kB / 0.4919 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1751, allocations: 8 kB / 0.4919 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.1755, allocations: 75.83 kB / 0.492 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.1755, allocations: 24 kB / 0.492 GB, free: 15.14 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003316/0.1759, allocations: 269 kB / 0.4923 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.176, allocations: 71.16 kB / 0.4923 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.1762, allocations: 83.27 kB / 0.4924 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1762, allocations: 4 kB / 0.4924 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1762, allocations: 4.062 kB / 0.4924 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1762, allocations: 3.953 kB / 0.4924 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.179, allocations: 1.549 MB / 0.4939 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.179, allocations: 3.953 kB / 0.4939 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/0.1797, allocations: 175.8 kB / 0.4941 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.1798, allocations: 4 kB / 0.4941 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.1798, allocations: 11.98 kB / 0.4941 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.1798, allocations: 4 kB / 0.4941 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1798, allocations: 3.938 kB / 0.4941 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.1826, allocations: 1.4 MB / 0.4955 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.1829, allocations: 188.1 kB / 0.4957 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.183, allocations: 16 kB / 0.4957 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005729/0.1836, allocations: 111.9 kB / 0.4958 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.1837, allocations: 35.94 kB / 0.4958 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.1838, allocations: 23.92 kB / 0.4959 GB, free: 11.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004912/0.1843, allocations: 391.1 kB / 0.4962 GB, free: 10.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1843, allocations: 0 / 0.4962 GB, free: 10.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006977/0.185, allocations: 183.9 kB / 0.4964 GB, free: 10.53 MB / 382.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 (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.0001598/0.1851, allocations: 111.7 kB / 0.4965 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.1876, allocations: 1.099 MB / 0.4976 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1877, allocations: 0 / 0.4976 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009513/0.1886, allocations: 411.8 kB / 0.498 GB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.1897, allocations: 185.7 kB / 0.4981 GB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.1932, allocations: 1.812 MB / 0.4999 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.1937, allocations: 0.9258 MB / 0.5008 GB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.1939, allocations: 59.41 kB / 0.5009 GB, free: 5.852 MB / 382.1 MB Notification: Performance of SimCode: time 2.705e-06/0.1939, allocations: 0 / 0.5009 GB, free: 5.852 MB / 382.1 MB Notification: Performance of Templates: time 0.285/0.479, allocations: 8.696 MB / 0.5094 GB, free: 41.05 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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 OMCppModelicaTest_trunk_ModelicaTest.Blocks.StrictLimitersCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.StrictLimitersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.StrictLimitersCalcHelperMain.o] Error 1