Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 91.94 kB / 16.33 MB, free: 5.938 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.0009/0.0009001, allocations: 187.9 kB / 17.22 MB, free: 5.863 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.657/1.657, allocations: 205.4 MB / 223.4 MB, free: 5.598 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.3616/0.3616, allocations: 43.56 MB / 315.2 MB, free: 8.801 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.0005413/0.0005413, allocations: 16 kB / 384.5 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1505, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.311/0.4615, allocations: 42.63 MB / 486 MB, free: 24.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02283/0.4844, allocations: 9.216 MB / 495.3 MB, free: 18.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009838/0.4943, allocations: 194.7 kB / 495.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006563/0.5009, allocations: 2.081 MB / 497.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01957/0.5205, allocations: 6.2 MB / 0.4919 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.5234, allocations: 0.5216 MB / 0.4924 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008526/0.5319, allocations: 4.871 MB / 0.4972 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006383/0.5383, allocations: 3.586 MB / 0.5007 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.5417, allocations: 1.352 MB / 0.502 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/0.5463, allocations: 2.14 MB / 0.5041 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007554/0.5471, allocations: 174.2 kB / 0.5043 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.5495, allocations: 0.7862 MB / 0.505 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002329/0.5519, allocations: 1.839 MB / 0.5068 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.5533, allocations: 0.9543 MB / 0.5078 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007261/0.5606, allocations: 6.124 MB / 0.5137 GB, free: 5.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.5606, allocations: 0 / 0.5137 GB, free: 5.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.5607, allocations: 4 kB / 0.5137 GB, free: 5.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002829/0.561, allocations: 5.312 kB / 0.5138 GB, free: 5.191 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01064/0.5716, allocations: 4.356 MB / 0.518 GB, free: 2.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.5717, allocations: 7.5 kB / 0.518 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.5827, allocations: 3.291 MB / 0.5212 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006546/0.5893, allocations: 2.41 MB / 0.5236 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.5895, allocations: 258.5 kB / 0.5238 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006201/0.5901, allocations: 347.7 kB / 0.5242 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/0.6113, allocations: 12.64 MB / 0.5365 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.883e-05/0.6114, allocations: 39.59 kB / 0.5365 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/0.6119, allocations: 155.8 kB / 0.5367 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004766/0.6167, allocations: 3.032 MB / 0.5396 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.021/0.6377, allocations: 11.28 MB / 0.5507 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06525/0.703, allocations: 42.31 MB / 0.592 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009257/0.7123, allocations: 4.707 MB / 0.5966 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/0.7157, allocations: 2.424 MB / 0.599 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.7168, allocations: 1.319 MB / 0.6002 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.7169, allocations: 56.55 kB / 0.6003 GB, free: 13.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 5.09e-06/0.7169, allocations: 0 / 0.6003 GB, free: 13.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.04257/0.7595, allocations: 19.46 MB / 0.6193 GB, free: 9.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.7596, allocations: 103 kB / 0.6194 GB, free: 9.512 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/0.7644, allocations: 3.247 MB / 0.6226 GB, free: 6.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000211/0.7646, allocations: 65.69 kB / 0.6226 GB, free: 6.188 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002323/0.7669, allocations: 3.276 MB / 0.6258 GB, free: 2.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.768, allocations: 0.979 MB / 0.6268 GB, free: 1.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.7682, allocations: 124 kB / 0.6269 GB, free: 1.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003644/0.7686, allocations: 0.5665 MB / 0.6275 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3075/1.076, allocations: 2.47 MB / 0.6299 GB, free: 140.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005344/1.082, allocations: 5.87 MB / 0.6356 GB, free: 136.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/1.087, allocations: 3.788 MB / 0.6393 GB, free: 136 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.791e-05/1.087, allocations: 37.59 kB / 0.6393 GB, free: 136 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01263/1.099, allocations: 9.115 MB / 0.6482 GB, free: 133.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/1.099, allocations: 58.12 kB / 0.6483 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/1.1, allocations: 115.2 kB / 0.6484 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/1.102, allocations: 1.078 MB / 0.6495 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/1.106, allocations: 1.393 MB / 0.6508 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006746/1.113, allocations: 5.14 MB / 0.6558 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/1.116, allocations: 336.2 kB / 0.6562 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000616/1.117, allocations: 354.6 kB / 0.6565 GB, free: 130.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 744 * Array equations: 6 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004883/1.122, allocations: 2.48 MB / 0.6589 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005802/1.123, allocations: 322 kB / 0.6592 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009974/1.133, allocations: 5.361 MB / 0.6645 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.212e-05/1.133, allocations: 51.64 kB / 0.6645 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/1.133, allocations: 6.969 kB / 0.6645 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.98e-05/1.133, allocations: 13.86 kB / 0.6645 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0236/1.156, allocations: 13.33 MB / 0.6775 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/1.156, allocations: 11.81 kB / 0.6776 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.158, allocations: 420.8 kB / 0.678 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/1.161, allocations: 0.8939 MB / 0.6788 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002209/1.161, allocations: 56.72 kB / 0.6789 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005482/1.166, allocations: 4.491 MB / 0.6833 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/1.167, allocations: 17.12 kB / 0.6833 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.177, allocations: 8.013 MB / 0.6911 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/1.179, allocations: 0.7269 MB / 0.6918 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/1.179, allocations: 55.7 kB / 0.6919 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.18, allocations: 144.1 kB / 0.692 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/1.181, allocations: 177.4 kB / 0.6922 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.181, allocations: 79.75 kB / 0.6923 GB, free: 113.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002864/1.184, allocations: 1.98 MB / 0.6942 GB, free: 111.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/1.184, allocations: 0 / 0.6942 GB, free: 111.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004844/1.188, allocations: 1.118 MB / 0.6953 GB, free: 110.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (209): * Single equations (assignments): 202 * Array equations: 6 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004464/1.189, allocations: 193.4 kB / 0.6955 GB, free: 110.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007655/1.197, allocations: 6.046 MB / 0.7014 GB, free: 104.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.197, allocations: 0.875 kB / 0.7014 GB, free: 104.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002474/1.199, allocations: 2.252 MB / 0.7036 GB, free: 102.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/1.201, allocations: 423.2 kB / 0.704 GB, free: 102.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/1.22, allocations: 14.46 MB / 0.7181 GB, free: 88.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003578/1.224, allocations: 3.826 MB / 0.7218 GB, free: 84.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.225, allocations: 295.4 kB / 0.7221 GB, free: 84.16 MB / 494.1 MB Notification: Performance of SimCode: time 1.814e-06/1.225, allocations: 0 / 0.7221 GB, free: 84.16 MB / 494.1 MB Notification: Performance of Templates: time 0.09629/1.321, allocations: 85.86 MB / 0.806 GB, free: 14.21 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.Joints.PlanarCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PlanarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PlanarCalcHelperMain.o] Error 1