Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 92.72 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.001844/0.001844, allocations: 201.3 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.698/1.698, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2719/0.2719, allocations: 45.91 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003075, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1531, allocations: 63.47 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02753/0.1807, allocations: 26.83 MB / 0.497 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01719/0.1979, allocations: 6.428 MB / 0.5033 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005793/0.2037, allocations: 115.8 kB / 0.5034 GB, free: 3.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005262/0.209, allocations: 1.291 MB / 0.5047 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3376/0.5467, allocations: 3.963 MB / 0.5085 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.5491, allocations: 416.8 kB / 0.5089 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00835/0.5575, allocations: 3.905 MB / 0.5128 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005118/0.5626, allocations: 2.241 MB / 0.5149 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.5656, allocations: 1.02 MB / 0.5159 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004221/0.5698, allocations: 1.672 MB / 0.5176 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.5709, allocations: 131.2 kB / 0.5177 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.5736, allocations: 0.7454 MB / 0.5184 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002365/0.576, allocations: 1.468 MB / 0.5199 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.5774, allocations: 0.7373 MB / 0.5206 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007014/0.5844, allocations: 4.705 MB / 0.5252 GB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.5844, allocations: 2.531 kB / 0.5252 GB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5845, allocations: 1.125 kB / 0.5252 GB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003022/0.5848, allocations: 0 / 0.5252 GB, free: 10.33 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01003/0.5948, allocations: 3.469 MB / 0.5286 GB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5949, allocations: 8.312 kB / 0.5286 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.6054, allocations: 3.161 MB / 0.5317 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005244/0.6107, allocations: 1.85 MB / 0.5335 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.6109, allocations: 185.4 kB / 0.5336 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009007/0.6118, allocations: 245.1 kB / 0.5339 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.6309, allocations: 10.48 MB / 0.5441 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.6311, allocations: 23.81 kB / 0.5441 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004323/0.6315, allocations: 119.2 kB / 0.5442 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00397/0.6355, allocations: 2.556 MB / 0.5467 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02277/0.6583, allocations: 9.885 MB / 0.5564 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06403/0.7224, allocations: 34.45 MB / 0.59 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.7339, allocations: 5.17 MB / 0.5951 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/0.7376, allocations: 2.287 MB / 0.5973 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/0.7395, allocations: 1.884 MB / 0.5992 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/0.7396, allocations: 52.56 kB / 0.5992 GB, free: 11.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 1.985e-05/0.7396, allocations: 4 kB / 0.5992 GB, free: 11.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03163/0.7713, allocations: 13.92 MB / 0.6128 GB, free: 13.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.7714, allocations: 77.41 kB / 0.6129 GB, free: 13.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/0.7752, allocations: 2.615 MB / 0.6154 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002544/0.7754, allocations: 61.06 kB / 0.6155 GB, free: 10.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00197/0.7774, allocations: 2.63 MB / 0.6181 GB, free: 7.836 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.7785, allocations: 0.8514 MB / 0.6189 GB, free: 6.992 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.7787, allocations: 104 kB / 0.619 GB, free: 6.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004012/0.7791, allocations: 0.5292 MB / 0.6195 GB, free: 6.355 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003528/0.7827, allocations: 2.189 MB / 0.6216 GB, free: 4.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005771/0.7885, allocations: 5.052 MB / 0.6266 GB, free: 13.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005024/0.7935, allocations: 3.314 MB / 0.6298 GB, free: 10.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.36e-05/0.7936, allocations: 31.94 kB / 0.6298 GB, free: 10.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.0163/0.8099, allocations: 7.851 MB / 0.6375 GB, free: 2.508 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.203e-05/0.81, allocations: 49.97 kB / 0.6376 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/0.8102, allocations: 104 kB / 0.6377 GB, free: 2.359 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/0.8123, allocations: 0.8046 MB / 0.6384 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004415/0.8167, allocations: 1.185 MB / 0.6396 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005858/0.8226, allocations: 4.187 MB / 0.6437 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/0.8269, allocations: 299.7 kB / 0.644 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/0.8279, allocations: 302.6 kB / 0.6443 GB, free: 11.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (635): * Single equations (assignments): 628 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005462/0.8334, allocations: 2.017 MB / 0.6462 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008667/0.8343, allocations: 260.5 kB / 0.6465 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008412/0.8427, allocations: 4.713 MB / 0.6511 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.871e-05/0.8428, allocations: 43.98 kB / 0.6511 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.8428, allocations: 4 kB / 0.6511 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.8428, allocations: 7.969 kB / 0.6511 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/0.8641, allocations: 10.51 MB / 0.6614 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.8641, allocations: 4 kB / 0.6614 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.8656, allocations: 359.4 kB / 0.6618 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.8676, allocations: 0.6639 MB / 0.6624 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/0.8678, allocations: 36 kB / 0.6624 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/0.8732, allocations: 3.666 MB / 0.666 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.494e-05/0.8732, allocations: 15.92 kB / 0.666 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/0.885, allocations: 7.11 MB / 0.673 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.8862, allocations: 309.7 kB / 0.6733 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/0.8865, allocations: 41.11 kB / 0.6733 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.8876, allocations: 140.7 kB / 0.6734 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/0.888, allocations: 137.8 kB / 0.6736 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.8881, allocations: 64.55 kB / 0.6736 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002954/0.8911, allocations: 1.591 MB / 0.6752 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8911, allocations: 0 / 0.6752 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004625/0.8957, allocations: 0.9321 MB / 0.6761 GB, free: 10.43 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004915/0.8962, allocations: 185.3 kB / 0.6763 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009575/0.9058, allocations: 5.317 MB / 0.6815 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.9059, allocations: 4.062 kB / 0.6815 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.9093, allocations: 2.016 MB / 0.6834 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.9116, allocations: 356.7 kB / 0.6838 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/0.9324, allocations: 11.56 MB / 0.6951 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003717/0.9361, allocations: 3.171 MB / 0.6982 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.9374, allocations: 243.4 kB / 0.6984 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of SimCode: time 1.353e-06/0.9375, allocations: 0 / 0.6984 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of Templates: time 0.3857/1.323, allocations: 69.65 MB / 0.7664 GB, free: 166.4 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.RevoluteCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteCalcHelperMain.o] Error 1