Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002092/0.002091, allocations: 104.4 kB / 16.52 MB, free: 6.266 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.002429/0.002429, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.931/1.931, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2704/0.2704, allocations: 43.51 MB / 314.1 MB, free: 0.75 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.001491/0.001491, allocations: 70.38 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1652, allocations: 57.79 MB / 440.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.06954/0.2348, allocations: 63.96 MB / 0.4926 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04088/0.2757, allocations: 12.81 MB / 0.5051 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01911/0.2949, allocations: 275.3 kB / 0.5054 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007397/0.3023, allocations: 3.027 MB / 0.5083 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009303/0.3118, allocations: 2.46 MB / 0.5107 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.3155, allocations: 0.9557 MB / 0.5117 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0156/0.3311, allocations: 10.08 MB / 0.5215 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00971/0.3409, allocations: 4.113 MB / 0.5255 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006239/0.3472, allocations: 2.02 MB / 0.5275 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4077/0.755, allocations: 3.471 MB / 0.5309 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002474/0.7575, allocations: 318.8 kB / 0.5312 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004498/0.762, allocations: 1.227 MB / 0.5324 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005303/0.7673, allocations: 2.772 MB / 0.5351 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008152/0.7755, allocations: 3.129 MB / 0.5382 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.7896, allocations: 7.889 MB / 0.5459 GB, free: 7.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7896, allocations: 0 / 0.5459 GB, free: 7.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7896, allocations: 0 / 0.5459 GB, free: 7.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005313/0.7902, allocations: 1.969 kB / 0.5459 GB, free: 7.07 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.03211/0.8223, allocations: 7.302 MB / 0.553 GB, free: 4.367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.8223, allocations: 8.094 kB / 0.553 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/0.8397, allocations: 3.845 MB / 0.5568 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.8527, allocations: 4.263 MB / 0.5609 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008728/0.8536, allocations: 316.5 kB / 0.5612 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004491/0.8581, allocations: 445.2 kB / 0.5616 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04447/0.9026, allocations: 15.81 MB / 0.5771 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006195/0.9033, allocations: 55.41 kB / 0.5771 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003484/0.9068, allocations: 200.4 kB / 0.5773 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007823/0.9146, allocations: 3.477 MB / 0.5807 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03749/0.9521, allocations: 14.91 MB / 0.5953 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1306/1.083, allocations: 56.11 MB / 0.6501 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02154/1.104, allocations: 8.21 MB / 0.6581 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008994/1.113, allocations: 4.831 MB / 0.6628 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002785/1.116, allocations: 2.209 MB / 0.665 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/1.116, allocations: 65.08 kB / 0.665 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 1.082e-05/1.116, allocations: 0 / 0.665 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.1425/1.259, allocations: 40.26 MB / 0.7043 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/1.259, allocations: 116 kB / 0.7045 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01273/1.272, allocations: 4.364 MB / 0.7087 GB, free: 12.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001961/1.274, allocations: 85.7 kB / 0.7088 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004754/1.279, allocations: 3.865 MB / 0.7126 GB, free: 8.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004155/1.283, allocations: 1.493 MB / 0.714 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00907/1.292, allocations: 1.582 MB / 0.7156 GB, free: 5.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.292, allocations: 305.1 kB / 0.7159 GB, free: 4.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009602/1.302, allocations: 4.091 MB / 0.7199 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01503/1.317, allocations: 7.909 MB / 0.7276 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3886/1.705, allocations: 12.97 MB / 0.7403 GB, free: 221.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002059/1.706, allocations: 41.28 kB / 0.7403 GB, free: 221.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.03541/1.741, allocations: 14.8 MB / 0.7547 GB, free: 218 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.822e-05/1.741, allocations: 61.34 kB / 0.7548 GB, free: 218 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002248/1.741, allocations: 135.1 kB / 0.7549 GB, free: 218 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008466/1.75, allocations: 2.933 MB / 0.7578 GB, free: 217.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007304/1.757, allocations: 1.834 MB / 0.7596 GB, free: 217.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/1.776, allocations: 14.85 MB / 0.7741 GB, free: 209.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008054/1.785, allocations: 0.5053 MB / 0.7746 GB, free: 209.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/1.786, allocations: 440.1 kB / 0.775 GB, free: 209 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (951): * Single equations (assignments): 943 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007964/1.794, allocations: 2.912 MB / 0.7778 GB, free: 206.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/1.796, allocations: 470.4 kB / 0.7783 GB, free: 206.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01888/1.815, allocations: 10.93 MB / 0.789 GB, free: 196.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.091e-05/1.815, allocations: 65.86 kB / 0.789 GB, free: 196.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.815, allocations: 8 kB / 0.789 GB, free: 196.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.046e-05/1.815, allocations: 19.92 kB / 0.7891 GB, free: 196.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05391/1.869, allocations: 21.78 MB / 0.8103 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.864e-05/1.869, allocations: 12.22 kB / 0.8103 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003622/1.872, allocations: 0.6825 MB / 0.811 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007664/1.88, allocations: 2.728 MB / 0.8137 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001135/1.881, allocations: 81.78 kB / 0.8137 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/1.898, allocations: 13.59 MB / 0.827 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.898, allocations: 15.94 kB / 0.827 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02878/1.927, allocations: 15.57 MB / 0.8422 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005743/1.932, allocations: 1.175 MB / 0.8434 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00315/1.936, allocations: 85.3 kB / 0.8435 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004826/1.941, allocations: 317.6 kB / 0.8438 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001646/1.942, allocations: 254 kB / 0.844 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009786/1.943, allocations: 117.9 kB / 0.8441 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007212/1.95, allocations: 2.741 MB / 0.8468 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/1.95, allocations: 0 / 0.8468 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01263/1.963, allocations: 1.695 MB / 0.8484 GB, free: 134.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002042/1.965, allocations: 245.8 kB / 0.8487 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01901/1.984, allocations: 10.06 MB / 0.8585 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/1.984, allocations: 384 / 0.8585 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007738/1.992, allocations: 4.381 MB / 0.8628 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008273/2, allocations: 0.6733 MB / 0.8634 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04354/2.044, allocations: 19.73 MB / 0.8827 GB, free: 99.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0123/2.056, allocations: 4.597 MB / 0.8872 GB, free: 95.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003282/2.06, allocations: 410.8 kB / 0.8876 GB, free: 94.61 MB / 0.5606 GB Notification: Performance of SimCode: time 2.234e-06/2.06, allocations: 0 / 0.8876 GB, free: 94.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.5631/2.623, allocations: 143.3 MB / 1.027 GB, free: 179.2 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Joints.Revolute2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.o] Error 1