Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 93.86 kB / 17.63 MB, free: 5.719 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.001331/0.001331, allocations: 179.5 kB / 18.52 MB, free: 5.172 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.55/1.55, allocations: 223.2 MB / 242.5 MB, free: 344 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.2373/0.2373, allocations: 44.22 MB / 337.9 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.000356, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1562, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02474/0.181, allocations: 23.34 MB / 495.5 MB, free: 6.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.1965, allocations: 5.934 MB / 0.4897 GB, free: 376 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00511/0.2017, allocations: 115.7 kB / 0.4898 GB, free: 260 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.2048, allocations: 1.116 MB / 0.4909 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009123/0.214, allocations: 3.323 MB / 0.4942 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.2151, allocations: 223.5 kB / 0.4944 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005629/0.2207, allocations: 3.844 MB / 0.4981 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003991/0.2247, allocations: 2.817 MB / 0.5009 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.2266, allocations: 1.004 MB / 0.5019 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.2285, allocations: 1.538 MB / 0.5034 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004/0.2289, allocations: 120 kB / 0.5035 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.23, allocations: 0.5266 MB / 0.504 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.2314, allocations: 1.441 MB / 0.5054 GB, free: 220 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.324/0.5554, allocations: 0.7686 MB / 0.5061 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008913/0.5643, allocations: 4.788 MB / 0.5108 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.5644, allocations: 0 / 0.5108 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5644, allocations: 0.5312 kB / 0.5108 GB, free: 13.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003398/0.5647, allocations: 3.094 kB / 0.5108 GB, free: 13.86 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01055/0.5753, allocations: 3.358 MB / 0.5141 GB, free: 12.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5753, allocations: 8.094 kB / 0.5141 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.5862, allocations: 3.084 MB / 0.5171 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005646/0.5919, allocations: 1.791 MB / 0.5189 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.5921, allocations: 194.8 kB / 0.5191 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.5933, allocations: 253.4 kB / 0.5193 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/0.6143, allocations: 10.21 MB / 0.5293 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-05/0.6144, allocations: 28.47 kB / 0.5293 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004647/0.6149, allocations: 127.2 kB / 0.5294 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003848/0.6188, allocations: 2.384 MB / 0.5317 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.6357, allocations: 9.031 MB / 0.5406 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05797/0.6937, allocations: 38.16 MB / 0.5778 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005794/0.6995, allocations: 3.373 MB / 0.5811 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.7013, allocations: 1.225 MB / 0.5823 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009609/0.7109, allocations: 5.195 MB / 0.5874 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.711, allocations: 50.22 kB / 0.5874 GB, free: 9.832 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 4.869e-06/0.711, allocations: 0 / 0.5874 GB, free: 9.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.006767/0.7178, allocations: 3.309 MB / 0.5907 GB, free: 6.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.7179, allocations: 173.5 kB / 0.5908 GB, free: 6.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006116/0.724, allocations: 3.848 MB / 0.5946 GB, free: 2.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.7242, allocations: 41.7 kB / 0.5946 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002364/0.7266, allocations: 3.222 MB / 0.5978 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006688/0.7272, allocations: 0.6084 MB / 0.5984 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.7275, allocations: 126.7 kB / 0.5985 GB, free: 14.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004078/0.7279, allocations: 0.5905 MB / 0.5991 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/0.731, allocations: 1.941 MB / 0.601 GB, free: 11.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006373/0.7374, allocations: 6.127 MB / 0.607 GB, free: 3.824 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007448/0.7448, allocations: 3.447 MB / 0.6103 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001763/0.745, allocations: 40 kB / 0.6104 GB, free: 484 kB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01609/0.7611, allocations: 7.707 MB / 0.6179 GB, free: 9.656 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.7613, allocations: 68 kB / 0.618 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003029/0.7616, allocations: 152 kB / 0.6181 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/0.7619, allocations: 216 kB / 0.6183 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004896/0.7669, allocations: 1.465 MB / 0.6197 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003476/0.7672, allocations: 295 kB / 0.62 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005967/0.7732, allocations: 0.9174 MB / 0.6209 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/0.7747, allocations: 406.7 kB / 0.6213 GB, free: 6.301 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (797): * Single equations (assignments): 789 * Array equations: 8 * 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.006488/0.7812, allocations: 2.227 MB / 0.6235 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008303/0.782, allocations: 311.9 kB / 0.6238 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.7833, allocations: 412.1 kB / 0.6242 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.59e-05/0.7834, allocations: 42.56 kB / 0.6242 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.7834, allocations: 1.859 kB / 0.6242 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.7835, allocations: 3.984 kB / 0.6242 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.7974, allocations: 5.523 MB / 0.6296 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/0.7975, allocations: 12.03 kB / 0.6296 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.7985, allocations: 211.6 kB / 0.6298 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-05/0.7985, allocations: 15.98 kB / 0.6298 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.7987, allocations: 24.47 kB / 0.6299 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.825e-05/0.7987, allocations: 15.94 kB / 0.6299 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.7987, allocations: 4.312 kB / 0.6299 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.8026, allocations: 2.531 MB / 0.6323 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.8038, allocations: 384.6 kB / 0.6327 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008507/0.8047, allocations: 35.92 kB / 0.6327 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.8058, allocations: 66.5 kB / 0.6328 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.806, allocations: 84.36 kB / 0.6329 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.8061, allocations: 40 kB / 0.6329 GB, free: 10.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004655/0.8107, allocations: 2.342 MB / 0.6352 GB, free: 7.852 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.8108, allocations: 0 / 0.6352 GB, free: 7.852 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006458/0.8172, allocations: 1.102 MB / 0.6363 GB, free: 6.754 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (108): * Single equations (assignments): 102 * Array equations: 6 * 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.0004678/0.8177, allocations: 158.3 kB / 0.6364 GB, free: 6.594 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008566/0.8263, allocations: 4.412 MB / 0.6408 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.8263, allocations: 0 / 0.6408 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.8279, allocations: 0.9408 MB / 0.6417 GB, free: 1.281 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/0.8313, allocations: 347.5 kB / 0.642 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02889/0.8602, allocations: 10.53 MB / 0.6523 GB, free: 6.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007446/0.8677, allocations: 3.226 MB / 0.6554 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.8691, allocations: 275.4 kB / 0.6557 GB, free: 2.785 MB / 494.1 MB Notification: Performance of SimCode: time 1.452e-06/0.8691, allocations: 0 / 0.6557 GB, free: 2.785 MB / 494.1 MB Notification: Performance of Templates: time 0.4415/1.311, allocations: 52.3 MB / 0.7068 GB, free: 157.9 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.MultiBody.Sensors.AbsoluteSensor2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2CalcHelperMain.o] Error 1