Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001277/0.001277, allocations: 93.86 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.001502/0.001502, allocations: 179.5 kB / 18.52 MB, free: 5.172 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: 352 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.2566/0.2566, allocations: 44.22 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 11.98 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.4405/0.6006, allocations: 78.35 MB / 0.5376 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05362/0.6543, allocations: 15.8 MB / 0.5531 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02463/0.679, allocations: 364.6 kB / 0.5534 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01672/0.6958, allocations: 4.143 MB / 0.5575 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04219/0.738, allocations: 11.98 MB / 0.5691 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007259/0.7453, allocations: 1.057 MB / 0.5702 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01357/0.7589, allocations: 7.727 MB / 0.5777 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01714/0.7761, allocations: 8.406 MB / 0.5859 GB, free: 64 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006294/0.7825, allocations: 2.028 MB / 0.5879 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006983/0.7895, allocations: 3.338 MB / 0.5912 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002278/0.7918, allocations: 252 kB / 0.5914 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004605/0.7964, allocations: 0.8817 MB / 0.5923 GB, free: 9.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005926/0.8024, allocations: 2.883 MB / 0.5951 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004373/0.8068, allocations: 1.345 MB / 0.5964 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.8214, allocations: 8.775 MB / 0.605 GB, free: 12.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.8214, allocations: 0 / 0.605 GB, free: 12.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.8215, allocations: 0 / 0.605 GB, free: 12.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006111/0.8221, allocations: 0 / 0.605 GB, free: 12.51 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01955/0.8416, allocations: 6.398 MB / 0.6112 GB, free: 6.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.8417, allocations: 8.031 kB / 0.6112 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.8538, allocations: 2.716 MB / 0.6139 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.8642, allocations: 3.607 MB / 0.6174 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006389/0.8649, allocations: 443.1 kB / 0.6178 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002832/0.8678, allocations: 0.5621 MB / 0.6184 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0531/0.9209, allocations: 20.28 MB / 0.6382 GB, free: 9.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000481/0.9214, allocations: 63.41 kB / 0.6382 GB, free: 9.125 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002774/0.9242, allocations: 271.8 kB / 0.6385 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006166/0.9304, allocations: 3.349 MB / 0.6418 GB, free: 5.508 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04314/0.9735, allocations: 16.28 MB / 0.6577 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7383/1.712, allocations: 65.26 MB / 0.7214 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02826/1.74, allocations: 6.303 MB / 0.7276 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004654/1.745, allocations: 2.048 MB / 0.7296 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01756/1.763, allocations: 9.137 MB / 0.7385 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/1.763, allocations: 65.16 kB / 0.7385 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 5.28e-06/1.763, allocations: 0 / 0.7385 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.06597/1.829, allocations: 21.33 MB / 0.7594 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/1.829, allocations: 166.5 kB / 0.7595 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/1.84, allocations: 5.805 MB / 0.7652 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006403/1.841, allocations: 69.7 kB / 0.7653 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00366/1.845, allocations: 4.958 MB / 0.7701 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001572/1.846, allocations: 1.114 MB / 0.7712 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/1.847, allocations: 184.6 kB / 0.7714 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0007406/1.848, allocations: 0.6975 MB / 0.7721 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005103/1.853, allocations: 2.591 MB / 0.7746 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009049/1.862, allocations: 8.204 MB / 0.7826 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008245/1.87, allocations: 4.479 MB / 0.787 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005051/1.871, allocations: 56 kB / 0.787 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02495/1.896, allocations: 10.5 MB / 0.7973 GB, free: 91.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004098/1.896, allocations: 88 kB / 0.7974 GB, free: 91.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000512/1.897, allocations: 204 kB / 0.7976 GB, free: 91.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/1.897, allocations: 292 kB / 0.7978 GB, free: 90.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007358/1.905, allocations: 2.223 MB / 0.8 GB, free: 88.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004273/1.905, allocations: 386.5 kB / 0.8004 GB, free: 88.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008553/1.914, allocations: 455.3 kB / 0.8008 GB, free: 87.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002414/1.916, allocations: 0.5474 MB / 0.8013 GB, free: 87.28 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1192): * Single equations (assignments): 1189 * 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.01035/1.927, allocations: 3.226 MB / 0.8045 GB, free: 84.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00232/1.929, allocations: 0.5206 MB / 0.805 GB, free: 83.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007862/1.937, allocations: 2.957 MB / 0.8079 GB, free: 80.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-05/1.937, allocations: 31.95 kB / 0.8079 GB, free: 80.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/1.937, allocations: 0 / 0.8079 GB, free: 80.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.921e-05/1.937, allocations: 15.95 kB / 0.8079 GB, free: 80.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02792/1.965, allocations: 12.46 MB / 0.8201 GB, free: 67.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001128/1.965, allocations: 32 kB / 0.8201 GB, free: 67.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.967, allocations: 0.5382 MB / 0.8207 GB, free: 66.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-05/1.967, allocations: 52.86 kB / 0.8207 GB, free: 66.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003303/1.968, allocations: 88 kB / 0.8208 GB, free: 66.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.683e-05/1.968, allocations: 66.03 kB / 0.8209 GB, free: 66.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.299e-05/1.968, allocations: 51.75 kB / 0.8209 GB, free: 66.74 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008713/1.977, allocations: 5.525 MB / 0.8263 GB, free: 60.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/1.979, allocations: 0.5918 MB / 0.8269 GB, free: 60.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/1.981, allocations: 91.97 kB / 0.827 GB, free: 59.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/1.984, allocations: 139.9 kB / 0.8271 GB, free: 59.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/1.984, allocations: 272 kB / 0.8274 GB, free: 59.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/1.984, allocations: 124.5 kB / 0.8275 GB, free: 59.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00784/1.992, allocations: 3.599 MB / 0.831 GB, free: 55.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.81e-07/1.992, allocations: 0 / 0.831 GB, free: 55.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01004/2.002, allocations: 1.467 MB / 0.8324 GB, free: 54.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (275): * Single equations (assignments): 272 * 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.0009877/2.003, allocations: 267 kB / 0.8327 GB, free: 54.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01055/2.014, allocations: 5.93 MB / 0.8385 GB, free: 48.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-05/2.014, allocations: 4 kB / 0.8385 GB, free: 48.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00221/2.016, allocations: 1.332 MB / 0.8398 GB, free: 46.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007683/2.024, allocations: 0.7634 MB / 0.8405 GB, free: 46.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03704/2.061, allocations: 18.23 MB / 0.8583 GB, free: 27.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007499/2.068, allocations: 4.875 MB / 0.8631 GB, free: 22.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/2.07, allocations: 455.4 kB / 0.8635 GB, free: 22.11 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/2.07, allocations: 0 / 0.8635 GB, free: 22.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.4503/2.52, allocations: 84.07 MB / 0.9456 GB, free: 207.9 MB / 0.5763 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.DamperCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DamperCalcHelperMain.o] Error 1