Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Distance2,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|distance1.distance|distance2.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2") translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|distance1.distance|distance2.distance",fileNamePrefix="ModelicaTest_3.2.3_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.00128/0.00128, allocations: 92.27 kB / 16.67 MB, free: 6.586 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.001735/0.001735, allocations: 185.9 kB / 17.58 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.264/0.264, allocations: 43.6 MB / 315.6 MB, free: 424 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.0005813/0.0005813, allocations: 22.34 kB / 385.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1456, allocations: 58.86 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance2): time 0.04116/0.1868, allocations: 40.36 MB / 484.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02793/0.2148, allocations: 8.909 MB / 493.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01094/0.2258, allocations: 171.6 kB / 493.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.228, allocations: 374.2 kB / 493.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007055/0.2351, allocations: 1.627 MB / 495.5 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.2372, allocations: 0.5304 MB / 496.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008839/0.2461, allocations: 5.393 MB / 0.4897 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007443/0.2536, allocations: 3.397 MB / 0.493 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.2565, allocations: 0.9723 MB / 0.494 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003629/0.2602, allocations: 1.763 MB / 0.4957 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001144/0.2613, allocations: 128 kB / 0.4958 GB, free: 5.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/0.2648, allocations: 1.076 MB / 0.4969 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002826/0.2677, allocations: 1.554 MB / 0.4984 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004477/0.2722, allocations: 1.783 MB / 0.5001 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008935/0.2811, allocations: 4.871 MB / 0.5049 GB, free: 11.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2812, allocations: 0 / 0.5049 GB, free: 11.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.2812, allocations: 0 / 0.5049 GB, free: 11.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003755/0.2816, allocations: 0 / 0.5049 GB, free: 11.95 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01456/0.2962, allocations: 3.454 MB / 0.5082 GB, free: 8.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.086e-05/0.2962, allocations: 8.031 kB / 0.5083 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/0.3151, allocations: 2.507 MB / 0.5107 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007386/0.3226, allocations: 2.412 MB / 0.5131 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.3229, allocations: 197.3 kB / 0.5132 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/0.3243, allocations: 267.6 kB / 0.5135 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.343, allocations: 8.764 MB / 0.5221 GB, free: 9.566 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.3432, allocations: 39.64 kB / 0.5221 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004066/0.3436, allocations: 131.8 kB / 0.5222 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003577/0.3472, allocations: 1.836 MB / 0.524 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/0.3645, allocations: 7.48 MB / 0.5313 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4023/0.7669, allocations: 34.33 MB / 0.5648 GB, free: 62.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005448/0.7724, allocations: 2.598 MB / 0.5674 GB, free: 60.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.7741, allocations: 1.186 MB / 0.5685 GB, free: 60.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004451/0.7746, allocations: 323.1 kB / 0.5689 GB, free: 59.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.7747, allocations: 50.97 kB / 0.5689 GB, free: 59.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=119): time 7.254e-06/0.7747, allocations: 4 kB / 0.5689 GB, free: 59.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.02487/0.7995, allocations: 9.792 MB / 0.5785 GB, free: 54.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.7997, allocations: 196.5 kB / 0.5787 GB, free: 53.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005213/0.8049, allocations: 3.964 MB / 0.5825 GB, free: 49.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002779/0.8052, allocations: 41.7 kB / 0.5826 GB, free: 49.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.8067, allocations: 2.951 MB / 0.5854 GB, free: 46.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005057/0.8072, allocations: 0.5465 MB / 0.586 GB, free: 46.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004867/0.8077, allocations: 0.4991 MB / 0.5865 GB, free: 45.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.8078, allocations: 305.1 kB / 0.5868 GB, free: 45.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.8099, allocations: 1.803 MB / 0.5885 GB, free: 43.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003852/0.8138, allocations: 5.632 MB / 0.594 GB, free: 36.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00752/0.8214, allocations: 8.046 MB / 0.6019 GB, free: 26.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.692e-05/0.8215, allocations: 40 kB / 0.6019 GB, free: 26.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01346/0.835, allocations: 7.591 MB / 0.6093 GB, free: 18.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.8351, allocations: 72.05 kB / 0.6094 GB, free: 18.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/0.8353, allocations: 136 kB / 0.6095 GB, free: 18.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/0.837, allocations: 0.6716 MB / 0.6102 GB, free: 17.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/0.8414, allocations: 1.357 MB / 0.6115 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/0.8454, allocations: 3.803 MB / 0.6152 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004751/0.8502, allocations: 324.5 kB / 0.6155 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008738/0.8511, allocations: 373.6 kB / 0.6159 GB, free: 11.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 31 (LessEqualThreshold1.y,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 (735): * Single equations (assignments): 731 * 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.003912/0.855, allocations: 1.943 MB / 0.6178 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008618/0.8559, allocations: 319.8 kB / 0.6181 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.86, allocations: 2.069 MB / 0.6201 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/0.8601, allocations: 16 kB / 0.6201 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/0.8601, allocations: 4 kB / 0.6201 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.8601, allocations: 7.969 kB / 0.6201 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.8731, allocations: 5.825 MB / 0.6258 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.8732, allocations: 4 kB / 0.6258 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/0.874, allocations: 187.7 kB / 0.626 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.8753, allocations: 484.2 kB / 0.6265 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.8754, allocations: 32.14 kB / 0.6265 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004226/0.8797, allocations: 3.211 MB / 0.6296 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.8797, allocations: 7.984 kB / 0.6296 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00754/0.8873, allocations: 3.99 MB / 0.6335 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/0.8891, allocations: 0.5514 MB / 0.6341 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009259/0.89, allocations: 16 kB / 0.6341 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.8918, allocations: 79.8 kB / 0.6342 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.892, allocations: 69.23 kB / 0.6342 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.8922, allocations: 45.08 kB / 0.6343 GB, free: 8.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005882/0.898, allocations: 2.472 MB / 0.6367 GB, free: 6.168 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8981, allocations: 0 / 0.6367 GB, free: 6.168 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007042/0.9051, allocations: 0.8738 MB / 0.6375 GB, free: 5.297 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (102): * Single equations (assignments): 98 * 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.0005904/0.9057, allocations: 152 kB / 0.6377 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009837/0.9156, allocations: 4.292 MB / 0.6419 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.9156, allocations: 0 / 0.6419 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.9176, allocations: 1.073 MB / 0.6429 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004477/0.9221, allocations: 371.4 kB / 0.6433 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/0.9451, allocations: 10.09 MB / 0.6531 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005539/0.9507, allocations: 2.94 MB / 0.656 GB, free: 2.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.9518, allocations: 275.4 kB / 0.6563 GB, free: 2.043 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.9518, allocations: 0 / 0.6563 GB, free: 2.043 MB / 446.1 MB Notification: Performance of Templates: time 0.422/1.374, allocations: 66.76 MB / 0.7215 GB, free: 163.7 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2.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.Distance2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance2CalcHelperMain.o] Error 1