Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 87.53 kB / 17.63 MB, free: 6.293 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.001272/0.001273, allocations: 180.5 kB / 18.52 MB, free: 5.445 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.513/1.513, allocations: 223.3 MB / 242.5 MB, free: 308 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.259/0.259, allocations: 44.22 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 12 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1631, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3896/0.5528, allocations: 57.95 MB / 0.5177 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04063/0.5935, allocations: 12.45 MB / 0.5299 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01868/0.6122, allocations: 283.4 kB / 0.5301 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01308/0.6253, allocations: 2.975 MB / 0.533 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03203/0.6574, allocations: 8.855 MB / 0.5417 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006024/0.6635, allocations: 1.012 MB / 0.5427 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08693/0.7504, allocations: 62.46 MB / 0.6037 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.7634, allocations: 5.557 MB / 0.6091 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007904/0.7713, allocations: 1.837 MB / 0.6109 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006668/0.7781, allocations: 2.835 MB / 0.6137 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002066/0.7802, allocations: 200 kB / 0.6138 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005017/0.7852, allocations: 1.166 MB / 0.615 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004994/0.7902, allocations: 2.388 MB / 0.6173 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00341/0.7937, allocations: 1.096 MB / 0.6184 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.8056, allocations: 7.217 MB / 0.6254 GB, free: 7.629 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.8056, allocations: 0 / 0.6254 GB, free: 7.629 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.8056, allocations: 0 / 0.6254 GB, free: 7.629 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004477/0.8061, allocations: 0 / 0.6254 GB, free: 7.629 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01785/0.8239, allocations: 5.661 MB / 0.631 GB, free: 1.891 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.824, allocations: 8.031 kB / 0.631 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02284/0.8469, allocations: 3.374 MB / 0.6343 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/0.8592, allocations: 4.028 MB / 0.6382 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.8597, allocations: 307.9 kB / 0.6385 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002483/0.8622, allocations: 427.6 kB / 0.6389 GB, free: 9.688 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03563/0.8978, allocations: 13.81 MB / 0.6524 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003898/0.8983, allocations: 63.38 kB / 0.6524 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002392/0.9007, allocations: 203.8 kB / 0.6526 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005268/0.906, allocations: 2.523 MB / 0.6551 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03308/0.9391, allocations: 11.77 MB / 0.6666 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4634/1.403, allocations: 53.72 MB / 0.7191 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/1.421, allocations: 5.906 MB / 0.7248 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006858/1.428, allocations: 3.586 MB / 0.7283 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02345/1.452, allocations: 15.45 MB / 0.7434 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/1.452, allocations: 60.16 kB / 0.7435 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 5.831e-06/1.452, allocations: 0 / 0.7435 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.08724/1.539, allocations: 28.64 MB / 0.7715 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.539, allocations: 269.3 kB / 0.7717 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007708/1.547, allocations: 5.029 MB / 0.7766 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006451/1.548, allocations: 67.27 kB / 0.7767 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002216/1.55, allocations: 3.88 MB / 0.7805 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.551, allocations: 1.007 MB / 0.7815 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004739/1.552, allocations: 157.4 kB / 0.7816 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003525/1.552, allocations: 0.6285 MB / 0.7822 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003868/1.556, allocations: 2.982 MB / 0.7851 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007725/1.563, allocations: 7.317 MB / 0.7923 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007986/1.572, allocations: 4.526 MB / 0.7967 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002423/1.572, allocations: 44 kB / 0.7967 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02155/1.593, allocations: 11.12 MB / 0.8076 GB, free: 91.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002069/1.594, allocations: 69.72 kB / 0.8077 GB, free: 91.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002928/1.594, allocations: 152.8 kB / 0.8078 GB, free: 91.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003044/1.597, allocations: 1.248 MB / 0.809 GB, free: 90.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006557/1.604, allocations: 1.825 MB / 0.8108 GB, free: 88.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00849/1.612, allocations: 7.782 MB / 0.8184 GB, free: 80.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006627/1.619, allocations: 435.4 kB / 0.8188 GB, free: 80.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/1.62, allocations: 448 kB / 0.8193 GB, free: 79.62 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (954): * Single equations (assignments): 949 * Array equations: 3 * 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 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005887/1.626, allocations: 2.638 MB / 0.8218 GB, free: 76.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/1.628, allocations: 462 kB / 0.8223 GB, free: 76.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009588/1.637, allocations: 5.217 MB / 0.8274 GB, free: 71.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.802e-05/1.637, allocations: 29.41 kB / 0.8274 GB, free: 71.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.827e-05/1.637, allocations: 7.953 kB / 0.8274 GB, free: 71.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/1.637, allocations: 16.52 kB / 0.8274 GB, free: 71.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02161/1.659, allocations: 11.73 MB / 0.8389 GB, free: 59.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/1.659, allocations: 7.938 kB / 0.8389 GB, free: 59.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/1.661, allocations: 0.4914 MB / 0.8394 GB, free: 58.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/1.664, allocations: 0.9867 MB / 0.8403 GB, free: 57.99 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003785/1.664, allocations: 47.98 kB / 0.8404 GB, free: 57.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007263/1.671, allocations: 7.105 MB / 0.8473 GB, free: 50.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.671, allocations: 4.062 kB / 0.8473 GB, free: 50.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.684, allocations: 8.7 MB / 0.8558 GB, free: 41.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/1.686, allocations: 0.5028 MB / 0.8563 GB, free: 41.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/1.687, allocations: 40 kB / 0.8563 GB, free: 41.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002922/1.69, allocations: 180.6 kB / 0.8565 GB, free: 41.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004788/1.691, allocations: 157.7 kB / 0.8567 GB, free: 40.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002733/1.691, allocations: 73.16 kB / 0.8567 GB, free: 40.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006617/1.698, allocations: 3.13 MB / 0.8598 GB, free: 37.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.52e-07/1.698, allocations: 0 / 0.8598 GB, free: 37.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009156/1.707, allocations: 1.38 MB / 0.8611 GB, free: 36.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * Array equations: 3 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009999/1.708, allocations: 180.3 kB / 0.8613 GB, free: 36.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.722, allocations: 7.266 MB / 0.8684 GB, free: 28.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/1.722, allocations: 0 / 0.8684 GB, free: 28.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004172/1.726, allocations: 2.555 MB / 0.8709 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006281/1.733, allocations: 0.573 MB / 0.8715 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/1.764, allocations: 15.49 MB / 0.8866 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003945/1.768, allocations: 4.082 MB / 0.8906 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/1.769, allocations: 379.4 kB / 0.8909 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of SimCode: time 1.353e-06/1.769, allocations: 4 kB / 0.8909 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of Templates: time 0.4983/2.268, allocations: 123.8 MB / 1.012 GB, free: 107.7 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.Forces.LineForceWithMassCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMassCalcHelperMain.o] Error 1