Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007607/0.0007602, allocations: 94.55 kB / 17.58 MB, free: 5.797 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.0008437/0.0008437, allocations: 180.9 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 224.6 MB, free: 13.14 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004603, allocations: 15.98 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.3566/0.4806, allocations: 66.42 MB / 395.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03978/0.5204, allocations: 14 MB / 409.4 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01971/0.5402, allocations: 321.5 kB / 409.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01319/0.5534, allocations: 3.425 MB / 413.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03308/0.5865, allocations: 10.2 MB / 423.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005512/0.5921, allocations: 1.284 MB / 424.6 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.05027/0.6424, allocations: 37.32 MB / 462 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.6532, allocations: 6.402 MB / 468.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/0.6585, allocations: 2.257 MB / 470.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006358/0.6649, allocations: 3.689 MB / 474.3 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.6662, allocations: 248 kB / 474.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.6695, allocations: 1.198 MB / 475.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003268/0.6728, allocations: 3.004 MB / 478.8 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002039/0.6749, allocations: 1.306 MB / 480.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.6853, allocations: 8.541 MB / 488.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.6853, allocations: 0 / 488.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.6853, allocations: 0 / 488.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004416/0.6858, allocations: 0 / 488.6 MB, free: 6.863 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01894/0.7047, allocations: 6.916 MB / 495.5 MB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.7048, allocations: 8.031 kB / 495.5 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02445/0.7292, allocations: 3.767 MB / 499.3 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/0.7438, allocations: 5.392 MB / 0.4929 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.7443, allocations: 373.4 kB / 0.4932 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001807/0.7461, allocations: 0.519 MB / 0.4937 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03113/0.7772, allocations: 16.25 MB / 0.5096 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002323/0.7775, allocations: 83.3 kB / 0.5097 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006188/0.7782, allocations: 227.8 kB / 0.5099 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004472/0.7826, allocations: 2.938 MB / 0.5128 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02972/0.8124, allocations: 13.71 MB / 0.5261 GB, free: 3.41 MB / 430.1 MB 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.3303/1.143, allocations: 64.8 MB / 0.5894 GB, free: 119.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02033/1.163, allocations: 7.96 MB / 0.5972 GB, free: 117.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005352/1.169, allocations: 4.331 MB / 0.6014 GB, free: 114.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0247/1.193, allocations: 19.37 MB / 0.6203 GB, free: 99.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/1.193, allocations: 64.12 kB / 0.6204 GB, free: 99.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 6.802e-06/1.193, allocations: 4 kB / 0.6204 GB, free: 99.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.1388/1.332, allocations: 50.55 MB / 0.6698 GB, free: 49.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.332, allocations: 277.8 kB / 0.67 GB, free: 48.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00796/1.34, allocations: 6.055 MB / 0.676 GB, free: 42.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001086/1.341, allocations: 87.03 kB / 0.676 GB, free: 42.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002728/1.344, allocations: 4.676 MB / 0.6806 GB, free: 37.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00204/1.346, allocations: 1.37 MB / 0.6819 GB, free: 36.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004668/1.347, allocations: 191.8 kB / 0.6821 GB, free: 36.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003953/1.347, allocations: 0.7151 MB / 0.6828 GB, free: 35.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00545/1.353, allocations: 4.184 MB / 0.6869 GB, free: 31.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007911/1.36, allocations: 9.418 MB / 0.6961 GB, free: 19.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008226/1.369, allocations: 6.076 MB / 0.702 GB, free: 13.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.422e-05/1.369, allocations: 55.94 kB / 0.7021 GB, free: 13.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.3236/1.692, allocations: 17.5 MB / 0.7192 GB, free: 142.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002369/1.693, allocations: 82.34 kB / 0.7193 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005479/1.693, allocations: 185.8 kB / 0.7194 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01682/1.71, allocations: 4.603 MB / 0.7239 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009413/1.72, allocations: 2.133 MB / 0.726 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.036/1.756, allocations: 23.72 MB / 0.7492 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.766, allocations: 0.5294 MB / 0.7497 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002507/1.768, allocations: 0.5311 MB / 0.7502 GB, free: 133 MB / 446.1 MB 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.00835/1.777, allocations: 3.129 MB / 0.7533 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/1.779, allocations: 0.5643 MB / 0.7538 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02133/1.8, allocations: 10.73 MB / 0.7643 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.233e-05/1.8, allocations: 39.95 kB / 0.7643 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.202e-05/1.8, allocations: 23.28 kB / 0.7644 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/1.8, allocations: 19.94 kB / 0.7644 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04198/1.842, allocations: 20.54 MB / 0.7844 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.626e-05/1.842, allocations: 1.641 kB / 0.7844 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002846/1.845, allocations: 0.5382 MB / 0.785 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0117/1.857, allocations: 4.217 MB / 0.7891 GB, free: 96.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008318/1.858, allocations: 62.95 kB / 0.7891 GB, free: 96.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02586/1.884, allocations: 21.54 MB / 0.8102 GB, free: 74.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.884, allocations: 7.938 kB / 0.8102 GB, free: 74.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02536/1.909, allocations: 15.62 MB / 0.8254 GB, free: 58.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003654/1.913, allocations: 1.185 MB / 0.8266 GB, free: 57.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001508/1.914, allocations: 60.69 kB / 0.8267 GB, free: 57.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.917, allocations: 221.5 kB / 0.8269 GB, free: 57.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006941/1.918, allocations: 233.9 kB / 0.8271 GB, free: 57.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/1.918, allocations: 97.8 kB / 0.8272 GB, free: 57.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005766/1.924, allocations: 3.766 MB / 0.8309 GB, free: 53.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.924, allocations: 0 / 0.8309 GB, free: 53.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01111/1.935, allocations: 1.939 MB / 0.8328 GB, free: 51.34 MB / 446.1 MB 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.0008569/1.936, allocations: 218.4 kB / 0.833 GB, free: 51.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01578/1.952, allocations: 10.46 MB / 0.8432 GB, free: 40.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.952, allocations: 1.25 kB / 0.8432 GB, free: 40.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005473/1.958, allocations: 4.114 MB / 0.8472 GB, free: 36.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006265/1.964, allocations: 0.7434 MB / 0.8479 GB, free: 35.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/1.995, allocations: 19.58 MB / 0.8671 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005445/2.001, allocations: 4.836 MB / 0.8718 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/2.003, allocations: 447.4 kB / 0.8722 GB, free: 10.86 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/2.003, allocations: 3.938 kB / 0.8722 GB, free: 10.86 MB / 446.1 MB Notification: Performance of Templates: time 0.4451/2.448, allocations: 152.9 MB / 1.021 GB, free: 14.33 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.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 OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.o] Error 1