Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.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.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy") translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000697/0.000697, allocations: 93.12 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.000855/0.0008553, allocations: 184.7 kB / 17.22 MB, free: 5.863 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.254/1.254, allocations: 205.4 MB / 223.4 MB, free: 5.457 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.2779/0.2779, allocations: 43.55 MB / 315.2 MB, free: 8.973 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.0004826/0.0004827, allocations: 12 kB / 384.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1004, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002658/0.1031, allocations: 2.537 MB / 445.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1045, allocations: 0.9951 MB / 446.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.1047, allocations: 15.94 kB / 447 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.939e-05/0.1048, allocations: 39.58 kB / 447 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.105, allocations: 67.31 kB / 447.1 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.1056, allocations: 295.6 kB / 447.3 MB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.1061, allocations: 0.5231 MB / 447.9 MB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.1063, allocations: 181 kB / 448 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.1065, allocations: 183.2 kB / 448.2 MB, free: 8.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1068, allocations: 210.8 kB / 448.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.1068, allocations: 20 kB / 448.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.382e-05/0.1069, allocations: 20 kB / 448.5 MB, free: 7.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.1069, allocations: 87.59 kB / 448.6 MB, free: 7.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.107, allocations: 97.39 kB / 448.6 MB, free: 7.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1073, allocations: 359.3 kB / 449 MB, free: 7.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1073, allocations: 0 / 449 MB, free: 7.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1073, allocations: 0 / 449 MB, free: 7.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1074, allocations: 0 / 449 MB, free: 7.426 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001453/0.1088, allocations: 0.9273 MB / 449.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1089, allocations: 12.03 kB / 449.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.405e-05/0.109, allocations: 67.2 kB / 450 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.1094, allocations: 392.7 kB / 450.4 MB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.1094, allocations: 33 kB / 450.4 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.1095, allocations: 51.91 kB / 450.5 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.1107, allocations: 0.6606 MB / 451.1 MB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1107, allocations: 3.953 kB / 451.1 MB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.1108, allocations: 24 kB / 451.2 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1108, allocations: 8 kB / 451.2 MB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.1122, allocations: 0.6166 MB / 451.8 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.1145, allocations: 1.828 MB / 453.6 MB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.1159, allocations: 0.6895 MB / 454.3 MB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007328/0.1167, allocations: 373.8 kB / 454.7 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.1167, allocations: 12 kB / 454.7 MB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1168, allocations: 50.44 kB / 454.7 MB, free: 1.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.1168, allocations: 0 / 454.7 MB, free: 1.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.002255/0.119, allocations: 0.9042 MB / 455.6 MB, free: 484 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.1192, allocations: 294.7 kB / 455.9 MB, free: 120 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1815/0.3007, allocations: 354 kB / 456.3 MB, free: 46.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.3009, allocations: 34.73 kB / 456.3 MB, free: 46.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.301, allocations: 270.7 kB / 456.6 MB, free: 46.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/0.3011, allocations: 157.6 kB / 456.7 MB, free: 46.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.3011, allocations: 12.69 kB / 456.7 MB, free: 46.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.3012, allocations: 354.2 kB / 457.1 MB, free: 45.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006563/0.3019, allocations: 280.2 kB / 457.3 MB, free: 45.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.3025, allocations: 420.6 kB / 457.8 MB, free: 45.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.3032, allocations: 300.9 kB / 458.1 MB, free: 45.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3032, allocations: 0 / 458.1 MB, free: 45.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002846/0.306, allocations: 1.253 MB / 459.3 MB, free: 45.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.3061, allocations: 192.8 kB / 459.5 MB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3061, allocations: 6.266 kB / 459.5 MB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.3076, allocations: 493.2 kB / 460 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.308, allocations: 112.8 kB / 460.1 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009491/0.3175, allocations: 11.93 MB / 472 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004461/0.318, allocations: 120.1 kB / 472.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.318, allocations: 21.47 kB / 472.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.318, allocations: 9.672 kB / 472.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001638/0.3197, allocations: 0.7549 MB / 472.9 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3197, allocations: 3.344 kB / 472.9 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.3202, allocations: 169.9 kB / 473.1 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.3208, allocations: 191.5 kB / 473.3 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/0.3237, allocations: 3.524 MB / 476.8 MB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.3241, allocations: 106.4 kB / 476.9 MB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.3242, allocations: 18.75 kB / 476.9 MB, free: 32.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 4,2 4,2 4,2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.3244, allocations: 248.1 kB / 477.2 MB, free: 32.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.3246, allocations: 55.09 kB / 477.2 MB, free: 32.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.326, allocations: 0.7181 MB / 477.9 MB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3261, allocations: 10.28 kB / 478 MB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3261, allocations: 3.125 kB / 478 MB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.3261, allocations: 7.234 kB / 478 MB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/0.3268, allocations: 498 kB / 478.4 MB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3268, allocations: 3.219 kB / 478.5 MB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.3273, allocations: 147.5 kB / 478.6 MB, free: 32.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.138e-05/0.3274, allocations: 21.61 kB / 478.6 MB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.3274, allocations: 9.719 kB / 478.6 MB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005179/0.328, allocations: 1.303 MB / 479.9 MB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.328, allocations: 3.156 kB / 479.9 MB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.33, allocations: 1.53 MB / 481.5 MB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.33, allocations: 128.9 kB / 481.6 MB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.3301, allocations: 13.81 kB / 481.6 MB, free: 30.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.3307, allocations: 97.7 kB / 481.7 MB, free: 29.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.3308, allocations: 42.28 kB / 481.7 MB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.3308, allocations: 20.53 kB / 481.8 MB, free: 29.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.331, allocations: 240.6 kB / 482 MB, free: 29.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.331, allocations: 0 / 482 MB, free: 29.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001188/0.3322, allocations: 227.1 kB / 482.2 MB, free: 29.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (controllerFeedbackPart1.y,firstOrder1.y,controllerFeedbackPart2.y,firstOrder2.y,controllerFeedbackPart3.y,firstOrder3.y,controllerFeedbackPart4.y,firstOrder4.y,controllerFeedbackPart5.y,firstOrder5.y,controllerFeedbackPart6.y,firstOrder6.y) * 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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001044/0.3323, allocations: 114.3 kB / 482.3 MB, free: 29.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004414/0.3367, allocations: 2.496 MB / 484.8 MB, free: 28.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3367, allocations: 3.156 kB / 484.8 MB, free: 28.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007244/0.3374, allocations: 449.5 kB / 485.3 MB, free: 28.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.3385, allocations: 122.1 kB / 485.4 MB, free: 28.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.3404, allocations: 1.434 MB / 486.8 MB, free: 27.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.3406, allocations: 0.872 MB / 487.7 MB, free: 26.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3408, allocations: 40.88 kB / 487.7 MB, free: 26.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3408, allocations: 0 / 487.7 MB, free: 26.69 MB / 382.1 MB Notification: Performance of Templates: time 0.0154/0.3562, allocations: 13.79 MB / 0.4898 GB, free: 24.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.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.LimitersHomotopyCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopyCalcHelperMain.o] Error 1