Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009337/0.0009335, allocations: 96.72 kB / 17.63 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009663/0.0009663, allocations: 201.3 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2618/0.2618, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002877, allocations: 8 kB / 418.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 63.47 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02317/0.1816, allocations: 23.36 MB / 0.4936 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01585/0.1975, allocations: 6.004 MB / 0.4995 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005135/0.2027, allocations: 115.7 kB / 0.4996 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003471/0.2062, allocations: 1.112 MB / 0.5007 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009721/0.2159, allocations: 3.327 MB / 0.5039 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.2173, allocations: 215.6 kB / 0.5041 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3911/0.6085, allocations: 3.907 MB / 0.508 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006977/0.6155, allocations: 2.81 MB / 0.5107 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.6188, allocations: 1.004 MB / 0.5117 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004149/0.6229, allocations: 1.531 MB / 0.5132 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008827/0.6239, allocations: 124.7 kB / 0.5133 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.6261, allocations: 0.5338 MB / 0.5138 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002732/0.6289, allocations: 1.441 MB / 0.5152 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.6306, allocations: 0.7627 MB / 0.516 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009361/0.64, allocations: 4.793 MB / 0.5207 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.64, allocations: 1.125 kB / 0.5207 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.64, allocations: 4 kB / 0.5207 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003512/0.6404, allocations: 1.062 kB / 0.5207 GB, free: 10.82 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.01269/0.6531, allocations: 3.358 MB / 0.5239 GB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/0.6532, allocations: 9.344 kB / 0.524 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.6645, allocations: 3.085 MB / 0.527 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00663/0.6711, allocations: 1.802 MB / 0.5287 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.6715, allocations: 197.5 kB / 0.5289 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001626/0.6731, allocations: 249.7 kB / 0.5292 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.6944, allocations: 10.2 MB / 0.5391 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.988e-05/0.6945, allocations: 32.22 kB / 0.5391 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004233/0.6949, allocations: 132.5 kB / 0.5393 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00387/0.6988, allocations: 2.378 MB / 0.5416 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.7182, allocations: 9.032 MB / 0.5504 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06679/0.7851, allocations: 38.15 MB / 0.5877 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006201/0.7913, allocations: 3.372 MB / 0.591 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.7933, allocations: 1.222 MB / 0.5922 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.8034, allocations: 5.193 MB / 0.5972 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.8035, allocations: 43.12 kB / 0.5973 GB, free: 13.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 7.484e-06/0.8036, allocations: 0 / 0.5973 GB, free: 13.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.007373/0.8109, allocations: 3.316 MB / 0.6005 GB, free: 9.812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.8111, allocations: 178.6 kB / 0.6007 GB, free: 9.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007347/0.8185, allocations: 3.849 MB / 0.6044 GB, free: 5.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003244/0.8188, allocations: 45.7 kB / 0.6045 GB, free: 5.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003023/0.8219, allocations: 3.225 MB / 0.6076 GB, free: 2.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001199/0.8231, allocations: 0.6014 MB / 0.6082 GB, free: 1.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.8234, allocations: 131 kB / 0.6083 GB, free: 1.785 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005178/0.8239, allocations: 0.579 MB / 0.6089 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0033/0.8272, allocations: 1.942 MB / 0.6108 GB, free: 15.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006564/0.8338, allocations: 6.129 MB / 0.6168 GB, free: 7.105 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00591/0.8397, allocations: 3.454 MB / 0.6202 GB, free: 3.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/0.8399, allocations: 44 kB / 0.6202 GB, free: 3.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01655/0.8564, allocations: 7.704 MB / 0.6277 GB, free: 11.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.8567, allocations: 68.94 kB / 0.6278 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003639/0.8571, allocations: 148.2 kB / 0.6279 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.8574, allocations: 216 kB / 0.6281 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005004/0.8625, allocations: 1.474 MB / 0.6296 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003552/0.8628, allocations: 290.8 kB / 0.6299 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006748/0.8696, allocations: 0.9214 MB / 0.6308 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/0.8711, allocations: 406.6 kB / 0.6311 GB, free: 8.484 MB / 478.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.006697/0.8778, allocations: 2.222 MB / 0.6333 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008545/0.8786, allocations: 315.9 kB / 0.6336 GB, free: 5.938 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.88, allocations: 407.4 kB / 0.634 GB, free: 5.535 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.462e-05/0.8801, allocations: 38.56 kB / 0.634 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/0.8801, allocations: 0 / 0.634 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.8801, allocations: 7.984 kB / 0.634 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.8958, allocations: 5.535 MB / 0.6395 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/0.8959, allocations: 5.75 kB / 0.6395 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.8972, allocations: 207.7 kB / 0.6397 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.925e-05/0.8972, allocations: 8.656 kB / 0.6397 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/0.8974, allocations: 32.3 kB / 0.6397 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.744e-05/0.8975, allocations: 15.94 kB / 0.6397 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/0.8975, allocations: 12 kB / 0.6397 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/0.9024, allocations: 2.524 MB / 0.6422 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/0.9043, allocations: 388.6 kB / 0.6426 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/0.9055, allocations: 24 kB / 0.6426 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.9072, allocations: 64.81 kB / 0.6426 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.9074, allocations: 80.36 kB / 0.6427 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.9075, allocations: 44 kB / 0.6428 GB, free: 12.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006045/0.9136, allocations: 2.342 MB / 0.645 GB, free: 10.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.9136, allocations: 4 kB / 0.645 GB, free: 10.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007457/0.9211, allocations: 1.102 MB / 0.6461 GB, free: 8.949 MB / 494.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.0007107/0.9218, allocations: 154.4 kB / 0.6463 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008885/0.9307, allocations: 4.405 MB / 0.6506 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.9307, allocations: 320 / 0.6506 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.9323, allocations: 0.951 MB / 0.6515 GB, free: 3.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/0.9362, allocations: 354.8 kB / 0.6518 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/0.9599, allocations: 10.53 MB / 0.6621 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004304/0.9642, allocations: 3.207 MB / 0.6653 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.9653, allocations: 279.4 kB / 0.6655 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of SimCode: time 9.11e-07/0.9654, allocations: 4 kB / 0.6655 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of Templates: time 0.1049/1.07, allocations: 52.31 MB / 0.7166 GB, free: 0.7812 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2CalcHelperMain.o] Error 1