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.001012/0.001012, allocations: 92.3 kB / 16.33 MB, free: 5.953 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.0011/0.0011, allocations: 185 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.693/1.693, allocations: 205.4 MB / 223.4 MB, free: 5.539 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.4477/0.4477, allocations: 43.55 MB / 315.2 MB, free: 9.102 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.0005368/0.0005371, allocations: 12 kB / 384.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1345, allocations: 58.86 MB / 443.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance2): time 0.3048/0.4393, allocations: 37.58 MB / 481 MB, free: 28.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02257/0.4619, allocations: 8.48 MB / 489.5 MB, free: 22.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008145/0.4701, allocations: 168.9 kB / 489.6 MB, free: 22.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005202/0.4754, allocations: 1.93 MB / 491.6 MB, free: 22.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0164/0.4918, allocations: 5.871 MB / 497.4 MB, free: 19.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.4944, allocations: 0.4991 MB / 497.9 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02883/0.5233, allocations: 18.36 MB / 0.5042 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005893/0.5292, allocations: 3.031 MB / 0.5072 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.5321, allocations: 1.085 MB / 0.5082 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00319/0.5353, allocations: 1.754 MB / 0.5099 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005588/0.5359, allocations: 126.8 kB / 0.51 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.538, allocations: 0.9145 MB / 0.5109 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.5393, allocations: 1.524 MB / 0.5124 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000665/0.54, allocations: 0.7376 MB / 0.5132 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.5438, allocations: 4.867 MB / 0.5179 GB, free: 4.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5438, allocations: 0 / 0.5179 GB, free: 4.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.5438, allocations: 0 / 0.5179 GB, free: 4.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.905e-05/0.5439, allocations: 4 kB / 0.5179 GB, free: 4.082 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.005758/0.5497, allocations: 3.505 MB / 0.5213 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5498, allocations: 12.02 kB / 0.5213 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/0.5629, allocations: 2.503 MB / 0.5238 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005708/0.5686, allocations: 2.379 MB / 0.5261 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.5688, allocations: 200.9 kB / 0.5263 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005343/0.5693, allocations: 251.9 kB / 0.5265 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/0.582, allocations: 8.749 MB / 0.5351 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.208e-05/0.5822, allocations: 43.59 kB / 0.5351 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/0.5825, allocations: 127.9 kB / 0.5352 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/0.5853, allocations: 1.833 MB / 0.537 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.5982, allocations: 7.448 MB / 0.5443 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04687/0.6451, allocations: 34.31 MB / 0.5778 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/0.6501, allocations: 2.585 MB / 0.5803 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.6517, allocations: 1.177 MB / 0.5815 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003797/0.6521, allocations: 327.8 kB / 0.5818 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.6521, allocations: 51.06 kB / 0.5819 GB, free: 0.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=119): time 5.751e-06/0.6521, allocations: 3.984 kB / 0.5819 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.02254/0.6747, allocations: 9.791 MB / 0.5914 GB, free: 6.668 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.6749, allocations: 196.6 kB / 0.5916 GB, free: 6.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/0.68, allocations: 3.94 MB / 0.5955 GB, free: 2.508 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.6802, allocations: 45.7 kB / 0.5955 GB, free: 2.457 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002049/0.6823, allocations: 2.944 MB / 0.5984 GB, free: 15.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005631/0.6828, allocations: 0.5442 MB / 0.5989 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.6831, allocations: 116 kB / 0.599 GB, free: 14.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003606/0.6834, allocations: 0.5578 MB / 0.5996 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/0.6861, allocations: 1.788 MB / 0.6013 GB, free: 12.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005292/0.6915, allocations: 5.609 MB / 0.6068 GB, free: 4.914 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/0.6958, allocations: 3.088 MB / 0.6098 GB, free: 1.824 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.315e-05/0.6959, allocations: 36 kB / 0.6098 GB, free: 1.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01252/0.7084, allocations: 7.546 MB / 0.6172 GB, free: 10.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/0.7086, allocations: 64 kB / 0.6173 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/0.7087, allocations: 136 kB / 0.6174 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.7102, allocations: 0.6885 MB / 0.6181 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003662/0.7139, allocations: 1.357 MB / 0.6194 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004652/0.7185, allocations: 3.803 MB / 0.6231 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/0.7225, allocations: 315.4 kB / 0.6234 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005507/0.7231, allocations: 368 kB / 0.6238 GB, free: 3.391 MB / 494.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 (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.003403/0.7265, allocations: 1.955 MB / 0.6257 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005947/0.7271, allocations: 323.8 kB / 0.626 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2703/0.9974, allocations: 2.057 MB / 0.628 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.03e-05/0.9975, allocations: 17.91 kB / 0.628 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.9976, allocations: 3.906 kB / 0.628 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.9976, allocations: 6.562 kB / 0.628 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/1.008, allocations: 5.791 MB / 0.6337 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.008, allocations: 7.953 kB / 0.6337 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/1.009, allocations: 188.3 kB / 0.6338 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/1.011, allocations: 490.4 kB / 0.6343 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-05/1.011, allocations: 24.31 kB / 0.6343 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/1.014, allocations: 3.217 MB / 0.6375 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.014, allocations: 2.938 kB / 0.6375 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/1.019, allocations: 3.982 MB / 0.6414 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.021, allocations: 0.5539 MB / 0.6419 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/1.021, allocations: 25.77 kB / 0.6419 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009337/1.022, allocations: 68.7 kB / 0.642 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.022, allocations: 67.06 kB / 0.6421 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/1.022, allocations: 42.52 kB / 0.6421 GB, free: 132.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003441/1.026, allocations: 2.451 MB / 0.6445 GB, free: 131.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.026, allocations: 0 / 0.6445 GB, free: 131.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004401/1.03, allocations: 0.8765 MB / 0.6454 GB, free: 131.4 MB / 494.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 (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.0003345/1.03, allocations: 151.6 kB / 0.6455 GB, free: 131.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006515/1.037, allocations: 4.267 MB / 0.6497 GB, free: 129.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.037, allocations: 0 / 0.6497 GB, free: 129.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/1.038, allocations: 1.068 MB / 0.6507 GB, free: 129.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/1.041, allocations: 368.2 kB / 0.6511 GB, free: 129.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.057, allocations: 9.7 MB / 0.6605 GB, free: 124.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003706/1.061, allocations: 2.937 MB / 0.6634 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.062, allocations: 276 kB / 0.6637 GB, free: 123.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/1.062, allocations: 0 / 0.6637 GB, free: 123.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1038/1.166, allocations: 66.95 MB / 0.729 GB, free: 73.68 MB / 494.1 MB 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++ 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.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