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.0007445/0.0007444, allocations: 92.44 kB / 16.33 MB, free: 6.398 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.0007684/0.0007684, allocations: 183 kB / 17.22 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.1835/0.1835, allocations: 43.56 MB / 315.2 MB, free: 0.5508 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.000464/0.000464, allocations: 18.81 kB / 384.5 MB, free: 57.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09066, allocations: 58.87 MB / 443.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.002491/0.0932, allocations: 2.99 MB / 446.4 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.09479, allocations: 1.388 MB / 447.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.09505, allocations: 23.88 kB / 447.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.09522, allocations: 75.19 kB / 447.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.09556, allocations: 119 kB / 448 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.09629, allocations: 477.3 kB / 448.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.09687, allocations: 0.8079 MB / 449.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.09722, allocations: 224.5 kB / 449.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.09754, allocations: 286.5 kB / 449.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.09782, allocations: 274.3 kB / 450 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.09789, allocations: 24 kB / 450.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.213e-05/0.09795, allocations: 20 kB / 450.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.09805, allocations: 111.4 kB / 450.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.09816, allocations: 141.3 kB / 450.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.09864, allocations: 0.5767 MB / 450.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.09865, allocations: 3.984 kB / 450.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09866, allocations: 0 / 450.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.09867, allocations: 0 / 450.9 MB, free: 14.23 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.001759/0.1004, allocations: 1.125 MB / 452 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1005, allocations: 12.03 kB / 452 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.1006, allocations: 90.88 kB / 452.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006555/0.1013, allocations: 0.5459 MB / 452.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.1013, allocations: 41 kB / 452.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/0.1014, allocations: 55.91 kB / 452.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.1027, allocations: 0.754 MB / 453.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1027, allocations: 0 / 453.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.1028, allocations: 20 kB / 453.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1028, allocations: 12 kB / 453.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.1042, allocations: 0.6401 MB / 454.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.107, allocations: 2.353 MB / 456.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.1086, allocations: 0.8113 MB / 457.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007535/0.1093, allocations: 378.2 kB / 457.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.1094, allocations: 12.44 kB / 457.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1094, allocations: 42.89 kB / 457.8 MB, free: 7.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.513e-06/0.1094, allocations: 7.938 kB / 457.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.004145/0.1136, allocations: 2.155 MB / 460 MB, free: 4.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.42e-05/0.1137, allocations: 196.3 kB / 460.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.1143, allocations: 0.5786 MB / 460.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.1143, allocations: 33.7 kB / 460.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.1146, allocations: 356.8 kB / 461.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.1147, allocations: 185.4 kB / 461.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.1147, allocations: 8 kB / 461.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1149, allocations: 326 kB / 461.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/0.1156, allocations: 344.9 kB / 461.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.1164, allocations: 462 kB / 462.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007366/0.1172, allocations: 354 kB / 462.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1172, allocations: 11.88 kB / 462.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001706/0.1189, allocations: 0.8922 MB / 463.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.215e-05/0.119, allocations: 155.2 kB / 463.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.119, allocations: 4 kB / 463.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.119, allocations: 4.281 kB / 463.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.1198, allocations: 215.8 kB / 464 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.1199, allocations: 11.92 kB / 464 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.1203, allocations: 103.9 kB / 464.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.1204, allocations: 27.98 kB / 464.2 MB, free: 500 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.641e-06/0.1204, allocations: 4 kB / 464.2 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/0.1216, allocations: 0.6104 MB / 464.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.1216, allocations: 0 / 464.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.199e-06/0.1216, allocations: 4 kB / 464.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.1222, allocations: 184 kB / 465 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1222, allocations: 11.95 kB / 465 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.1226, allocations: 67.95 kB / 465 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.1226, allocations: 23.92 kB / 465.1 MB, free: 15.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.1229, allocations: 265 kB / 465.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.123, allocations: 83.06 kB / 465.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.1232, allocations: 83.53 kB / 465.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1232, allocations: 4 kB / 465.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1232, allocations: 3.953 kB / 465.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.1232, allocations: 3.984 kB / 465.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.1257, allocations: 1.548 MB / 467 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1257, allocations: 3.984 kB / 467 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/0.1263, allocations: 179.8 kB / 467.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1263, allocations: 4 kB / 467.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.1264, allocations: 11.98 kB / 467.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1264, allocations: 4 kB / 467.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1264, allocations: 0 / 467.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.1289, allocations: 1.416 MB / 468.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.1291, allocations: 192.1 kB / 468.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.1292, allocations: 16 kB / 468.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004982/0.1297, allocations: 107.9 kB / 469 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.473e-05/0.1298, allocations: 35.94 kB / 469 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.1298, allocations: 19.98 kB / 469 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003851/0.1302, allocations: 403.1 kB / 469.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1302, allocations: 0 / 469.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005862/0.1308, allocations: 184 kB / 469.6 MB, free: 10.94 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 (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.0001287/0.1309, allocations: 107.3 kB / 469.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.1331, allocations: 1.096 MB / 470.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1332, allocations: 0 / 470.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.134, allocations: 415.4 kB / 471.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009437/0.1349, allocations: 187.9 kB / 471.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.138, allocations: 1.848 MB / 473.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.1384, allocations: 0.9222 MB / 474.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.1387, allocations: 63.41 kB / 474.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1387, allocations: 4 kB / 474.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of Templates: time 0.01101/0.1497, allocations: 8.835 MB / 483.1 MB, free: 13.42 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++ 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_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