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.001727/0.001726, allocations: 105.5 kB / 16.52 MB, free: 6.266 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.001952/0.001952, allocations: 195.5 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.421/2.421, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.3248/0.3248, allocations: 43.51 MB / 314.1 MB, free: 0.7617 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.002276/0.002276, allocations: 63.64 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2242, allocations: 57.79 MB / 440.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.005659/0.23, allocations: 2.439 MB / 442.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2319, allocations: 0.9756 MB / 443.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.2321, allocations: 3.938 kB / 443.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.2326, allocations: 111.4 kB / 444 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.2329, allocations: 75.59 kB / 444.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.2335, allocations: 247.7 kB / 444.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007154/0.2343, allocations: 0.6859 MB / 445 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.2345, allocations: 77.25 kB / 445.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.2348, allocations: 274.9 kB / 445.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.2352, allocations: 326.7 kB / 445.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.2353, allocations: 32 kB / 445.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.2354, allocations: 32 kB / 445.7 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.2356, allocations: 159.5 kB / 445.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.2359, allocations: 230.7 kB / 446.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.2363, allocations: 387.2 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.406e-05/0.2363, allocations: 0 / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2363, allocations: 0 / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2363, allocations: 0 / 446.5 MB, free: 1.355 MB / 318.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.002329/0.2387, allocations: 0.9353 MB / 447.4 MB, free: 380 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.2387, allocations: 8.031 kB / 447.4 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2389, allocations: 64.38 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.2395, allocations: 383 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000448/0.24, allocations: 263.7 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2401, allocations: 44.38 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.2423, allocations: 0.8048 MB / 449 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.2423, allocations: 0 / 449 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-05/0.2424, allocations: 16 kB / 449 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.2424, allocations: 19.98 kB / 449 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003693/0.2461, allocations: 1.2 MB / 450.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.2497, allocations: 2.043 MB / 452.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003011/0.2527, allocations: 0.8281 MB / 453.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.2541, allocations: 497.3 kB / 453.6 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.499e-05/0.2542, allocations: 20.97 kB / 453.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.2543, allocations: 42.5 kB / 453.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 2.204e-06/0.2543, allocations: 0 / 453.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.09116/0.3455, allocations: 15.74 MB / 469.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.3456, allocations: 98.11 kB / 469.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.3463, allocations: 393.5 kB / 469.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000149/0.3465, allocations: 45.7 kB / 469.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.3467, allocations: 220.9 kB / 470.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004989/0.3472, allocations: 398.2 kB / 470.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006286/0.3479, allocations: 202.8 kB / 470.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002863/0.3482, allocations: 370.8 kB / 471 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/0.352, allocations: 1.342 MB / 472.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004114/0.3562, allocations: 1.49 MB / 473.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007268/0.3635, allocations: 2.449 MB / 476.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3635, allocations: 0 / 476.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008108/0.3716, allocations: 2.834 MB / 479.2 MB, free: 52 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.3716, allocations: 8 kB / 479.2 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.3717, allocations: 4 kB / 479.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.426e-05/0.3717, allocations: 8.25 kB / 479.2 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.3747, allocations: 407.4 kB / 479.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-05/0.3747, allocations: 15.92 kB / 479.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.3767, allocations: 219.7 kB / 479.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.3769, allocations: 43.98 kB / 479.9 MB, free: 15.36 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.0006512/0.3776, allocations: 234.8 kB / 480.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.3778, allocations: 63.25 kB / 480.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.3781, allocations: 108.7 kB / 480.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.3782, allocations: 15.94 kB / 480.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.661e-05/0.3782, allocations: 7.938 kB / 480.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.3782, allocations: 7.969 kB / 480.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.3916, allocations: 5.232 MB / 485.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/0.3917, allocations: 23.94 kB / 485.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.3932, allocations: 355.5 kB / 485.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.836e-05/0.3933, allocations: 28 kB / 485.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.3934, allocations: 44 kB / 486 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-05/0.3934, allocations: 39.86 kB / 486 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-05/0.3935, allocations: 31.88 kB / 486 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008408/0.4019, allocations: 3.094 MB / 489.1 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.4023, allocations: 240.4 kB / 489.4 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.4025, allocations: 59.95 kB / 489.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.4037, allocations: 187.8 kB / 489.6 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005978/0.4043, allocations: 215.2 kB / 489.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.4044, allocations: 63.98 kB / 489.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004993/0.4049, allocations: 263.2 kB / 490.1 MB, free: 4.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4049, allocations: 0 / 490.1 MB, free: 4.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001069/0.406, allocations: 228 kB / 490.3 MB, free: 4.191 MB / 366.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.0002998/0.4063, allocations: 174.7 kB / 490.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006311/0.4126, allocations: 2.336 MB / 492.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.4127, allocations: 4 kB / 492.9 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003452/0.4161, allocations: 1.066 MB / 493.9 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.4174, allocations: 158 kB / 494.1 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/0.4252, allocations: 2.246 MB / 496.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.4264, allocations: 0.9246 MB / 497.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009132/0.4273, allocations: 75.42 kB / 497.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of SimCode: time 3.136e-06/0.4273, allocations: 0 / 497.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of Templates: time 0.03867/0.466, allocations: 14.2 MB / 0.4995 GB, free: 14.66 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