Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0007241/0.0007244, allocations: 90.39 kB / 17.63 MB, free: 5.887 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.000836/0.000836, allocations: 186.4 kB / 18.53 MB, free: 5.184 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.529/1.529, allocations: 223.2 MB / 242.5 MB, free: 300 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.2306/0.2306, allocations: 44.23 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003426, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.4002/0.5534, allocations: 57.59 MB / 0.5174 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03805/0.5915, allocations: 12.14 MB / 0.5292 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01813/0.6097, allocations: 272.1 kB / 0.5295 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01317/0.6229, allocations: 2.875 MB / 0.5323 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03462/0.6576, allocations: 8.603 MB / 0.5407 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006762/0.6644, allocations: 0.9038 MB / 0.5416 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.052/0.7164, allocations: 35.52 MB / 0.5762 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.7275, allocations: 4.961 MB / 0.5811 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006112/0.7336, allocations: 1.872 MB / 0.5829 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007562/0.7412, allocations: 3.089 MB / 0.5859 GB, free: 200 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002265/0.7435, allocations: 216 kB / 0.5861 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.7481, allocations: 0.9831 MB / 0.5871 GB, free: 15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004768/0.7528, allocations: 2.548 MB / 0.5896 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003007/0.7559, allocations: 1.17 MB / 0.5907 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.768, allocations: 7.603 MB / 0.5982 GB, free: 3.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.7681, allocations: 4 kB / 0.5982 GB, free: 3.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.7681, allocations: 4 kB / 0.5982 GB, free: 3.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004305/0.7685, allocations: 0 / 0.5982 GB, free: 3.637 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.01662/0.7852, allocations: 6.021 MB / 0.604 GB, free: 13.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.7852, allocations: 12.03 kB / 0.6041 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.8007, allocations: 3.938 MB / 0.6079 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.8126, allocations: 3.983 MB / 0.6118 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.813, allocations: 316 kB / 0.6121 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002544/0.8156, allocations: 435.5 kB / 0.6125 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03041/0.846, allocations: 15.6 MB / 0.6277 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.8462, allocations: 63.48 kB / 0.6278 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005673/0.8468, allocations: 195.8 kB / 0.628 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005737/0.8525, allocations: 3.384 MB / 0.6313 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03283/0.8854, allocations: 14.79 MB / 0.6457 GB, free: 2.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09966/0.985, allocations: 55.22 MB / 0.6997 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/1.005, allocations: 8.186 MB / 0.7077 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3504/1.355, allocations: 4.821 MB / 0.7124 GB, free: 188.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002133/1.357, allocations: 2.207 MB / 0.7145 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/1.357, allocations: 66.22 kB / 0.7146 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=367): time 7.574e-06/1.357, allocations: 1.188 kB / 0.7146 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.1125/1.47, allocations: 40.08 MB / 0.7537 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/1.47, allocations: 123.8 kB / 0.7538 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008737/1.479, allocations: 4.263 MB / 0.758 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001221/1.48, allocations: 82.56 kB / 0.7581 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002602/1.483, allocations: 3.784 MB / 0.7618 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002593/1.485, allocations: 1.494 MB / 0.7632 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/1.486, allocations: 156 kB / 0.7634 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0006501/1.487, allocations: 0.6447 MB / 0.764 GB, free: 157 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007073/1.494, allocations: 4.051 MB / 0.768 GB, free: 153 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009016/1.503, allocations: 7.811 MB / 0.7756 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0088/1.512, allocations: 5.594 MB / 0.7811 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001636/1.512, allocations: 36 kB / 0.7811 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.03013/1.542, allocations: 14.66 MB / 0.7954 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001638/1.543, allocations: 60 kB / 0.7955 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002206/1.543, allocations: 128 kB / 0.7956 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007233/1.55, allocations: 2.956 MB / 0.7985 GB, free: 120 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006571/1.557, allocations: 1.805 MB / 0.8002 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/1.575, allocations: 14.82 MB / 0.8147 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007189/1.583, allocations: 0.5034 MB / 0.8152 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/1.585, allocations: 437.2 kB / 0.8156 GB, free: 102.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (942): * Single equations (assignments): 934 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007205/1.592, allocations: 2.86 MB / 0.8184 GB, free: 99.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001695/1.594, allocations: 462.1 kB / 0.8189 GB, free: 98.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02045/1.614, allocations: 10.9 MB / 0.8295 GB, free: 87.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.354e-05/1.614, allocations: 65.83 kB / 0.8296 GB, free: 87.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.422e-05/1.614, allocations: 11.94 kB / 0.8296 GB, free: 87.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.017e-05/1.614, allocations: 19.92 kB / 0.8296 GB, free: 87.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.039/1.653, allocations: 21.65 MB / 0.8507 GB, free: 65.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.763e-05/1.653, allocations: 8 kB / 0.8507 GB, free: 65.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003224/1.657, allocations: 0.685 MB / 0.8514 GB, free: 65.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00682/1.663, allocations: 2.74 MB / 0.8541 GB, free: 62.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008181/1.664, allocations: 87.88 kB / 0.8542 GB, free: 62.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/1.68, allocations: 13.58 MB / 0.8674 GB, free: 48.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/1.68, allocations: 16.56 kB / 0.8675 GB, free: 48.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02394/1.704, allocations: 15.52 MB / 0.8826 GB, free: 32.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/1.706, allocations: 499.1 kB / 0.8831 GB, free: 32.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001847/1.708, allocations: 82.72 kB / 0.8832 GB, free: 32.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004008/1.712, allocations: 319.5 kB / 0.8835 GB, free: 31.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/1.713, allocations: 265.9 kB / 0.8837 GB, free: 31.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007679/1.714, allocations: 113.3 kB / 0.8838 GB, free: 31.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005581/1.719, allocations: 2.645 MB / 0.8864 GB, free: 28.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.31e-07/1.719, allocations: 0 / 0.8864 GB, free: 28.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009487/1.729, allocations: 1.681 MB / 0.8881 GB, free: 27.14 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001322/1.73, allocations: 230.1 kB / 0.8883 GB, free: 26.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01587/1.746, allocations: 10.01 MB / 0.8981 GB, free: 16.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.746, allocations: 4 kB / 0.8981 GB, free: 16.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006623/1.753, allocations: 4.36 MB / 0.9023 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006327/1.759, allocations: 0.6846 MB / 0.903 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4198/2.179, allocations: 18.94 MB / 0.9215 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009974/2.189, allocations: 4.532 MB / 0.9259 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002643/2.192, allocations: 403.7 kB / 0.9263 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of SimCode: time 2.084e-06/2.192, allocations: 0 / 0.9263 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.201/2.393, allocations: 140.8 MB / 1.064 GB, free: 43.92 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.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.Joints.Revolute2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.o] Error 1