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.0008503/0.0008502, allocations: 95.14 kB / 16.33 MB, free: 5.938 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.0007984/0.0007984, allocations: 188 kB / 17.22 MB, free: 5.859 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.587/1.587, allocations: 205.4 MB / 223.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4563/0.4563, allocations: 43.55 MB / 315.2 MB, free: 8.777 MB / 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.0005119/0.0005123, allocations: 16 kB / 384.6 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.87 MB / 443.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3174/0.4455, allocations: 79.5 MB / 0.5107 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04644/0.492, allocations: 16.03 MB / 0.5263 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02207/0.5141, allocations: 363.5 kB / 0.5267 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01889/0.5331, allocations: 4.169 MB / 0.5307 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04043/0.5736, allocations: 12.14 MB / 0.5426 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006662/0.5802, allocations: 1.084 MB / 0.5436 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01263/0.5929, allocations: 8.2 MB / 0.5517 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/0.6081, allocations: 8.561 MB / 0.56 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006098/0.6143, allocations: 2.18 MB / 0.5621 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007135/0.6215, allocations: 3.606 MB / 0.5657 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002413/0.624, allocations: 280 kB / 0.5659 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004535/0.6285, allocations: 0.8856 MB / 0.5668 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005466/0.634, allocations: 3.058 MB / 0.5698 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00357/0.6376, allocations: 1.423 MB / 0.5712 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.6506, allocations: 9.367 MB / 0.5803 GB, free: 3.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.6506, allocations: 0 / 0.5803 GB, free: 3.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6507, allocations: 0 / 0.5803 GB, free: 3.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005762/0.6512, allocations: 0 / 0.5803 GB, free: 3.832 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.01703/0.6683, allocations: 6.799 MB / 0.587 GB, free: 12.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.6683, allocations: 12.03 kB / 0.587 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.6797, allocations: 2.78 MB / 0.5897 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009089/0.6888, allocations: 3.901 MB / 0.5935 GB, free: 6.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.6893, allocations: 463.6 kB / 0.5939 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/0.6912, allocations: 0.5817 MB / 0.5945 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04662/0.7378, allocations: 21.28 MB / 0.6153 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002143/0.7381, allocations: 67.41 kB / 0.6154 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.7391, allocations: 295.7 kB / 0.6156 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005967/0.7451, allocations: 3.541 MB / 0.6191 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5411/1.286, allocations: 17.25 MB / 0.6359 GB, free: 134.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09351/1.38, allocations: 67.88 MB / 0.7022 GB, free: 89.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0188/1.399, allocations: 6.769 MB / 0.7088 GB, free: 86.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004129/1.403, allocations: 2.34 MB / 0.7111 GB, free: 85.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01533/1.418, allocations: 9.825 MB / 0.7207 GB, free: 78.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01235/1.431, allocations: 4.412 MB / 0.725 GB, free: 76.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 6.392e-06/1.431, allocations: 4 kB / 0.725 GB, free: 76 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.05303/1.484, allocations: 23.08 MB / 0.7476 GB, free: 52.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/1.484, allocations: 163.4 kB / 0.7477 GB, free: 52.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00737/1.491, allocations: 6.019 MB / 0.7536 GB, free: 46.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000593/1.492, allocations: 77.7 kB / 0.7537 GB, free: 46.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003906/1.496, allocations: 5.298 MB / 0.7589 GB, free: 41.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.497, allocations: 1.269 MB / 0.7601 GB, free: 39.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/1.497, allocations: 196 kB / 0.7603 GB, free: 39.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003819/1.498, allocations: 0.7236 MB / 0.761 GB, free: 39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004174/1.502, allocations: 2.86 MB / 0.7638 GB, free: 36.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006637/1.509, allocations: 8.691 MB / 0.7723 GB, free: 24.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00657/1.515, allocations: 4.858 MB / 0.777 GB, free: 19.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-05/1.515, allocations: 56 kB / 0.7771 GB, free: 19.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01699/1.532, allocations: 11.31 MB / 0.7881 GB, free: 8.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.533, allocations: 120.4 kB / 0.7882 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/1.533, allocations: 208.8 kB / 0.7884 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/1.533, allocations: 308 kB / 0.7887 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006009/1.539, allocations: 2.382 MB / 0.791 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000252/1.539, allocations: 403.6 kB / 0.7914 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005993/1.545, allocations: 495.3 kB / 0.7919 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006363/1.546, allocations: 0.5799 MB / 0.7925 GB, free: 3.805 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00482/1.551, allocations: 3.394 MB / 0.7958 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008585/1.552, allocations: 0.5476 MB / 0.7963 GB, free: 15.84 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006235/1.558, allocations: 3.536 MB / 0.7998 GB, free: 12.25 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.161e-05/1.558, allocations: 37.52 kB / 0.7998 GB, free: 12.22 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.558, allocations: 4 kB / 0.7998 GB, free: 12.21 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/1.558, allocations: 15.94 kB / 0.7998 GB, free: 12.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02502/1.583, allocations: 13.81 MB / 0.8133 GB, free: 13.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.053e-05/1.583, allocations: 32 kB / 0.8133 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/1.586, allocations: 0.679 MB / 0.814 GB, free: 13.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.36e-05/1.586, allocations: 52 kB / 0.8141 GB, free: 13.15 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.586, allocations: 100.5 kB / 0.8142 GB, free: 13.05 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.804e-05/1.586, allocations: 71.78 kB / 0.8142 GB, free: 12.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.384e-05/1.586, allocations: 55.7 kB / 0.8143 GB, free: 12.93 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009437/1.595, allocations: 6.216 MB / 0.8203 GB, free: 6.09 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002809/1.598, allocations: 0.8529 MB / 0.8212 GB, free: 5.211 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/1.599, allocations: 107.9 kB / 0.8213 GB, free: 5.105 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.601, allocations: 175.9 kB / 0.8214 GB, free: 4.934 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/1.601, allocations: 308.2 kB / 0.8217 GB, free: 4.633 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.601, allocations: 136 kB / 0.8219 GB, free: 4.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006228/1.608, allocations: 3.729 MB / 0.8255 GB, free: 0.7734 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.11e-07/1.608, allocations: 0 / 0.8255 GB, free: 0.7734 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.3109/1.919, allocations: 1.575 MB / 0.8271 GB, free: 153.7 MB / 0.5138 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 (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.0008095/1.919, allocations: 274.3 kB / 0.8273 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01353/1.933, allocations: 6.604 MB / 0.8338 GB, free: 152.9 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-05/1.933, allocations: 9.625 kB / 0.8338 GB, free: 152.9 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/1.936, allocations: 1.755 MB / 0.8355 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/1.941, allocations: 0.7624 MB / 0.8362 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/1.972, allocations: 19.52 MB / 0.8553 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007581/1.98, allocations: 5.135 MB / 0.8603 GB, free: 141.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002079/1.982, allocations: 492.1 kB / 0.8608 GB, free: 141.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.493e-06/1.982, allocations: 0 / 0.8608 GB, free: 141.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.1507/2.133, allocations: 89.94 MB / 0.9486 GB, free: 71.7 MB / 0.5138 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++ 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_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