Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.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.Distance2,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|distance1.distance|distance2.distance",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2") translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|distance1.distance|distance2.distance",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 81.97 kB / 17.63 MB, free: 6.137 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.002024/0.002024, allocations: 184.7 kB / 18.52 MB, free: 5.297 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.562/1.562, allocations: 223.2 MB / 242.5 MB, free: 228 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.2594/0.2594, allocations: 44.22 MB / 337.9 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004381, allocations: 11.94 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 61.91 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance2): time 0.03708/0.2062, allocations: 36.89 MB / 0.4971 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02209/0.2283, allocations: 8.384 MB / 0.5053 GB, free: 344 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00941/0.2377, allocations: 167.6 kB / 0.5055 GB, free: 176 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3822/0.6199, allocations: 1.903 MB / 0.5073 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02461/0.6446, allocations: 5.8 MB / 0.513 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.6479, allocations: 0.4931 MB / 0.5135 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04213/0.6901, allocations: 31.73 MB / 0.5445 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005305/0.6954, allocations: 2.964 MB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.6978, allocations: 1.002 MB / 0.5483 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.7005, allocations: 1.609 MB / 0.5499 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005702/0.7011, allocations: 116 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.7033, allocations: 0.9167 MB / 0.5509 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001726/0.705, allocations: 1.418 MB / 0.5523 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009665/0.706, allocations: 0.6889 MB / 0.553 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006154/0.7122, allocations: 4.518 MB / 0.5574 GB, free: 4.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.7122, allocations: 0 / 0.5574 GB, free: 4.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.087e-06/0.7123, allocations: 0 / 0.5574 GB, free: 4.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002452/0.7125, allocations: 4 kB / 0.5574 GB, free: 4.16 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: 1269 * Number of variables: 1269 Notification: Performance of Generate backend data structure: time 0.008571/0.7211, allocations: 3.311 MB / 0.5606 GB, free: 1.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.7212, allocations: 10.31 kB / 0.5606 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/0.7347, allocations: 2.463 MB / 0.563 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006009/0.7408, allocations: 2.249 MB / 0.5652 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.7409, allocations: 185.3 kB / 0.5654 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000659/0.7416, allocations: 242.2 kB / 0.5656 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.7551, allocations: 8.148 MB / 0.5736 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.7553, allocations: 44.77 kB / 0.5736 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003393/0.7557, allocations: 120.5 kB / 0.5738 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00269/0.7584, allocations: 1.709 MB / 0.5754 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.7713, allocations: 6.873 MB / 0.5821 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05624/0.8276, allocations: 32.51 MB / 0.6139 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006936/0.8346, allocations: 2.473 MB / 0.6163 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/0.8367, allocations: 1.123 MB / 0.6174 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.8372, allocations: 318.2 kB / 0.6177 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/0.8373, allocations: 54.5 kB / 0.6178 GB, free: 10.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=104): time 4.388e-06/0.8373, allocations: 4 kB / 0.6178 GB, free: 10.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=118): time 0.03258/0.8699, allocations: 9.218 MB / 0.6268 GB, free: 1.453 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.8701, allocations: 196.5 kB / 0.6269 GB, free: 1.219 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008835/0.8789, allocations: 3.792 MB / 0.6307 GB, free: 13.44 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003897/0.8794, allocations: 41.64 kB / 0.6307 GB, free: 13.39 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003598/0.883, allocations: 2.785 MB / 0.6334 GB, free: 10.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009482/0.8839, allocations: 0.4931 MB / 0.6339 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/0.8843, allocations: 112 kB / 0.634 GB, free: 10.03 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0005713/0.8849, allocations: 0.5376 MB / 0.6345 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/0.8886, allocations: 1.682 MB / 0.6362 GB, free: 7.797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007667/0.8963, allocations: 5.311 MB / 0.6414 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00651/0.9029, allocations: 2.932 MB / 0.6442 GB, free: 13.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/0.903, allocations: 39.95 kB / 0.6443 GB, free: 13.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.02199/0.925, allocations: 7.14 MB / 0.6512 GB, free: 6.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.9252, allocations: 64.08 kB / 0.6513 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002548/0.9255, allocations: 136 kB / 0.6514 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.9278, allocations: 0.6659 MB / 0.6521 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006159/0.934, allocations: 1.267 MB / 0.6533 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007428/0.9415, allocations: 3.795 MB / 0.657 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007365/0.9489, allocations: 303.4 kB / 0.6573 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/0.9502, allocations: 351.9 kB / 0.6576 GB, free: 15.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 586 * Number of states: 0 () * Number of discrete variables: 35 (LessEqualThreshold1.y,distance2.arrow.arrowLine.twoHeadedArrow,distance2.arrow.headAtOrigin,distance1.arrow.arrowLine.twoHeadedArrow,distance1.arrow.headAtOrigin,distance2.arrowColor[3],distance2.arrowColor[2],distance2.arrowColor[1],distance1.arrowColor[3],distance1.arrowColor[2],distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (691): * Single equations (assignments): 687 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005406/0.9556, allocations: 1.838 MB / 0.6594 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/0.9567, allocations: 311.9 kB / 0.6597 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/0.962, allocations: 1.841 MB / 0.6615 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/0.9621, allocations: 16 kB / 0.6615 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.9621, allocations: 0 / 0.6615 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/0.9621, allocations: 7.984 kB / 0.6615 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.9776, allocations: 5.35 MB / 0.6668 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.9777, allocations: 0 / 0.6668 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.9785, allocations: 159.8 kB / 0.6669 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.9798, allocations: 492.2 kB / 0.6674 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/0.9799, allocations: 16 kB / 0.6674 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/0.9836, allocations: 3.213 MB / 0.6705 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9836, allocations: 4.031 kB / 0.6706 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005677/0.9893, allocations: 3.723 MB / 0.6742 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.9905, allocations: 376.8 kB / 0.6745 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/0.9907, allocations: 19.98 kB / 0.6746 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009192/0.9917, allocations: 59.92 kB / 0.6746 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.9919, allocations: 60.48 kB / 0.6747 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.267e-05/0.9919, allocations: 30.58 kB / 0.6747 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003847/0.9958, allocations: 2.347 MB / 0.677 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9958, allocations: 9.641 kB / 0.677 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005231/1.001, allocations: 0.8242 MB / 0.6778 GB, free: 10.96 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (Revolute1.phi,Revolute1.w) * Number of discrete variables: 1 (LessEqualThreshold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.0003931/1.001, allocations: 147.3 kB / 0.678 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007201/1.009, allocations: 4.007 MB / 0.6819 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.009, allocations: 0 / 0.6819 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/1.01, allocations: 1.002 MB / 0.6828 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/1.012, allocations: 373.2 kB / 0.6832 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/1.027, allocations: 9.07 MB / 0.6921 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003004/1.03, allocations: 2.794 MB / 0.6948 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009084/1.031, allocations: 251.4 kB / 0.695 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of SimCode: time 2.114e-06/1.031, allocations: 0 / 0.695 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of Templates: time 0.3989/1.43, allocations: 62.91 MB / 0.7565 GB, free: 151.9 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2.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.Distance2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance2CalcHelperMain.o] Error 1