Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 92.78 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.001421, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.648/1.648, allocations: 227.3 MB / 246.6 MB, free: 11.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2786/0.2786, allocations: 45.92 MB / 344.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1579, allocations: 63.46 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.4348/0.5927, allocations: 78.37 MB / 0.5474 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05196/0.6448, allocations: 15.83 MB / 0.5628 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02379/0.6686, allocations: 364 kB / 0.5632 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01667/0.6853, allocations: 4.139 MB / 0.5672 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04129/0.7266, allocations: 11.95 MB / 0.5789 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007792/0.7344, allocations: 1.061 MB / 0.5799 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01436/0.7488, allocations: 7.902 MB / 0.5876 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01669/0.7656, allocations: 8.393 MB / 0.5958 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005878/0.7715, allocations: 2.039 MB / 0.5978 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006352/0.7779, allocations: 3.326 MB / 0.6011 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002123/0.78, allocations: 256 kB / 0.6013 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004222/0.7843, allocations: 0.8661 MB / 0.6022 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005416/0.7897, allocations: 2.871 MB / 0.605 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003627/0.7934, allocations: 1.345 MB / 0.6063 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.8078, allocations: 8.775 MB / 0.6148 GB, free: 100 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.8078, allocations: 0 / 0.6148 GB, free: 100 kB / 446.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.8078, allocations: 0 / 0.6148 GB, free: 100 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006538/0.8085, allocations: 0 / 0.6148 GB, free: 100 kB / 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.01974/0.8282, allocations: 6.394 MB / 0.6211 GB, free: 9.617 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.8283, allocations: 8.031 kB / 0.6211 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.8406, allocations: 2.728 MB / 0.6238 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.8515, allocations: 3.521 MB / 0.6272 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006463/0.8522, allocations: 447 kB / 0.6276 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002876/0.8551, allocations: 0.5621 MB / 0.6282 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05277/0.9079, allocations: 20.34 MB / 0.648 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000504/0.9085, allocations: 67.39 kB / 0.6481 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002968/0.9114, allocations: 275.8 kB / 0.6484 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006165/0.9176, allocations: 3.337 MB / 0.6516 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04371/0.9614, allocations: 16.33 MB / 0.6676 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7586/1.72, allocations: 65.27 MB / 0.7313 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0186/1.739, allocations: 6.356 MB / 0.7375 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003845/1.743, allocations: 2.047 MB / 0.7395 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0185/1.761, allocations: 9.227 MB / 0.7485 GB, free: 133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.301e-05/1.761, allocations: 67.67 kB / 0.7486 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 9.197e-06/1.761, allocations: 0 / 0.7486 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.06201/1.823, allocations: 21.7 MB / 0.7698 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.823, allocations: 164.1 kB / 0.7699 GB, free: 122 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/1.835, allocations: 5.807 MB / 0.7756 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000544/1.835, allocations: 70.41 kB / 0.7757 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003564/1.839, allocations: 4.955 MB / 0.7805 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/1.84, allocations: 1.122 MB / 0.7816 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008775/1.841, allocations: 185.3 kB / 0.7818 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0007274/1.842, allocations: 0.6948 MB / 0.7825 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00483/1.847, allocations: 2.632 MB / 0.785 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00737/1.854, allocations: 8.244 MB / 0.7931 GB, free: 95.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007084/1.861, allocations: 4.517 MB / 0.7975 GB, free: 91.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002692/1.862, allocations: 59.95 kB / 0.7976 GB, free: 91.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01978/1.881, allocations: 10.56 MB / 0.8079 GB, free: 80.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002687/1.882, allocations: 92 kB / 0.808 GB, free: 80.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003508/1.882, allocations: 196 kB / 0.8081 GB, free: 80.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/1.882, allocations: 292 kB / 0.8084 GB, free: 80.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006863/1.889, allocations: 2.235 MB / 0.8106 GB, free: 77.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003803/1.89, allocations: 394.5 kB / 0.811 GB, free: 77.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007574/1.897, allocations: 473.4 kB / 0.8114 GB, free: 77.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/1.899, allocations: 0.5469 MB / 0.812 GB, free: 76.58 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.007166/1.906, allocations: 3.231 MB / 0.8151 GB, free: 73.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/1.907, allocations: 0.5206 MB / 0.8156 GB, free: 72.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006132/1.914, allocations: 3.015 MB / 0.8186 GB, free: 69.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-05/1.914, allocations: 32 kB / 0.8186 GB, free: 69.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/1.914, allocations: 2.562 kB / 0.8186 GB, free: 69.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/1.914, allocations: 11.95 kB / 0.8186 GB, free: 69.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02545/1.939, allocations: 12.51 MB / 0.8308 GB, free: 56.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.664e-05/1.939, allocations: 32.22 kB / 0.8309 GB, free: 56.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/1.942, allocations: 0.5577 MB / 0.8314 GB, free: 56.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-05/1.942, allocations: 48 kB / 0.8315 GB, free: 56.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003169/1.942, allocations: 93.55 kB / 0.8315 GB, free: 56.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.317e-05/1.942, allocations: 75.67 kB / 0.8316 GB, free: 55.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-05/1.942, allocations: 47.81 kB / 0.8317 GB, free: 55.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007845/1.95, allocations: 5.636 MB / 0.8372 GB, free: 49.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.952, allocations: 0.5917 MB / 0.8377 GB, free: 49.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001699/1.954, allocations: 91.97 kB / 0.8378 GB, free: 49.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003207/1.957, allocations: 163.8 kB / 0.838 GB, free: 48.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/1.958, allocations: 264 kB / 0.8382 GB, free: 48.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/1.958, allocations: 121.9 kB / 0.8384 GB, free: 48.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008934/1.967, allocations: 3.603 MB / 0.8419 GB, free: 44.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.71e-07/1.967, allocations: 0 / 0.8419 GB, free: 44.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01173/1.979, allocations: 1.46 MB / 0.8433 GB, free: 43.42 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.001222/1.98, allocations: 265.5 kB / 0.8436 GB, free: 43.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.993, allocations: 6.002 MB / 0.8494 GB, free: 37.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.37e-05/1.993, allocations: 4 kB / 0.8494 GB, free: 37.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002676/1.995, allocations: 1.379 MB / 0.8508 GB, free: 35.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007808/2.003, allocations: 0.7466 MB / 0.8515 GB, free: 35.08 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03821/2.041, allocations: 18.27 MB / 0.8693 GB, free: 16.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006767/2.048, allocations: 4.886 MB / 0.8741 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/2.05, allocations: 447.4 kB / 0.8745 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of SimCode: time 1.493e-06/2.05, allocations: 0 / 0.8745 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of Templates: time 0.4866/2.537, allocations: 83.93 MB / 0.9565 GB, free: 173.9 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.DamperCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DamperCalcHelperMain.o] Error 1