Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009475, allocations: 88.47 kB / 17.63 MB, free: 6.293 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.001194/0.001194, allocations: 180.8 kB / 18.52 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 242.5 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 44.22 MB / 337.9 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003462, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 61.93 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002795/0.1388, allocations: 1.979 MB / 474.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1404, allocations: 0.8972 MB / 475.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1406, allocations: 11.88 kB / 475.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.141, allocations: 91.5 kB / 475.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1412, allocations: 71.59 kB / 475.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.1417, allocations: 227.6 kB / 475.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006499/0.1424, allocations: 0.6237 MB / 476.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1426, allocations: 53.25 kB / 476.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.1429, allocations: 263.1 kB / 476.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000357/0.1433, allocations: 298.8 kB / 476.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.1433, allocations: 35.94 kB / 476.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.421e-05/0.1434, allocations: 32 kB / 476.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.1436, allocations: 147.5 kB / 476.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1437, allocations: 89.52 kB / 477 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.1441, allocations: 387.3 kB / 477.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1441, allocations: 3.938 kB / 477.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1441, allocations: 3.938 kB / 477.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1441, allocations: 4 kB / 477.4 MB, free: 8.523 MB / 350.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.002159/0.1463, allocations: 0.9237 MB / 478.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1464, allocations: 16.56 kB / 478.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.1465, allocations: 59.44 kB / 478.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.147, allocations: 370 kB / 478.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003626/0.1474, allocations: 267.1 kB / 479 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-05/0.1475, allocations: 51.91 kB / 479 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.1495, allocations: 0.8594 MB / 479.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.1495, allocations: 4 kB / 479.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.1496, allocations: 19.94 kB / 479.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.1496, allocations: 11.98 kB / 479.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.153, allocations: 1.321 MB / 481.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.156, allocations: 2.081 MB / 483.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.1589, allocations: 0.9049 MB / 484.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.1604, allocations: 0.5404 MB / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.491e-05/0.1605, allocations: 9.062 kB / 484.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.1606, allocations: 42.5 kB / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=64): time 2.335e-06/0.1606, allocations: 0 / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.08688/0.2475, allocations: 18.23 MB / 0.4913 GB, free: 14.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.2476, allocations: 90.23 kB / 0.4913 GB, free: 14.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.2481, allocations: 385.4 kB / 0.4917 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.2484, allocations: 45.7 kB / 0.4918 GB, free: 13.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.2485, allocations: 233 kB / 0.492 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004966/0.249, allocations: 394.2 kB / 0.4924 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.2492, allocations: 24 kB / 0.4924 GB, free: 13.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.2494, allocations: 370.8 kB / 0.4927 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003496/0.2529, allocations: 1.451 MB / 0.4942 GB, free: 11.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003783/0.2567, allocations: 1.607 MB / 0.4957 GB, free: 9.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/0.2601, allocations: 1.308 MB / 0.497 GB, free: 8.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.2601, allocations: 0 / 0.497 GB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00753/0.2677, allocations: 3.045 MB / 0.5 GB, free: 5.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.2677, allocations: 15.89 kB / 0.5 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.2678, allocations: 4 kB / 0.5 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/0.2678, allocations: 8 kB / 0.5 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.2704, allocations: 463.7 kB / 0.5004 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.684e-05/0.2705, allocations: 11.94 kB / 0.5005 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.2724, allocations: 279.7 kB / 0.5007 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/0.2726, allocations: 47.98 kB / 0.5008 GB, free: 4.531 MB / 382.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.moving[1],kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.noWphase,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005279/0.2731, allocations: 230.6 kB / 0.501 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.2734, allocations: 67.09 kB / 0.501 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.2737, allocations: 112.7 kB / 0.5012 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.2737, allocations: 12 kB / 0.5012 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.2738, allocations: 8 kB / 0.5012 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.2738, allocations: 7.969 kB / 0.5012 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3072/0.581, allocations: 5.537 MB / 0.5066 GB, free: 49.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/0.5811, allocations: 25.44 kB / 0.5066 GB, free: 49.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.5827, allocations: 411.6 kB / 0.507 GB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.1e-05/0.5828, allocations: 29.88 kB / 0.507 GB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/0.5829, allocations: 45.97 kB / 0.5071 GB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-05/0.5829, allocations: 38.97 kB / 0.5071 GB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.752e-05/0.583, allocations: 36.11 kB / 0.5072 GB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007735/0.5907, allocations: 3.419 MB / 0.5105 GB, free: 48.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/0.5912, allocations: 244.6 kB / 0.5107 GB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.5914, allocations: 50.17 kB / 0.5108 GB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.5927, allocations: 255.7 kB / 0.511 GB, free: 48.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004932/0.5932, allocations: 231.5 kB / 0.5112 GB, free: 48.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.5933, allocations: 55.94 kB / 0.5113 GB, free: 48.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003713/0.5937, allocations: 263.3 kB / 0.5115 GB, free: 48.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5937, allocations: 0 / 0.5115 GB, free: 48.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001166/0.5949, allocations: 231.1 kB / 0.5118 GB, free: 48.26 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 (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.0002613/0.5951, allocations: 164.9 kB / 0.5119 GB, free: 48.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006923/0.6021, allocations: 2.563 MB / 0.5144 GB, free: 47.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.6021, allocations: 2.938 kB / 0.5144 GB, free: 47.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00355/0.6057, allocations: 1.175 MB / 0.5156 GB, free: 47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.607, allocations: 150.2 kB / 0.5157 GB, free: 46.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.6107, allocations: 2.201 MB / 0.5179 GB, free: 45.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.6113, allocations: 0.9312 MB / 0.5188 GB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006987/0.612, allocations: 72.2 kB / 0.5188 GB, free: 44.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.823e-06/0.612, allocations: 1.375 kB / 0.5188 GB, free: 44.54 MB / 382.1 MB Notification: Performance of Templates: time 0.02023/0.6323, allocations: 14.19 MB / 0.5327 GB, free: 34.62 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.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_4.0.0_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.o] Error 1