Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.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.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008061/0.0008062, allocations: 95.92 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008857/0.0008858, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2424/0.2424, allocations: 45.91 MB / 344.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 11.94 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1706, allocations: 63.46 MB / 482.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.03111/0.2018, allocations: 30.33 MB / 0.5004 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3926/0.5944, allocations: 7.239 MB / 0.5075 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007767/0.6022, allocations: 139.3 kB / 0.5076 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007331/0.6096, allocations: 1.546 MB / 0.5092 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01913/0.6288, allocations: 4.773 MB / 0.5138 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.6318, allocations: 489.1 kB / 0.5143 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0459/0.6777, allocations: 31.59 MB / 0.5451 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005196/0.6829, allocations: 2.62 MB / 0.5477 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.6853, allocations: 0.9566 MB / 0.5486 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.6883, allocations: 1.522 MB / 0.5501 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006046/0.6889, allocations: 104 kB / 0.5502 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.6912, allocations: 0.8969 MB / 0.5511 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.6931, allocations: 1.314 MB / 0.5524 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008956/0.694, allocations: 0.6361 MB / 0.553 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005677/0.6997, allocations: 4.194 MB / 0.5571 GB, free: 4.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6997, allocations: 0 / 0.5571 GB, free: 4.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.6997, allocations: 0 / 0.5571 GB, free: 4.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001753/0.6999, allocations: 3.938 kB / 0.5571 GB, free: 4.977 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.008391/0.7083, allocations: 3.13 MB / 0.5601 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.7084, allocations: 12.03 kB / 0.5602 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/0.7216, allocations: 2.424 MB / 0.5625 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005706/0.7274, allocations: 2.137 MB / 0.5646 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.7276, allocations: 164.5 kB / 0.5648 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007066/0.7283, allocations: 222.1 kB / 0.565 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.7425, allocations: 7.586 MB / 0.5724 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-05/0.7426, allocations: 35.59 kB / 0.5724 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.743, allocations: 116.7 kB / 0.5725 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002689/0.7456, allocations: 1.597 MB / 0.5741 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.7588, allocations: 6.461 MB / 0.5804 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04058/0.7995, allocations: 30.66 MB / 0.6103 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004723/0.8042, allocations: 2.241 MB / 0.6125 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.8059, allocations: 1.129 MB / 0.6136 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003999/0.8063, allocations: 318.5 kB / 0.6139 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.8064, allocations: 43 kB / 0.614 GB, free: 13.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 3.586e-06/0.8064, allocations: 0 / 0.614 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=132): time 0.03434/0.8407, allocations: 11.9 MB / 0.6256 GB, free: 1.387 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.8409, allocations: 192.6 kB / 0.6258 GB, free: 1.156 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005495/0.8464, allocations: 3.642 MB / 0.6293 GB, free: 13.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002536/0.8467, allocations: 41.7 kB / 0.6294 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002158/0.8489, allocations: 2.584 MB / 0.6319 GB, free: 10.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006916/0.8496, allocations: 0.5335 MB / 0.6324 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.8498, allocations: 107.9 kB / 0.6325 GB, free: 10.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003862/0.8502, allocations: 0.537 MB / 0.633 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/0.853, allocations: 1.716 MB / 0.6347 GB, free: 8.008 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005709/0.8588, allocations: 5.091 MB / 0.6397 GB, free: 1.223 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004638/0.8634, allocations: 2.902 MB / 0.6425 GB, free: 14.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.749e-05/0.8635, allocations: 32 kB / 0.6426 GB, free: 14.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01428/0.8778, allocations: 7.047 MB / 0.6494 GB, free: 7.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.554e-05/0.8779, allocations: 57.59 kB / 0.6495 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/0.8781, allocations: 120 kB / 0.6496 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.8797, allocations: 0.6671 MB / 0.6503 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/0.8837, allocations: 1.224 MB / 0.6515 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/0.8887, allocations: 3.761 MB / 0.6551 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004128/0.8929, allocations: 297 kB / 0.6554 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006755/0.8936, allocations: 331.9 kB / 0.6557 GB, free: 0.668 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.003341/0.8969, allocations: 1.74 MB / 0.6574 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000681/0.8976, allocations: 300.1 kB / 0.6577 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.9015, allocations: 2.084 MB / 0.6598 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/0.9015, allocations: 16 kB / 0.6598 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.9015, allocations: 7.953 kB / 0.6598 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.9015, allocations: 7.969 kB / 0.6598 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.9122, allocations: 5.723 MB / 0.6654 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.9123, allocations: 0 / 0.6654 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009292/0.9132, allocations: 195.7 kB / 0.6656 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.9145, allocations: 484.3 kB / 0.666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.9147, allocations: 31.92 kB / 0.666 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004101/0.9188, allocations: 3.213 MB / 0.6692 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9188, allocations: 0 / 0.6692 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006631/0.9254, allocations: 4.155 MB / 0.6732 GB, free: 14.48 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.9267, allocations: 379.1 kB / 0.6736 GB, free: 14.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000836/0.9276, allocations: 24 kB / 0.6736 GB, free: 14.06 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.9291, allocations: 75.89 kB / 0.6737 GB, free: 13.99 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.9293, allocations: 68.52 kB / 0.6738 GB, free: 13.92 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.9294, allocations: 39.36 kB / 0.6738 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004935/0.9344, allocations: 2.265 MB / 0.676 GB, free: 11.63 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9344, allocations: 8.062 kB / 0.676 GB, free: 11.62 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005277/0.9397, allocations: 0.8047 MB / 0.6768 GB, free: 10.82 MB / 0.5138 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.0004908/0.9402, allocations: 151.3 kB / 0.677 GB, free: 10.66 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.007617/0.9478, allocations: 4.125 MB / 0.681 GB, free: 6.551 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.9478, allocations: 0 / 0.681 GB, free: 6.551 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.9496, allocations: 1.123 MB / 0.6821 GB, free: 5.414 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/0.9527, allocations: 346.9 kB / 0.6824 GB, free: 5.074 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/0.9704, allocations: 8.813 MB / 0.691 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/0.9733, allocations: 2.676 MB / 0.6936 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009748/0.9743, allocations: 247.4 kB / 0.6939 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of SimCode: time 1.473e-06/0.9743, allocations: 1.641 kB / 0.6939 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of Templates: time 0.4136/1.388, allocations: 61.03 MB / 0.7535 GB, free: 177 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.DistanceCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.DistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.DistanceCalcHelperMain.o] Error 1