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.0008183/0.0008184, allocations: 95.36 kB / 16.33 MB, free: 5.941 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.0008174/0.0008174, allocations: 181.8 kB / 17.22 MB, free: 5.883 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.666/1.666, allocations: 205.4 MB / 223.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3857/0.3857, allocations: 43.55 MB / 315.2 MB, free: 8.855 MB / 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.0005178/0.0005178, allocations: 22.97 kB / 384.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1359, allocations: 58.85 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.3194/0.4553, allocations: 30.66 MB / 474.1 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.475, allocations: 7.264 MB / 481.3 MB, free: 28.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008067/0.4831, allocations: 145.2 kB / 481.5 MB, free: 28.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0058/0.489, allocations: 1.552 MB / 483 MB, free: 27.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.5032, allocations: 4.822 MB / 487.8 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.5058, allocations: 492.3 kB / 488.3 MB, free: 25.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02763/0.5334, allocations: 18.04 MB / 0.4945 GB, free: 21.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005757/0.5392, allocations: 2.665 MB / 0.4971 GB, free: 20.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.5415, allocations: 1.001 MB / 0.4981 GB, free: 19.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.544, allocations: 1.6 MB / 0.4996 GB, free: 19.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004146/0.5444, allocations: 112.8 kB / 0.4998 GB, free: 19.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.5464, allocations: 0.9025 MB / 0.5006 GB, free: 18.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.5479, allocations: 1.371 MB / 0.502 GB, free: 18.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007413/0.5487, allocations: 0.6634 MB / 0.5026 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003776/0.5525, allocations: 4.368 MB / 0.5069 GB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.5525, allocations: 7.938 kB / 0.5069 GB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5525, allocations: 0 / 0.5069 GB, free: 14.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.249e-05/0.5526, allocations: 0 / 0.5069 GB, free: 14.72 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.005301/0.5579, allocations: 3.228 MB / 0.51 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5579, allocations: 16.03 kB / 0.5101 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/0.5702, allocations: 2.433 MB / 0.5124 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005115/0.5753, allocations: 2.246 MB / 0.5146 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.776e-05/0.5755, allocations: 176.3 kB / 0.5148 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004046/0.5759, allocations: 223.8 kB / 0.515 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.5869, allocations: 7.887 MB / 0.5227 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.5871, allocations: 48.39 kB / 0.5228 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/0.5874, allocations: 111.9 kB / 0.5229 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002662/0.5901, allocations: 1.664 MB / 0.5245 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.6034, allocations: 6.731 MB / 0.5311 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03922/0.6427, allocations: 31.56 MB / 0.5619 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/0.6474, allocations: 2.346 MB / 0.5642 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.649, allocations: 1.174 MB / 0.5653 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003905/0.6494, allocations: 331.7 kB / 0.5656 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.6495, allocations: 47.06 kB / 0.5657 GB, free: 1.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.898e-06/0.6495, allocations: 0 / 0.5657 GB, free: 1.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=141): time 0.03477/0.6843, allocations: 12.32 MB / 0.5777 GB, free: 4.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.6844, allocations: 196.5 kB / 0.5779 GB, free: 4.445 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005664/0.6901, allocations: 3.718 MB / 0.5815 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003381/0.6905, allocations: 49.69 kB / 0.5816 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/0.6927, allocations: 2.67 MB / 0.5842 GB, free: 13.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008732/0.6936, allocations: 0.5633 MB / 0.5847 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.6938, allocations: 108 kB / 0.5848 GB, free: 13.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000371/0.6942, allocations: 0.5375 MB / 0.5854 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003273/0.6975, allocations: 1.783 MB / 0.5871 GB, free: 10.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005662/0.7031, allocations: 5.229 MB / 0.5922 GB, free: 3.996 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004589/0.7078, allocations: 2.994 MB / 0.5951 GB, free: 1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-05/0.7079, allocations: 36 kB / 0.5952 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01401/0.7219, allocations: 7.23 MB / 0.6022 GB, free: 9.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.509e-05/0.722, allocations: 63.28 kB / 0.6023 GB, free: 9.672 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/0.7222, allocations: 120 kB / 0.6024 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.7237, allocations: 0.6689 MB / 0.6031 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004157/0.7278, allocations: 1.267 MB / 0.6043 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/0.7326, allocations: 3.783 MB / 0.608 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/0.7369, allocations: 299.9 kB / 0.6083 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009812/0.7379, allocations: 343.9 kB / 0.6086 GB, free: 3.059 MB / 478.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 (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.004312/0.7423, allocations: 1.786 MB / 0.6103 GB, free: 1.258 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009379/0.7432, allocations: 308 kB / 0.6106 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0046/0.7478, allocations: 2.227 MB / 0.6128 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/0.7479, allocations: 16 kB / 0.6128 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.7479, allocations: 4 kB / 0.6128 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.7479, allocations: 3.984 kB / 0.6128 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.7601, allocations: 5.979 MB / 0.6187 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/0.7602, allocations: 0 / 0.6187 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.7612, allocations: 223.7 kB / 0.6189 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.7625, allocations: 484.2 kB / 0.6194 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.7626, allocations: 24 kB / 0.6194 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.7665, allocations: 3.209 MB / 0.6225 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.7666, allocations: 7.891 kB / 0.6225 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006735/0.7733, allocations: 4.331 MB / 0.6267 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2803/1.054, allocations: 0.5562 MB / 0.6273 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006079/1.054, allocations: 25.73 kB / 0.6273 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.055, allocations: 83.7 kB / 0.6274 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.056, allocations: 71.77 kB / 0.6275 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.056, allocations: 39.5 kB / 0.6275 GB, free: 136.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00356/1.059, allocations: 2.322 MB / 0.6298 GB, free: 136 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.059, allocations: 3.312 kB / 0.6298 GB, free: 136 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004349/1.064, allocations: 0.8285 MB / 0.6306 GB, free: 136 MB / 494.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 (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.0003496/1.064, allocations: 145.6 kB / 0.6307 GB, free: 135.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006317/1.07, allocations: 4.268 MB / 0.6349 GB, free: 135.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.07, allocations: 0 / 0.6349 GB, free: 135.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/1.072, allocations: 1.184 MB / 0.636 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.074, allocations: 348.2 kB / 0.6364 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.087, allocations: 9.125 MB / 0.6453 GB, free: 131.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002512/1.089, allocations: 2.75 MB / 0.648 GB, free: 130.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/1.091, allocations: 264.8 kB / 0.6482 GB, free: 130.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/1.091, allocations: 2.969 kB / 0.6482 GB, free: 130.2 MB / 494.1 MB Notification: Performance of Templates: time 0.108/1.199, allocations: 63.16 MB / 0.7099 GB, free: 94.55 MB / 494.1 MB 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++ 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_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