Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,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.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,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.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 87.53 kB / 17.63 MB, free: 5.719 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.001536/0.001536, allocations: 182.4 kB / 18.52 MB, free: 5.168 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.575/1.575, allocations: 223.2 MB / 242.5 MB, free: 344 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.2594/0.2594, allocations: 44.22 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 12 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.4315/0.5754, allocations: 66.4 MB / 0.526 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05008/0.6255, allocations: 14.01 MB / 0.5396 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02219/0.6478, allocations: 325.4 kB / 0.5399 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01435/0.6622, allocations: 3.411 MB / 0.5433 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04182/0.704, allocations: 10.2 MB / 0.5532 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006734/0.7108, allocations: 1.281 MB / 0.5545 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08537/0.7962, allocations: 64.49 MB / 0.6175 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.8085, allocations: 6.381 MB / 0.6237 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006544/0.8151, allocations: 2.242 MB / 0.6259 GB, free: 7.168 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007167/0.8223, allocations: 3.669 MB / 0.6295 GB, free: 3.488 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002348/0.8247, allocations: 248 kB / 0.6297 GB, free: 3.246 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005096/0.8298, allocations: 1.205 MB / 0.6309 GB, free: 2.039 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005412/0.8352, allocations: 2.996 MB / 0.6338 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003468/0.8388, allocations: 1.302 MB / 0.6351 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.8516, allocations: 8.526 MB / 0.6434 GB, free: 5.176 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.8517, allocations: 0 / 0.6434 GB, free: 5.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.8517, allocations: 0 / 0.6434 GB, free: 5.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005066/0.8522, allocations: 0 / 0.6434 GB, free: 5.176 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01939/0.8716, allocations: 6.9 MB / 0.6501 GB, free: 14.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.8717, allocations: 8.031 kB / 0.6502 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02544/0.8971, allocations: 3.766 MB / 0.6538 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0172/0.9144, allocations: 5.197 MB / 0.6589 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005151/0.915, allocations: 369.5 kB / 0.6593 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002965/0.9179, allocations: 0.5073 MB / 0.6598 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0375/0.9554, allocations: 16.27 MB / 0.6756 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003283/0.9558, allocations: 71.38 kB / 0.6757 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/0.9569, allocations: 239.8 kB / 0.6759 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005172/0.9621, allocations: 2.927 MB / 0.6788 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03392/0.996, allocations: 13.71 MB / 0.6922 GB, free: 1.941 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4435/1.44, allocations: 64.78 MB / 0.7554 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02016/1.46, allocations: 7.954 MB / 0.7632 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005531/1.465, allocations: 4.338 MB / 0.7675 GB, free: 142 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03578/1.501, allocations: 19.35 MB / 0.7864 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.253e-05/1.501, allocations: 72.06 kB / 0.7864 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=290): time 1.026e-05/1.501, allocations: 0 / 0.7864 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=372): time 0.1678/1.669, allocations: 50.48 MB / 0.8357 GB, free: 77.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.669, allocations: 277.8 kB / 0.836 GB, free: 76.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007582/1.677, allocations: 6.011 MB / 0.8419 GB, free: 70.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009744/1.678, allocations: 77.7 kB / 0.8419 GB, free: 70.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002609/1.681, allocations: 4.673 MB / 0.8465 GB, free: 66.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002115/1.683, allocations: 1.374 MB / 0.8478 GB, free: 64.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005185/1.683, allocations: 191 kB / 0.848 GB, free: 64.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003913/1.684, allocations: 0.7112 MB / 0.8487 GB, free: 63.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005703/1.689, allocations: 4.188 MB / 0.8528 GB, free: 59.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008668/1.698, allocations: 9.418 MB / 0.862 GB, free: 47.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008919/1.707, allocations: 6.072 MB / 0.8679 GB, free: 41.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001391/1.707, allocations: 52 kB / 0.868 GB, free: 41.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03995/1.747, allocations: 17.51 MB / 0.8851 GB, free: 24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002878/1.747, allocations: 80 kB / 0.8852 GB, free: 23.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004836/1.748, allocations: 188.1 kB / 0.8853 GB, free: 23.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01495/1.763, allocations: 4.596 MB / 0.8898 GB, free: 19.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008783/1.772, allocations: 2.133 MB / 0.8919 GB, free: 17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4041/2.176, allocations: 23.71 MB / 0.9151 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/2.187, allocations: 0.5272 MB / 0.9156 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002851/2.189, allocations: 0.5359 MB / 0.9161 GB, free: 168.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1136): * Single equations (assignments): 1131 * 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%) 44,(2,100.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01113/2.201, allocations: 3.124 MB / 0.9192 GB, free: 167 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002141/2.203, allocations: 0.5637 MB / 0.9197 GB, free: 167 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02415/2.227, allocations: 10.73 MB / 0.9302 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/2.227, allocations: 37.28 kB / 0.9302 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-05/2.227, allocations: 30.48 kB / 0.9302 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/2.227, allocations: 14.91 kB / 0.9303 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04102/2.268, allocations: 20.52 MB / 0.9503 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-05/2.268, allocations: 9.156 kB / 0.9503 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002943/2.271, allocations: 0.5411 MB / 0.9508 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01232/2.284, allocations: 4.216 MB / 0.955 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009963/2.285, allocations: 69.3 kB / 0.955 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02897/2.314, allocations: 21.54 MB / 0.9761 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/2.314, allocations: 4 kB / 0.9761 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02735/2.341, allocations: 15.62 MB / 0.9913 GB, free: 116 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/2.344, allocations: 0.5985 MB / 0.9919 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/2.345, allocations: 60 kB / 0.992 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/2.348, allocations: 217.3 kB / 0.9922 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000753/2.349, allocations: 230.1 kB / 0.9924 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00026/2.349, allocations: 96.08 kB / 0.9925 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005911/2.355, allocations: 3.74 MB / 0.9961 GB, free: 111 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.1e-07/2.355, allocations: 0 / 0.9961 GB, free: 111 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01073/2.365, allocations: 1.932 MB / 0.998 GB, free: 109.1 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 (272): * Single equations (assignments): 267 * 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%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008034/2.366, allocations: 221.4 kB / 0.9982 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01533/2.382, allocations: 10.46 MB / 1.008 GB, free: 98.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/2.382, allocations: 0 / 1.008 GB, free: 98.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005537/2.387, allocations: 4.111 MB / 1.012 GB, free: 94.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/2.392, allocations: 0.7498 MB / 1.013 GB, free: 93.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02884/2.421, allocations: 19.55 MB / 1.032 GB, free: 74.17 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00484/2.426, allocations: 4.835 MB / 1.037 GB, free: 69.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/2.428, allocations: 447.4 kB / 1.037 GB, free: 68.87 MB / 0.5294 GB Notification: Performance of SimCode: time 9.61e-07/2.428, allocations: 0 / 1.037 GB, free: 68.87 MB / 0.5294 GB Notification: Performance of Templates: time 0.5152/2.943, allocations: 152.5 MB / 1.186 GB, free: 126.1 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMassesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMassesCalcHelperMain.o] Error 1