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.001467/0.001468, allocations: 90.12 kB / 16.67 MB, free: 6.59 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.001864/0.001864, allocations: 179.2 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2669/0.2669, allocations: 43.6 MB / 315.6 MB, free: 420 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.0005567/0.0005567, allocations: 20.53 kB / 385.2 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1655, allocations: 58.87 MB / 444.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.08941/0.2549, allocations: 85.46 MB / 0.5172 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4618/0.7168, allocations: 16.66 MB / 0.5334 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02099/0.7378, allocations: 366.1 kB / 0.5338 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.7412, allocations: 0.6797 MB / 0.5344 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.7519, allocations: 2.584 MB / 0.537 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.7559, allocations: 1.091 MB / 0.538 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01897/0.7749, allocations: 10.26 MB / 0.548 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01846/0.7934, allocations: 9.477 MB / 0.5573 GB, free: 0 / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007524/0.801, allocations: 2.099 MB / 0.5593 GB, free: 0 / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009528/0.8106, allocations: 3.708 MB / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002826/0.8134, allocations: 275.4 kB / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005402/0.8188, allocations: 1.024 MB / 0.5642 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006995/0.8259, allocations: 3.107 MB / 0.5673 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01168/0.8376, allocations: 3.536 MB / 0.5707 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.8532, allocations: 9.345 MB / 0.5798 GB, free: 7.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.8532, allocations: 3.938 kB / 0.5798 GB, free: 7.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.8532, allocations: 0 / 0.5798 GB, free: 7.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006825/0.8539, allocations: 0 / 0.5798 GB, free: 7.254 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.02342/0.8773, allocations: 6.608 MB / 0.5863 GB, free: 3.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/0.8774, allocations: 12.03 kB / 0.5863 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/0.8916, allocations: 2.777 MB / 0.589 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.9029, allocations: 3.941 MB / 0.5929 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005189/0.9035, allocations: 463.4 kB / 0.5933 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003588/0.9071, allocations: 0.5942 MB / 0.5939 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05773/0.9648, allocations: 21.27 MB / 0.6147 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003109/0.9652, allocations: 68.8 kB / 0.6147 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001378/0.9666, allocations: 291.6 kB / 0.615 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006095/0.9727, allocations: 3.54 MB / 0.6185 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04651/1.019, allocations: 17.26 MB / 0.6353 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1227/1.142, allocations: 67.85 MB / 0.7016 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02108/1.163, allocations: 6.685 MB / 0.7081 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005395/1.169, allocations: 2.311 MB / 0.7104 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02433/1.193, allocations: 9.784 MB / 0.7199 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.546e-05/1.193, allocations: 59.09 kB / 0.72 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=296): time 1.178e-05/1.193, allocations: 0 / 0.72 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=330): time 0.07599/1.269, allocations: 22.84 MB / 0.7423 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/1.269, allocations: 170.7 kB / 0.7425 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3547/1.624, allocations: 6.022 MB / 0.7483 GB, free: 243.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008022/1.625, allocations: 73.77 kB / 0.7484 GB, free: 243.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004553/1.629, allocations: 5.192 MB / 0.7535 GB, free: 241.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001773/1.631, allocations: 1.247 MB / 0.7547 GB, free: 240.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/1.633, allocations: 0.8283 MB / 0.7555 GB, free: 240.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.016e-05/1.633, allocations: 309.6 kB / 0.7558 GB, free: 240.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0056/1.638, allocations: 2.857 MB / 0.7586 GB, free: 240.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/1.648, allocations: 8.676 MB / 0.7671 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/1.663, allocations: 12.52 MB / 0.7793 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004596/1.664, allocations: 59.62 kB / 0.7793 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02659/1.69, allocations: 11.27 MB / 0.7903 GB, free: 216.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005301/1.691, allocations: 99.8 kB / 0.7904 GB, free: 216.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006893/1.692, allocations: 202.3 kB / 0.7906 GB, free: 216.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005186/1.692, allocations: 273.3 kB / 0.7909 GB, free: 216.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009105/1.701, allocations: 2.351 MB / 0.7932 GB, free: 216.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009953/1.702, allocations: 410.4 kB / 0.7936 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/1.714, allocations: 482.3 kB / 0.794 GB, free: 216 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002603/1.716, allocations: 0.5801 MB / 0.7946 GB, free: 215.6 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01028/1.727, allocations: 3.39 MB / 0.7979 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001987/1.729, allocations: 0.5437 MB / 0.7984 GB, free: 212.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008865/1.738, allocations: 3.454 MB / 0.8018 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-05/1.738, allocations: 39.75 kB / 0.8019 GB, free: 209 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/1.738, allocations: 0 / 0.8019 GB, free: 209 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-05/1.738, allocations: 19.7 kB / 0.8019 GB, free: 209 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03359/1.771, allocations: 13.81 MB / 0.8154 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001329/1.771, allocations: 32 kB / 0.8154 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/1.774, allocations: 0.6168 MB / 0.816 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.485e-05/1.774, allocations: 48 kB / 0.816 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004286/1.775, allocations: 99.98 kB / 0.8161 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.889e-05/1.775, allocations: 67.78 kB / 0.8162 GB, free: 194.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-05/1.775, allocations: 51.75 kB / 0.8162 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009586/1.784, allocations: 6.315 MB / 0.8224 GB, free: 187.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00333/1.788, allocations: 0.849 MB / 0.8232 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001869/1.789, allocations: 107.7 kB / 0.8233 GB, free: 186.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003613/1.793, allocations: 159.2 kB / 0.8235 GB, free: 186.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005209/1.794, allocations: 300.2 kB / 0.8238 GB, free: 186 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002809/1.794, allocations: 139.9 kB / 0.8239 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008838/1.803, allocations: 3.748 MB / 0.8276 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.21e-07/1.803, allocations: 8 kB / 0.8276 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01259/1.815, allocations: 1.557 MB / 0.8291 GB, free: 180.6 MB / 0.5762 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 (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.001327/1.817, allocations: 283.2 kB / 0.8294 GB, free: 180.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0143/1.831, allocations: 6.502 MB / 0.8357 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.413e-05/1.831, allocations: 8 kB / 0.8357 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002854/1.834, allocations: 1.574 MB / 0.8373 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03021/1.864, allocations: 0.7751 MB / 0.838 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03416/1.898, allocations: 20.28 MB / 0.8578 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00913/1.908, allocations: 5.127 MB / 0.8628 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/1.91, allocations: 491.4 kB / 0.8633 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/1.91, allocations: 0 / 0.8633 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1494/2.059, allocations: 88.94 MB / 0.9502 GB, free: 56.06 MB / 0.5762 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++ -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.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