Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance.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.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009574, allocations: 94.8 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.001173/0.001173, allocations: 183.6 kB / 18.52 MB, free: 5.168 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.56/1.56, allocations: 223.3 MB / 242.5 MB, free: 340 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.2507/0.2507, allocations: 44.22 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 12.75 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.02969/0.174, allocations: 30.32 MB / 0.4907 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.1924, allocations: 7.215 MB / 0.4978 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006948/0.1994, allocations: 139.6 kB / 0.4979 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004995/0.2045, allocations: 1.54 MB / 0.4994 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01537/0.2199, allocations: 4.798 MB / 0.5041 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.2224, allocations: 491.2 kB / 0.5046 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.4277/0.6501, allocations: 31.52 MB / 0.5353 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004379/0.6546, allocations: 2.612 MB / 0.5379 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.6566, allocations: 0.962 MB / 0.5388 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.6586, allocations: 1.529 MB / 0.5403 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003583/0.659, allocations: 104 kB / 0.5404 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.6608, allocations: 0.9048 MB / 0.5413 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.6621, allocations: 1.311 MB / 0.5426 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007777/0.6629, allocations: 0.6433 MB / 0.5432 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.6672, allocations: 4.2 MB / 0.5473 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.6672, allocations: 0 / 0.5473 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6672, allocations: 0 / 0.5473 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001156/0.6673, allocations: 0 / 0.5473 GB, free: 14.79 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1170 * Number of variables: 1170 Notification: Performance of Generate backend data structure: time 0.007687/0.675, allocations: 3.129 MB / 0.5504 GB, free: 11.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.6751, allocations: 8.031 kB / 0.5504 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/0.689, allocations: 2.417 MB / 0.5527 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006896/0.696, allocations: 2.168 MB / 0.5549 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.6962, allocations: 161.1 kB / 0.555 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008586/0.6971, allocations: 218.2 kB / 0.5552 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.7128, allocations: 7.588 MB / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002282/0.7131, allocations: 39.42 kB / 0.5627 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009696/0.7141, allocations: 110.9 kB / 0.5628 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002897/0.717, allocations: 1.598 MB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.73, allocations: 6.452 MB / 0.5706 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04405/0.7741, allocations: 30.68 MB / 0.6006 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004818/0.779, allocations: 2.235 MB / 0.6028 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.7808, allocations: 1.131 MB / 0.6039 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004313/0.7812, allocations: 315.5 kB / 0.6042 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.7813, allocations: 43 kB / 0.6042 GB, free: 10.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=108): time 3.386e-06/0.7813, allocations: 0 / 0.6042 GB, free: 10.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=132): time 0.03642/0.8177, allocations: 11.9 MB / 0.6158 GB, free: 14.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.8179, allocations: 195.8 kB / 0.616 GB, free: 13.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007286/0.8252, allocations: 3.648 MB / 0.6196 GB, free: 10.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.8255, allocations: 45.7 kB / 0.6196 GB, free: 10.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002443/0.8279, allocations: 2.584 MB / 0.6222 GB, free: 7.574 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007863/0.8287, allocations: 0.5276 MB / 0.6227 GB, free: 7.051 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/0.8292, allocations: 104 kB / 0.6228 GB, free: 6.949 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004985/0.8297, allocations: 0.5293 MB / 0.6233 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00319/0.8329, allocations: 1.72 MB / 0.625 GB, free: 4.688 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005389/0.8383, allocations: 5.094 MB / 0.6299 GB, free: 13.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004219/0.8425, allocations: 2.906 MB / 0.6328 GB, free: 11.15 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-05/0.8426, allocations: 35.95 kB / 0.6328 GB, free: 11.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01267/0.8553, allocations: 7.037 MB / 0.6397 GB, free: 4.117 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/0.8554, allocations: 56 kB / 0.6397 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/0.8556, allocations: 120 kB / 0.6399 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.8571, allocations: 0.6696 MB / 0.6405 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00453/0.8616, allocations: 1.224 MB / 0.6417 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.8675, allocations: 3.773 MB / 0.6454 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006097/0.8736, allocations: 291.4 kB / 0.6457 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/0.8752, allocations: 332 kB / 0.646 GB, free: 13.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 542 * Number of states: 0 () * Number of discrete variables: 29 (Distance1.arrow.arrowLine.twoHeadedArrow,Distance1.arrow.headAtOrigin,BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (662): * Single equations (assignments): 658 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005096/0.8804, allocations: 1.735 MB / 0.6477 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009557/0.8813, allocations: 308 kB / 0.648 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/0.8861, allocations: 2.08 MB / 0.65 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-05/0.8861, allocations: 20 kB / 0.65 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/0.8862, allocations: 4 kB / 0.65 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.8862, allocations: 3.984 kB / 0.65 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.9002, allocations: 5.726 MB / 0.6556 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.9003, allocations: 0 / 0.6556 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.9013, allocations: 192.1 kB / 0.6558 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.9027, allocations: 492.1 kB / 0.6563 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.9029, allocations: 28.05 kB / 0.6563 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004387/0.9073, allocations: 3.211 MB / 0.6594 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9073, allocations: 0 / 0.6594 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007258/0.9146, allocations: 4.155 MB / 0.6635 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/0.9161, allocations: 367 kB / 0.6639 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008492/0.9169, allocations: 28.06 kB / 0.6639 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.9186, allocations: 75.27 kB / 0.6639 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.9188, allocations: 68.5 kB / 0.664 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.9189, allocations: 43.94 kB / 0.6641 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005562/0.9245, allocations: 2.265 MB / 0.6663 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9245, allocations: 4 kB / 0.6663 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005527/0.93, allocations: 0.8046 MB / 0.6671 GB, free: 7.703 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (102): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004869/0.9305, allocations: 150.9 kB / 0.6672 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00823/0.9388, allocations: 4.128 MB / 0.6712 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.9388, allocations: 1.312 kB / 0.6712 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.9407, allocations: 1.125 MB / 0.6723 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/0.9438, allocations: 355.6 kB / 0.6727 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/0.9626, allocations: 8.791 MB / 0.6813 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005222/0.9678, allocations: 2.668 MB / 0.6839 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.969, allocations: 255.3 kB / 0.6841 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of SimCode: time 1.392e-06/0.969, allocations: 0 / 0.6841 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of Templates: time 0.402/1.371, allocations: 61.04 MB / 0.7437 GB, free: 166.2 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance.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.DistanceCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.DistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.DistanceCalcHelperMain.o] Error 1