Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00083/0.0008302, allocations: 94.52 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009456/0.0009456, allocations: 196.3 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2558/0.2558, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 63.47 MB / 482.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.4532/0.6006, allocations: 78.42 MB / 0.5474 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05456/0.6553, allocations: 15.88 MB / 0.5629 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02494/0.6803, allocations: 368.5 kB / 0.5633 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01651/0.6968, allocations: 4.145 MB / 0.5673 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04248/0.7393, allocations: 11.96 MB / 0.579 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008104/0.7475, allocations: 1.073 MB / 0.58 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01526/0.7627, allocations: 7.933 MB / 0.5878 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01649/0.7793, allocations: 8.414 MB / 0.596 GB, free: 3.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006048/0.7854, allocations: 2.051 MB / 0.598 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008547/0.7939, allocations: 3.357 MB / 0.6013 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003379/0.7974, allocations: 256 kB / 0.6015 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005031/0.8024, allocations: 0.8582 MB / 0.6024 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006312/0.8088, allocations: 2.879 MB / 0.6052 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005358/0.8142, allocations: 1.349 MB / 0.6065 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.8306, allocations: 8.803 MB / 0.6151 GB, free: 15.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.8306, allocations: 0 / 0.6151 GB, free: 15.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.8306, allocations: 0 / 0.6151 GB, free: 15.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005717/0.8312, allocations: 0 / 0.6151 GB, free: 15.9 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.01746/0.8487, allocations: 6.487 MB / 0.6214 GB, free: 9.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.8487, allocations: 8.031 kB / 0.6214 GB, free: 9.312 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.86, allocations: 2.716 MB / 0.6241 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00992/0.87, allocations: 3.537 MB / 0.6275 GB, free: 2.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006238/0.8706, allocations: 447.1 kB / 0.628 GB, free: 2.547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/0.8734, allocations: 0.5583 MB / 0.6285 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05195/0.9254, allocations: 20.39 MB / 0.6484 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005017/0.9259, allocations: 75.23 kB / 0.6485 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002899/0.9289, allocations: 275.8 kB / 0.6488 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006087/0.935, allocations: 3.33 MB / 0.652 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04669/0.9817, allocations: 16.41 MB / 0.668 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.77/1.752, allocations: 65.34 MB / 0.7318 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0195/1.771, allocations: 6.457 MB / 0.7382 GB, free: 138 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.775, allocations: 2.089 MB / 0.7402 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01758/1.793, allocations: 9.266 MB / 0.7492 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01282/1.806, allocations: 4.24 MB / 0.7534 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=260): time 8.476e-06/1.806, allocations: 0 / 0.7534 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=294): time 0.0626/1.869, allocations: 21.98 MB / 0.7748 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.154e-05/1.869, allocations: 158.5 kB / 0.775 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/1.88, allocations: 5.829 MB / 0.7807 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000664/1.881, allocations: 73.7 kB / 0.7808 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004347/1.885, allocations: 5.061 MB / 0.7857 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001581/1.887, allocations: 1.13 MB / 0.7868 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009591/1.888, allocations: 194.2 kB / 0.787 GB, free: 105 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0007545/1.888, allocations: 0.7027 MB / 0.7877 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00499/1.893, allocations: 2.68 MB / 0.7903 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007911/1.901, allocations: 8.294 MB / 0.7984 GB, free: 90.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007522/1.909, allocations: 4.575 MB / 0.8029 GB, free: 86.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002472/1.909, allocations: 56 kB / 0.8029 GB, free: 86.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.02084/1.93, allocations: 10.7 MB / 0.8134 GB, free: 75.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002783/1.93, allocations: 125.7 kB / 0.8135 GB, free: 75.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003819/1.931, allocations: 200.8 kB / 0.8137 GB, free: 75.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/1.931, allocations: 292 kB / 0.814 GB, free: 74.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007435/1.939, allocations: 2.25 MB / 0.8161 GB, free: 72.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003532/1.939, allocations: 390.5 kB / 0.8165 GB, free: 72.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007536/1.946, allocations: 491.3 kB / 0.817 GB, free: 71.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/1.948, allocations: 0.5469 MB / 0.8175 GB, free: 71.18 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: 83 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1196): * Single equations (assignments): 1192 * Array equations: 3 * Algorithm blocks: 1 * 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.006688/1.955, allocations: 3.247 MB / 0.8207 GB, free: 67.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/1.956, allocations: 0.5128 MB / 0.8212 GB, free: 67.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006183/1.962, allocations: 3.109 MB / 0.8242 GB, free: 64.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/1.962, allocations: 32 kB / 0.8243 GB, free: 64.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.962, allocations: 0 / 0.8243 GB, free: 64.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/1.962, allocations: 15.95 kB / 0.8243 GB, free: 64.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02829/1.991, allocations: 12.54 MB / 0.8365 GB, free: 51.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.635e-05/1.991, allocations: 35.95 kB / 0.8366 GB, free: 51.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/1.993, allocations: 0.6216 MB / 0.8372 GB, free: 50.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.903e-05/1.994, allocations: 52 kB / 0.8372 GB, free: 50.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004691/1.994, allocations: 93.7 kB / 0.8373 GB, free: 50.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.968e-05/1.994, allocations: 59.8 kB / 0.8374 GB, free: 50.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.901e-05/1.994, allocations: 54.31 kB / 0.8374 GB, free: 50.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/2.004, allocations: 5.568 MB / 0.8429 GB, free: 44.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/2.007, allocations: 0.5956 MB / 0.8434 GB, free: 43.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001738/2.008, allocations: 97.61 kB / 0.8435 GB, free: 43.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/2.011, allocations: 183.9 kB / 0.8437 GB, free: 43.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004225/2.012, allocations: 276 kB / 0.844 GB, free: 43.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000231/2.012, allocations: 120 kB / 0.8441 GB, free: 42.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007183/2.019, allocations: 3.611 MB / 0.8476 GB, free: 39.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/2.019, allocations: 0 / 0.8476 GB, free: 39.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009925/2.029, allocations: 1.469 MB / 0.849 GB, free: 37.83 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009506/2.03, allocations: 261 kB / 0.8493 GB, free: 37.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01168/2.042, allocations: 6.144 MB / 0.8553 GB, free: 31.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.469e-05/2.042, allocations: 4 kB / 0.8553 GB, free: 31.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002845/2.045, allocations: 1.583 MB / 0.8568 GB, free: 29.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00595/2.051, allocations: 0.7608 MB / 0.8576 GB, free: 29.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0328/2.084, allocations: 18.29 MB / 0.8754 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00955/2.093, allocations: 4.883 MB / 0.8802 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/2.095, allocations: 455.4 kB / 0.8807 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of SimCode: time 1.603e-06/2.095, allocations: 0 / 0.8807 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of Templates: time 0.4832/2.578, allocations: 84.46 MB / 0.9631 GB, free: 168.5 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.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.Damper2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2CalcHelperMain.o] Error 1