Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008142/0.0008144, allocations: 96.91 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009742/0.0009743, allocations: 199.2 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2589/0.2589, allocations: 45.91 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 11.98 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1635, allocations: 63.47 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.416/0.5795, allocations: 57.61 MB / 0.5271 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03985/0.6194, allocations: 12.17 MB / 0.539 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01854/0.638, allocations: 271.6 kB / 0.5392 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01344/0.6515, allocations: 2.872 MB / 0.542 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03839/0.6899, allocations: 8.57 MB / 0.5504 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007952/0.6979, allocations: 0.9191 MB / 0.5513 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05345/0.7514, allocations: 35.75 MB / 0.5862 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009492/0.7609, allocations: 4.956 MB / 0.5911 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/0.7663, allocations: 1.86 MB / 0.5929 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006536/0.7729, allocations: 3.092 MB / 0.5959 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001628/0.7745, allocations: 216 kB / 0.5961 GB, free: 3.508 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003562/0.7781, allocations: 0.9792 MB / 0.5971 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003919/0.782, allocations: 2.548 MB / 0.5995 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002491/0.7845, allocations: 1.174 MB / 0.6007 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.7971, allocations: 7.599 MB / 0.6081 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.7971, allocations: 0 / 0.6081 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.7972, allocations: 0 / 0.6081 GB, free: 7.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004941/0.7977, allocations: 0 / 0.6081 GB, free: 7.172 MB / 446.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.01784/0.8155, allocations: 6.058 MB / 0.614 GB, free: 1.035 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.8156, allocations: 8.031 kB / 0.614 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/0.8314, allocations: 3.942 MB / 0.6179 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009828/0.8412, allocations: 3.878 MB / 0.6217 GB, free: 9.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006167/0.8419, allocations: 316 kB / 0.622 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00305/0.845, allocations: 435.6 kB / 0.6224 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0335/0.8785, allocations: 15.59 MB / 0.6376 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001972/0.8787, allocations: 63.42 kB / 0.6377 GB, free: 8.004 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006196/0.8793, allocations: 195.8 kB / 0.6379 GB, free: 7.812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006051/0.8854, allocations: 3.384 MB / 0.6412 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03545/0.9209, allocations: 14.8 MB / 0.6556 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4591/1.38, allocations: 55.21 MB / 0.7095 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0245/1.405, allocations: 8.183 MB / 0.7175 GB, free: 168 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009754/1.414, allocations: 4.826 MB / 0.7222 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002349/1.417, allocations: 2.211 MB / 0.7244 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.002e-05/1.417, allocations: 65.02 kB / 0.7245 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=367): time 7.915e-06/1.417, allocations: 0 / 0.7245 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.1135/1.53, allocations: 40.09 MB / 0.7636 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/1.531, allocations: 120 kB / 0.7637 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008423/1.539, allocations: 4.259 MB / 0.7679 GB, free: 140 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001182/1.54, allocations: 86.33 kB / 0.768 GB, free: 140 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002614/1.543, allocations: 3.801 MB / 0.7717 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002563/1.545, allocations: 1.486 MB / 0.7731 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/1.547, allocations: 157.2 kB / 0.7733 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000646/1.547, allocations: 0.637 MB / 0.7739 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006644/1.554, allocations: 4.048 MB / 0.7778 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00879/1.563, allocations: 7.81 MB / 0.7855 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008841/1.572, allocations: 5.593 MB / 0.7909 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/1.572, allocations: 40 kB / 0.791 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.0285/1.6, allocations: 14.66 MB / 0.8053 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/1.601, allocations: 60.94 kB / 0.8053 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002544/1.601, allocations: 128 kB / 0.8055 GB, free: 99.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007703/1.609, allocations: 2.958 MB / 0.8084 GB, free: 97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006837/1.616, allocations: 1.809 MB / 0.8101 GB, free: 95.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/1.634, allocations: 14.82 MB / 0.8246 GB, free: 80.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006917/1.641, allocations: 0.5041 MB / 0.8251 GB, free: 79.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002043/1.643, allocations: 433.1 kB / 0.8255 GB, free: 79.18 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.007021/1.65, allocations: 2.879 MB / 0.8283 GB, free: 76.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.652, allocations: 451.1 kB / 0.8287 GB, free: 75.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/1.672, allocations: 10.91 MB / 0.8394 GB, free: 64.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.962e-05/1.672, allocations: 61.08 kB / 0.8395 GB, free: 64.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-05/1.672, allocations: 12 kB / 0.8395 GB, free: 64.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.43e-05/1.672, allocations: 19.92 kB / 0.8395 GB, free: 64.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04735/1.72, allocations: 21.65 MB / 0.8606 GB, free: 42.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.27e-05/1.72, allocations: 15.95 kB / 0.8606 GB, free: 42.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003802/1.724, allocations: 0.6786 MB / 0.8613 GB, free: 42.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007551/1.731, allocations: 2.732 MB / 0.864 GB, free: 39.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001233/1.733, allocations: 86.27 kB / 0.8641 GB, free: 39.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/1.751, allocations: 13.56 MB / 0.8773 GB, free: 25.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/1.751, allocations: 16.31 kB / 0.8773 GB, free: 25.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02742/1.778, allocations: 15.52 MB / 0.8925 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/1.78, allocations: 0.4991 MB / 0.893 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002054/1.782, allocations: 77.31 kB / 0.893 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003869/1.786, allocations: 323.4 kB / 0.8933 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/1.787, allocations: 263.3 kB / 0.8936 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007547/1.788, allocations: 112 kB / 0.8937 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005126/1.793, allocations: 2.649 MB / 0.8963 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.793, allocations: 0 / 0.8963 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009454/1.803, allocations: 1.68 MB / 0.8979 GB, free: 4.145 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.001384/1.804, allocations: 231.4 kB / 0.8982 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01883/1.823, allocations: 10.02 MB / 0.9079 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.919e-05/1.823, allocations: 4.5 kB / 0.9079 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.3005/2.124, allocations: 4.347 MB / 0.9122 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006068/2.13, allocations: 0.6803 MB / 0.9128 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04137/2.171, allocations: 18.95 MB / 0.9314 GB, free: 177.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00733/2.179, allocations: 4.532 MB / 0.9358 GB, free: 176.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002564/2.181, allocations: 406.5 kB / 0.9362 GB, free: 176 MB / 0.545 GB Notification: Performance of SimCode: time 1.873e-06/2.181, allocations: 0 / 0.9362 GB, free: 176 MB / 0.545 GB Notification: Performance of Templates: time 0.1964/2.378, allocations: 140.8 MB / 1.074 GB, free: 47.25 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.o] Error 1