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.0007226/0.0007226, allocations: 94.67 kB / 16.33 MB, free: 5.938 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.0008066/0.0008065, allocations: 187.8 kB / 17.22 MB, free: 5.859 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.232/1.232, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2939/0.2939, allocations: 43.55 MB / 315.2 MB, free: 8.844 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.0004566/0.0004567, allocations: 16 kB / 384.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09565, allocations: 58.87 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00161/0.09729, allocations: 1.365 MB / 444.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.09822, allocations: 0.6014 MB / 445.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.09832, allocations: 4 kB / 445.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.09835, allocations: 7.922 kB / 445.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.872e-05/0.09844, allocations: 11.88 kB / 445.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.09881, allocations: 119.8 kB / 445.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.09899, allocations: 131.7 kB / 445.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.09909, allocations: 33.09 kB / 445.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.999e-05/0.09919, allocations: 55.77 kB / 445.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/0.09929, allocations: 63.61 kB / 445.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.09932, allocations: 12 kB / 445.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.09934, allocations: 8 kB / 445.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.09938, allocations: 23.92 kB / 445.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.09942, allocations: 41.64 kB / 445.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.736e-05/0.09952, allocations: 88.03 kB / 446 MB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.09953, allocations: 7.984 kB / 446 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09954, allocations: 0 / 446 MB, free: 10.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.09955, allocations: 0 / 446 MB, free: 10.47 MB / 382.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.0005444/0.1001, allocations: 446.8 kB / 446.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1001, allocations: 11.97 kB / 446.4 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.1002, allocations: 19.77 kB / 446.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1004, allocations: 218.8 kB / 446.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1004, allocations: 8 kB / 446.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1005, allocations: 8 kB / 446.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.1008, allocations: 188.1 kB / 446.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1009, allocations: 7.938 kB / 446.9 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.1009, allocations: 4 kB / 446.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1009, allocations: 0 / 446.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.1013, allocations: 163.8 kB / 447 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007171/0.102, allocations: 472.3 kB / 447.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005281/0.1025, allocations: 246.5 kB / 447.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.1027, allocations: 92.8 kB / 447.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1028, allocations: 4.156 kB / 447.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1028, allocations: 46.47 kB / 447.9 MB, free: 8.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1028, allocations: 0 / 447.9 MB, free: 8.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001271/0.1041, allocations: 0.6545 MB / 448.5 MB, free: 7.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.1041, allocations: 106.8 kB / 448.6 MB, free: 7.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1043, allocations: 159.1 kB / 448.8 MB, free: 7.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1043, allocations: 33.64 kB / 448.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.1044, allocations: 112 kB / 448.9 MB, free: 7.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1044, allocations: 31.55 kB / 449 MB, free: 7.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.1044, allocations: 0 / 449 MB, free: 7.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1045, allocations: 334.8 kB / 449.3 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.1047, allocations: 79.94 kB / 449.4 MB, free: 6.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.1049, allocations: 118.4 kB / 449.5 MB, free: 6.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.1051, allocations: 88.2 kB / 449.6 MB, free: 6.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1051, allocations: 0 / 449.6 MB, free: 6.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004249/0.1056, allocations: 217.4 kB / 449.8 MB, free: 6.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.1056, allocations: 96.98 kB / 449.9 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1056, allocations: 80 / 449.9 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.1056, allocations: 0 / 449.9 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1058, allocations: 47.97 kB / 449.9 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1058, allocations: 3.984 kB / 449.9 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.106, allocations: 35.97 kB / 450 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.106, allocations: 0 / 450 MB, free: 6.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/0.106, allocations: 7.953 kB / 450 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001889/0.1062, allocations: 95.88 kB / 450.1 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.1062, allocations: 0 / 450.1 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.1062, allocations: 4 kB / 450.1 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.1063, allocations: 35.92 kB / 450.1 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-06/0.1063, allocations: 4 kB / 450.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.1064, allocations: 11.98 kB / 450.1 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1064, allocations: 4 kB / 450.1 MB, free: 6.027 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.1065, allocations: 197.1 kB / 450.3 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1065, allocations: 19.77 kB / 450.3 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.1066, allocations: 13.41 kB / 450.3 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1066, allocations: 4 kB / 450.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1066, allocations: 3.984 kB / 450.3 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1066, allocations: 0 / 450.3 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007612/0.1074, allocations: 0.5499 MB / 450.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1074, allocations: 3.984 kB / 450.9 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.1075, allocations: 48 kB / 450.9 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1076, allocations: 192 / 450.9 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1076, allocations: 7.938 kB / 451 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1076, allocations: 7.875 kB / 451 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1076, allocations: 0 / 451 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006736/0.1083, allocations: 424 kB / 451.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.1083, allocations: 81.02 kB / 451.5 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1083, allocations: 8 kB / 451.5 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.1086, allocations: 52.02 kB / 451.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.1086, allocations: 7.984 kB / 451.5 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1086, allocations: 8 kB / 451.5 MB, free: 4.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.626e-05/0.1087, allocations: 127.2 kB / 451.7 MB, free: 4.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1087, allocations: 0 / 451.7 MB, free: 4.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000285/0.109, allocations: 36 kB / 451.7 MB, free: 4.344 MB / 382.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 (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 8.652e-05/0.1091, allocations: 95.25 kB / 451.8 MB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000534/0.1097, allocations: 239.8 kB / 452 MB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1097, allocations: 3.938 kB / 452 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.1099, allocations: 92 kB / 452.1 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1102, allocations: 35.92 kB / 452.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.1108, allocations: 370.2 kB / 452.5 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1111, allocations: 0.7049 MB / 453.2 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.1111, allocations: 19.42 kB / 453.2 MB, free: 2.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1111, allocations: 4 kB / 453.2 MB, free: 2.727 MB / 382.1 MB Notification: Performance of Templates: time 0.003111/0.1143, allocations: 1.863 MB / 455.1 MB, free: 0.8711 MB / 382.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++ 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.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