Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008462/0.0008463, allocations: 94.7 kB / 16.33 MB, free: 5.57 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.0007905/0.0007905, allocations: 190.5 kB / 17.22 MB, free: 5.523 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.554/1.554, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2328/0.2328, allocations: 43.56 MB / 315.2 MB, free: 0.5469 MB / 254.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.0005168/0.0005168, allocations: 16.56 kB / 384.6 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 58.86 MB / 443.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.07061/0.186, allocations: 79.44 MB / 0.5106 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.3315/0.5175, allocations: 15.98 MB / 0.5262 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01678/0.5343, allocations: 368.1 kB / 0.5266 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01447/0.5488, allocations: 4.172 MB / 0.5306 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03731/0.5862, allocations: 12.13 MB / 0.5425 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006025/0.5922, allocations: 1.075 MB / 0.5435 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01143/0.6037, allocations: 8.163 MB / 0.5515 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0123/0.616, allocations: 8.547 MB / 0.5598 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.6204, allocations: 2.164 MB / 0.562 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00535/0.6258, allocations: 3.594 MB / 0.5655 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.6269, allocations: 275.6 kB / 0.5657 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.6294, allocations: 0.8866 MB / 0.5666 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003988/0.6335, allocations: 3.045 MB / 0.5696 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002333/0.6358, allocations: 1.418 MB / 0.5709 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.6469, allocations: 9.345 MB / 0.5801 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.6469, allocations: 0 / 0.5801 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6469, allocations: 0 / 0.5801 GB, free: 11.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004376/0.6474, allocations: 0 / 0.5801 GB, free: 11.14 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01322/0.6606, allocations: 6.708 MB / 0.5866 GB, free: 4.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.6606, allocations: 8.031 kB / 0.5866 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.6709, allocations: 2.781 MB / 0.5894 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007535/0.6785, allocations: 3.882 MB / 0.5931 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/0.6788, allocations: 460.8 kB / 0.5936 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/0.6802, allocations: 0.583 MB / 0.5942 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03836/0.7185, allocations: 21.23 MB / 0.6149 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/0.7188, allocations: 78.86 kB / 0.615 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007081/0.7195, allocations: 286.1 kB / 0.6152 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004979/0.7245, allocations: 3.537 MB / 0.6187 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03743/0.7619, allocations: 17.19 MB / 0.6355 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09044/0.8524, allocations: 67.8 MB / 0.7017 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/0.8693, allocations: 6.675 MB / 0.7082 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003547/0.8729, allocations: 2.292 MB / 0.7104 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01596/0.8889, allocations: 9.793 MB / 0.72 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/0.889, allocations: 60.56 kB / 0.7201 GB, free: 5.484 MB / 0.545 GB Notification: Performance of pre-optimization done (n=296): time 6.041e-06/0.889, allocations: 7.938 kB / 0.7201 GB, free: 5.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=330): time 0.7062/1.595, allocations: 22.78 MB / 0.7423 GB, free: 127 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/1.595, allocations: 169.3 kB / 0.7425 GB, free: 126.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.606, allocations: 5.996 MB / 0.7483 GB, free: 126.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007996/1.607, allocations: 77.69 kB / 0.7484 GB, free: 126.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004016/1.611, allocations: 5.185 MB / 0.7535 GB, free: 123.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/1.613, allocations: 1.253 MB / 0.7547 GB, free: 122.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/1.613, allocations: 201 kB / 0.7549 GB, free: 122.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0004827/1.613, allocations: 0.7206 MB / 0.7556 GB, free: 122.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005111/1.619, allocations: 2.811 MB / 0.7583 GB, free: 122.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008519/1.627, allocations: 8.632 MB / 0.7668 GB, free: 114.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009091/1.636, allocations: 4.785 MB / 0.7714 GB, free: 114.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003295/1.637, allocations: 63.03 kB / 0.7715 GB, free: 114.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.03097/1.668, allocations: 11.19 MB / 0.7824 GB, free: 113.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005122/1.668, allocations: 96.78 kB / 0.7825 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000685/1.669, allocations: 204.4 kB / 0.7827 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/1.67, allocations: 306.4 kB / 0.783 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008784/1.678, allocations: 2.36 MB / 0.7853 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006914/1.679, allocations: 406.9 kB / 0.7857 GB, free: 113.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009247/1.688, allocations: 482.2 kB / 0.7862 GB, free: 113.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00217/1.691, allocations: 0.5731 MB / 0.7867 GB, free: 112.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1267): * Single equations (assignments): 1264 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008709/1.699, allocations: 3.396 MB / 0.79 GB, free: 111.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001844/1.701, allocations: 0.5445 MB / 0.7906 GB, free: 110.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/1.709, allocations: 3.439 MB / 0.7939 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.717e-05/1.709, allocations: 36 kB / 0.794 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.923e-05/1.709, allocations: 2.438 kB / 0.794 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.436e-05/1.709, allocations: 19.23 kB / 0.794 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02936/1.739, allocations: 13.8 MB / 0.8074 GB, free: 98.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001085/1.739, allocations: 36.25 kB / 0.8075 GB, free: 98.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/1.741, allocations: 0.6086 MB / 0.8081 GB, free: 98.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-05/1.741, allocations: 52 kB / 0.8081 GB, free: 98.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003224/1.741, allocations: 105.3 kB / 0.8082 GB, free: 98.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-05/1.741, allocations: 66.7 kB / 0.8083 GB, free: 97.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.898e-05/1.742, allocations: 53.12 kB / 0.8083 GB, free: 97.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008111/1.75, allocations: 6.294 MB / 0.8145 GB, free: 92.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/1.752, allocations: 0.8482 MB / 0.8153 GB, free: 91.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001559/1.754, allocations: 99.09 kB / 0.8154 GB, free: 91.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003091/1.757, allocations: 161 kB / 0.8156 GB, free: 91.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/1.757, allocations: 306.2 kB / 0.8159 GB, free: 91.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/1.758, allocations: 128.7 kB / 0.816 GB, free: 91.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007931/1.765, allocations: 3.712 MB / 0.8196 GB, free: 88.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.41e-07/1.765, allocations: 4 kB / 0.8196 GB, free: 88.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01073/1.776, allocations: 1.564 MB / 0.8211 GB, free: 87.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (317): * Single equations (assignments): 314 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/1.777, allocations: 281.6 kB / 0.8214 GB, free: 87.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.79, allocations: 6.453 MB / 0.8277 GB, free: 82.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.489e-05/1.79, allocations: 9.531 kB / 0.8277 GB, free: 82.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/1.792, allocations: 1.562 MB / 0.8292 GB, free: 81.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00708/1.8, allocations: 0.7598 MB / 0.83 GB, free: 80.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0307/1.83, allocations: 19.5 MB / 0.849 GB, free: 60.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005214/1.835, allocations: 5.127 MB / 0.854 GB, free: 55.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/1.837, allocations: 487.4 kB / 0.8545 GB, free: 54.96 MB / 0.545 GB Notification: Performance of SimCode: time 1.964e-06/1.837, allocations: 0 / 0.8545 GB, free: 54.96 MB / 0.545 GB Notification: Performance of Templates: time 0.3828/2.22, allocations: 89.42 MB / 0.9418 GB, free: 219.1 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.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_3.2.3_ModelicaTest.MultiBody.Forces.DamperCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DamperCalcHelperMain.o] Error 1