Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009716, allocations: 89.98 kB / 16.67 MB, free: 6.59 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.001217/0.001217, allocations: 185.7 kB / 17.58 MB, free: 6.191 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.98/1.98, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.2883/0.2883, allocations: 43.58 MB / 315.6 MB, free: 440 kB / 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.0006475/0.000648, allocations: 18.28 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1611, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.0031/0.1642, allocations: 2.085 MB / 446.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1663, allocations: 0.964 MB / 447.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004569/0.1667, allocations: 7.938 kB / 447.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.1673, allocations: 103.5 kB / 447.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.1678, allocations: 79.53 kB / 447.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.1686, allocations: 251.7 kB / 447.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.1695, allocations: 0.6858 MB / 448.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1698, allocations: 65.05 kB / 448.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005822/0.1704, allocations: 267 kB / 448.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.1709, allocations: 314.7 kB / 448.9 MB, free: 348 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.035e-05/0.171, allocations: 32 kB / 448.9 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.1711, allocations: 28 kB / 448.9 MB, free: 288 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.1713, allocations: 159.5 kB / 449.1 MB, free: 128 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.1717, allocations: 244.4 kB / 449.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.1722, allocations: 387 kB / 449.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1722, allocations: 0 / 449.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1722, allocations: 4 kB / 449.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1723, allocations: 0 / 449.7 MB, free: 15.5 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002581/0.1749, allocations: 0.9277 MB / 450.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.1749, allocations: 8.031 kB / 450.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.1751, allocations: 64.38 kB / 450.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007952/0.1759, allocations: 375.1 kB / 451.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004647/0.1764, allocations: 275.7 kB / 451.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.1765, allocations: 44.28 kB / 451.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.1787, allocations: 0.8673 MB / 452.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.1788, allocations: 7.938 kB / 452.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.1788, allocations: 16 kB / 452.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1789, allocations: 12 kB / 452.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/0.1827, allocations: 1.321 MB / 453.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.186, allocations: 2.074 MB / 455.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003402/0.1895, allocations: 0.9059 MB / 456.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.1912, allocations: 0.5482 MB / 457.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.1913, allocations: 9.047 kB / 457.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.1913, allocations: 46.44 kB / 457.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 3.306e-06/0.1913, allocations: 4 kB / 457.2 MB, free: 7.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.09591/0.2872, allocations: 18.24 MB / 475.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.2874, allocations: 90.23 kB / 475.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.288, allocations: 389.3 kB / 475.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.2883, allocations: 53.64 kB / 476 MB, free: 4.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.2885, allocations: 221.1 kB / 476.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005622/0.2891, allocations: 398.1 kB / 476.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/0.2894, allocations: 105.6 kB / 476.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.2896, allocations: 374.8 kB / 477 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004646/0.2942, allocations: 1.455 MB / 478.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004164/0.2984, allocations: 1.607 MB / 480.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007838/0.3063, allocations: 2.672 MB / 482.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/0.3064, allocations: 0 / 482.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.009017/0.3154, allocations: 3.061 MB / 485.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.3155, allocations: 10.19 kB / 485.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.3155, allocations: 4 kB / 485.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.729e-05/0.3156, allocations: 8 kB / 485.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/0.3186, allocations: 471.6 kB / 486.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.407e-05/0.3186, allocations: 11.94 kB / 486.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/0.321, allocations: 279.7 kB / 486.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.3212, allocations: 39.98 kB / 486.6 MB, free: 9.957 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 148 * 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.0006887/0.3219, allocations: 234.8 kB / 486.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/0.3223, allocations: 59.25 kB / 486.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.3226, allocations: 116.7 kB / 487 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.3227, allocations: 12 kB / 487.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.721e-05/0.3227, allocations: 3.938 kB / 487.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.3227, allocations: 3.984 kB / 487.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.3383, allocations: 5.559 MB / 492.6 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001376/0.3385, allocations: 20 kB / 492.6 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/0.3413, allocations: 415.5 kB / 493 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-05/0.3414, allocations: 27.94 kB / 493.1 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/0.3416, allocations: 51.94 kB / 493.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-05/0.3417, allocations: 39.86 kB / 493.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-05/0.3417, allocations: 31.88 kB / 493.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009841/0.3516, allocations: 3.438 MB / 496.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/0.3523, allocations: 240.3 kB / 496.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.3525, allocations: 51.98 kB / 496.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.3542, allocations: 255.8 kB / 497.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005563/0.3548, allocations: 219.2 kB / 497.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/0.355, allocations: 56 kB / 497.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005437/0.3555, allocations: 263.1 kB / 497.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3556, allocations: 0 / 497.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001661/0.3572, allocations: 232 kB / 497.9 MB, free: 14.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0005138/0.3578, allocations: 174.7 kB / 498.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007951/0.3657, allocations: 2.566 MB / 0.4889 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.947e-05/0.3658, allocations: 0 / 0.4889 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003923/0.3697, allocations: 1.184 MB / 0.4901 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.3722, allocations: 162 kB / 0.4902 GB, free: 9.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005012/0.3772, allocations: 2.266 MB / 0.4924 GB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000901/0.3781, allocations: 0.9246 MB / 0.4933 GB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007881/0.3789, allocations: 75.42 kB / 0.4934 GB, free: 6.312 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3789, allocations: 0 / 0.4934 GB, free: 6.312 MB / 382.1 MB Notification: Performance of Templates: time 0.03054/0.4095, allocations: 14.18 MB / 0.5073 GB, free: 8.125 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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.KinematicPTPCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.o] Error 1