Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 89.11 kB / 16.67 MB, free: 6.598 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.001298/0.001298, allocations: 179.4 kB / 17.57 MB, free: 6.188 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.967/1.967, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2755/0.2755, allocations: 43.59 MB / 315.6 MB, free: 428 kB / 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.0005947/0.0005948, allocations: 16.64 kB / 385.2 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1568, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.09059/0.2474, allocations: 85.52 MB / 0.5172 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4547/0.7021, allocations: 16.72 MB / 0.5335 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02239/0.7246, allocations: 371.8 kB / 0.5339 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004655/0.7293, allocations: 0.6764 MB / 0.5345 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.7403, allocations: 2.595 MB / 0.5371 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.7441, allocations: 1.097 MB / 0.5382 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01847/0.7626, allocations: 10.3 MB / 0.5482 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01891/0.7815, allocations: 9.521 MB / 0.5575 GB, free: 0 / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008425/0.79, allocations: 2.119 MB / 0.5596 GB, free: 0 / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008968/0.7991, allocations: 3.671 MB / 0.5632 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001974/0.8011, allocations: 278 kB / 0.5634 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.8049, allocations: 1.035 MB / 0.5644 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004105/0.809, allocations: 3.115 MB / 0.5675 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006819/0.8158, allocations: 3.548 MB / 0.571 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01453/0.8304, allocations: 9.374 MB / 0.5801 GB, free: 7.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.8304, allocations: 0 / 0.5801 GB, free: 7.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.8305, allocations: 0 / 0.5801 GB, free: 7.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006173/0.8311, allocations: 4 kB / 0.5801 GB, free: 7.055 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.02297/0.8541, allocations: 6.7 MB / 0.5867 GB, free: 2.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/0.8541, allocations: 15.86 kB / 0.5867 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/0.8686, allocations: 2.779 MB / 0.5894 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.8802, allocations: 3.959 MB / 0.5933 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005861/0.8809, allocations: 458.5 kB / 0.5937 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00375/0.8846, allocations: 0.5889 MB / 0.5943 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06101/0.9457, allocations: 21.32 MB / 0.6151 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003959/0.9461, allocations: 83.17 kB / 0.6152 GB, free: 5.434 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001855/0.948, allocations: 282.8 kB / 0.6154 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008768/0.9568, allocations: 3.544 MB / 0.6189 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05708/1.014, allocations: 17.33 MB / 0.6358 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1315/1.146, allocations: 67.92 MB / 0.7022 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02211/1.168, allocations: 6.789 MB / 0.7088 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005899/1.174, allocations: 2.344 MB / 0.7111 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02342/1.197, allocations: 9.812 MB / 0.7207 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01737/1.214, allocations: 4.43 MB / 0.725 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=299): time 2.014e-05/1.215, allocations: 0 / 0.725 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=333): time 0.4105/1.625, allocations: 23.12 MB / 0.7476 GB, free: 243.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/1.625, allocations: 165.2 kB / 0.7477 GB, free: 243.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01409/1.639, allocations: 6.047 MB / 0.7536 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008699/1.64, allocations: 76.25 kB / 0.7537 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.007138/1.647, allocations: 5.303 MB / 0.7589 GB, free: 239.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003056/1.651, allocations: 1.271 MB / 0.7601 GB, free: 238.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002635/1.653, allocations: 0.8286 MB / 0.7609 GB, free: 238.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/1.653, allocations: 307.1 kB / 0.7612 GB, free: 238.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006765/1.66, allocations: 2.898 MB / 0.764 GB, free: 237.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009271/1.669, allocations: 8.726 MB / 0.7726 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01574/1.685, allocations: 12.63 MB / 0.7849 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003637/1.686, allocations: 59.09 kB / 0.785 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02592/1.711, allocations: 11.4 MB / 0.7961 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003664/1.712, allocations: 121 kB / 0.7962 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004455/1.712, allocations: 204.2 kB / 0.7964 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/1.713, allocations: 273 kB / 0.7967 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008841/1.722, allocations: 2.391 MB / 0.799 GB, free: 212.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005303/1.722, allocations: 400.1 kB / 0.7994 GB, free: 212.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/1.733, allocations: 496.5 kB / 0.7999 GB, free: 211.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002419/1.735, allocations: 0.576 MB / 0.8004 GB, free: 211.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1271): * Single equations (assignments): 1267 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0109/1.746, allocations: 3.411 MB / 0.8037 GB, free: 208.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001996/1.748, allocations: 0.5437 MB / 0.8043 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009429/1.757, allocations: 3.543 MB / 0.8077 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.374e-05/1.757, allocations: 36 kB / 0.8078 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/1.758, allocations: 3.609 kB / 0.8078 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.013e-05/1.758, allocations: 15.95 kB / 0.8078 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03495/1.793, allocations: 13.83 MB / 0.8213 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001301/1.793, allocations: 32 kB / 0.8213 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/1.796, allocations: 0.6794 MB / 0.822 GB, free: 189.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.733e-05/1.796, allocations: 48 kB / 0.822 GB, free: 189.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004935/1.796, allocations: 103.6 kB / 0.8221 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.785e-05/1.796, allocations: 67.78 kB / 0.8222 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.269e-05/1.796, allocations: 55.69 kB / 0.8223 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/1.808, allocations: 6.243 MB / 0.8283 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004486/1.812, allocations: 0.8567 MB / 0.8292 GB, free: 181.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002439/1.815, allocations: 104.7 kB / 0.8293 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004238/1.819, allocations: 171.9 kB / 0.8294 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006161/1.82, allocations: 320.1 kB / 0.8298 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003129/1.82, allocations: 128 kB / 0.8299 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.009623/1.829, allocations: 3.764 MB / 0.8336 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.11e-07/1.83, allocations: 0 / 0.8336 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01187/1.841, allocations: 1.576 MB / 0.8351 GB, free: 175.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/1.843, allocations: 287.3 kB / 0.8354 GB, free: 175 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01435/1.857, allocations: 6.651 MB / 0.8419 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-05/1.857, allocations: 5 kB / 0.8419 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003761/1.861, allocations: 1.769 MB / 0.8436 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03412/1.895, allocations: 0.7817 MB / 0.8444 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04784/1.943, allocations: 20.31 MB / 0.8642 GB, free: 145 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01188/1.955, allocations: 5.136 MB / 0.8692 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002393/1.957, allocations: 491.4 kB / 0.8697 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.733e-06/1.957, allocations: 0 / 0.8697 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1581/2.115, allocations: 89.46 MB / 0.957 GB, free: 49.88 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2CalcHelperMain.o] Error 1