Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.3_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.001681/0.001681, allocations: 96.33 kB / 16.67 MB, free: 6.105 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.001813/0.001813, allocations: 179.3 kB / 17.58 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 223.8 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2721/0.2721, allocations: 43.6 MB / 315.6 MB, free: 412 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005301/0.0005302, allocations: 11.78 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 58.87 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.03203/0.1921, allocations: 32.92 MB / 477 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02351/0.2157, allocations: 7.659 MB / 484.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007746/0.2235, allocations: 143.6 kB / 484.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2247, allocations: 350.3 kB / 485.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004251/0.229, allocations: 1.526 MB / 486.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.2303, allocations: 0.5187 MB / 487.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006424/0.2367, allocations: 4.991 MB / 492.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004581/0.2413, allocations: 3.005 MB / 495.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.2431, allocations: 0.9062 MB / 496.1 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.2453, allocations: 1.612 MB / 497.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003517/0.2457, allocations: 112 kB / 497.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.2478, allocations: 1.057 MB / 498.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.2495, allocations: 1.398 MB / 0.4886 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.2514, allocations: 1.608 MB / 0.4901 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005471/0.2568, allocations: 4.38 MB / 0.4944 GB, free: 6.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2569, allocations: 4 kB / 0.4944 GB, free: 6.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.2569, allocations: 0 / 0.4944 GB, free: 6.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001108/0.257, allocations: 3.938 kB / 0.4944 GB, free: 6.699 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: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.006839/0.2639, allocations: 3.175 MB / 0.4975 GB, free: 3.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.2639, allocations: 12.03 kB / 0.4975 GB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01641/0.2803, allocations: 2.438 MB / 0.4999 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005857/0.2862, allocations: 2.291 MB / 0.5021 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.2864, allocations: 172.7 kB / 0.5023 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005819/0.287, allocations: 227.7 kB / 0.5025 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.2999, allocations: 7.91 MB / 0.5102 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.3001, allocations: 35.66 kB / 0.5103 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/0.3004, allocations: 115.9 kB / 0.5104 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002849/0.3033, allocations: 1.66 MB / 0.512 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/0.3161, allocations: 6.774 MB / 0.5186 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3793/0.6954, allocations: 31.56 MB / 0.5494 GB, free: 66.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00529/0.7008, allocations: 2.344 MB / 0.5517 GB, free: 65.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.7026, allocations: 1.184 MB / 0.5529 GB, free: 65.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/0.703, allocations: 324.2 kB / 0.5532 GB, free: 65.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.703, allocations: 50.14 kB / 0.5532 GB, free: 65.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 3.777e-06/0.703, allocations: 2 kB / 0.5532 GB, free: 65.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=141): time 0.03687/0.7399, allocations: 12.32 MB / 0.5653 GB, free: 60.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.74, allocations: 194.9 kB / 0.5655 GB, free: 60.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005468/0.7455, allocations: 3.737 MB / 0.5691 GB, free: 58.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003681/0.7459, allocations: 45.92 kB / 0.5692 GB, free: 58.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.7475, allocations: 2.673 MB / 0.5718 GB, free: 56.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006097/0.7482, allocations: 0.5536 MB / 0.5723 GB, free: 55.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004797/0.7486, allocations: 480.5 kB / 0.5728 GB, free: 55.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.7487, allocations: 303.3 kB / 0.5731 GB, free: 55.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/0.7513, allocations: 1.803 MB / 0.5748 GB, free: 54.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003744/0.7551, allocations: 5.263 MB / 0.58 GB, free: 47.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008672/0.7637, allocations: 7.616 MB / 0.5874 GB, free: 37.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/0.764, allocations: 36 kB / 0.5874 GB, free: 37.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01269/0.7767, allocations: 7.286 MB / 0.5945 GB, free: 30.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.414e-05/0.7768, allocations: 56 kB / 0.5946 GB, free: 30.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.394e-05/0.7769, allocations: 128.1 kB / 0.5947 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.7784, allocations: 0.6524 MB / 0.5954 GB, free: 29.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/0.7817, allocations: 1.267 MB / 0.5966 GB, free: 28.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.7854, allocations: 3.771 MB / 0.6003 GB, free: 24.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004479/0.7899, allocations: 307.5 kB / 0.6006 GB, free: 24.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004361/0.7904, allocations: 343.9 kB / 0.6009 GB, free: 24 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 27 (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 (684): * Single equations (assignments): 680 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002705/0.7931, allocations: 1.779 MB / 0.6026 GB, free: 22.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/0.7937, allocations: 308.1 kB / 0.6029 GB, free: 21.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.7975, allocations: 2.223 MB / 0.6051 GB, free: 19.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/0.7975, allocations: 24.3 kB / 0.6051 GB, free: 19.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.7975, allocations: 4 kB / 0.6051 GB, free: 19.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.7976, allocations: 7.969 kB / 0.6051 GB, free: 19.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009491/0.8071, allocations: 5.988 MB / 0.611 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.8071, allocations: 384 / 0.611 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.8081, allocations: 219.7 kB / 0.6112 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.8094, allocations: 492.2 kB / 0.6117 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.584e-05/0.8095, allocations: 31.92 kB / 0.6117 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/0.8129, allocations: 3.199 MB / 0.6148 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.8129, allocations: 7.938 kB / 0.6148 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005989/0.8189, allocations: 4.349 MB / 0.6191 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.8204, allocations: 0.5554 MB / 0.6196 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.8207, allocations: 24 kB / 0.6196 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.8219, allocations: 80.83 kB / 0.6197 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.8221, allocations: 72.5 kB / 0.6198 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/0.8222, allocations: 40.92 kB / 0.6198 GB, free: 4.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003173/0.8254, allocations: 2.333 MB / 0.6221 GB, free: 2.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.8254, allocations: 4 kB / 0.6221 GB, free: 2.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004571/0.83, allocations: 0.8435 MB / 0.6229 GB, free: 1.191 MB / 414.1 MB 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 (112): * Single equations (assignments): 108 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004033/0.8304, allocations: 154.8 kB / 0.6231 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007958/0.8384, allocations: 4.29 MB / 0.6273 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.8384, allocations: 4 kB / 0.6273 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.8403, allocations: 1.182 MB / 0.6284 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/0.8434, allocations: 352.2 kB / 0.6288 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/0.8614, allocations: 9.482 MB / 0.638 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003397/0.8649, allocations: 2.742 MB / 0.6407 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.8662, allocations: 263.4 kB / 0.641 GB, free: 14.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.8662, allocations: 0 / 0.641 GB, free: 14.68 MB / 446.1 MB Notification: Performance of Templates: time 0.1195/0.9857, allocations: 63 MB / 0.7025 GB, free: 15.65 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.DistanceCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.DistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.DistanceCalcHelperMain.o] Error 1