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.001819/0.001819, allocations: 104.9 kB / 16.52 MB, free: 6.266 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.002268/0.002267, allocations: 193.4 kB / 17.44 MB, free: 5.887 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.866/1.866, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2548/0.2548, allocations: 43.52 MB / 314.1 MB, free: 0.7422 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.001911/0.001911, allocations: 69.23 kB / 382.7 MB, free: 57.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1667, allocations: 57.79 MB / 440.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.08989/0.2567, allocations: 87.54 MB / 0.5156 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4424/0.6991, allocations: 16.72 MB / 0.532 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0269/0.726, allocations: 368.3 kB / 0.5323 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01179/0.7379, allocations: 5.229 MB / 0.5374 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009994/0.748, allocations: 2.581 MB / 0.5399 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00478/0.7528, allocations: 1.09 MB / 0.541 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01836/0.7712, allocations: 10.25 MB / 0.551 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01123/0.7825, allocations: 6.538 MB / 0.5574 GB, free: 152 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008647/0.7912, allocations: 2.551 MB / 0.5599 GB, free: 0 / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009994/0.8012, allocations: 4.29 MB / 0.5641 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003553/0.8048, allocations: 482.7 kB / 0.5645 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006012/0.8108, allocations: 1.226 MB / 0.5657 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00703/0.8179, allocations: 3.408 MB / 0.5691 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01156/0.8295, allocations: 3.878 MB / 0.5729 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.8455, allocations: 9.567 MB / 0.5822 GB, free: 5.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8456, allocations: 4 kB / 0.5822 GB, free: 5.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.8456, allocations: 0 / 0.5822 GB, free: 5.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006777/0.8463, allocations: 0 / 0.5822 GB, free: 5.145 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.02993/0.8762, allocations: 8.193 MB / 0.5902 GB, free: 13.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.8763, allocations: 8.031 kB / 0.5902 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/0.8895, allocations: 2.719 MB / 0.5929 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/0.9012, allocations: 3.947 MB / 0.5967 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006365/0.9018, allocations: 458.7 kB / 0.5972 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003741/0.9056, allocations: 0.5849 MB / 0.5977 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05518/0.9608, allocations: 21.22 MB / 0.6185 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003361/0.9612, allocations: 70.03 kB / 0.6185 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002574/0.9638, allocations: 283.3 kB / 0.6188 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006929/0.9707, allocations: 3.543 MB / 0.6223 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0463/1.017, allocations: 17.2 MB / 0.6391 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1113/1.128, allocations: 67.84 MB / 0.7053 GB, free: 6.379 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01838/1.147, allocations: 6.684 MB / 0.7118 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004008/1.151, allocations: 2.29 MB / 0.7141 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01815/1.169, allocations: 9.784 MB / 0.7236 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/1.169, allocations: 67 kB / 0.7237 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=296): time 5.971e-06/1.169, allocations: 0 / 0.7237 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=330): time 0.6373/1.806, allocations: 22.76 MB / 0.7459 GB, free: 244.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.807, allocations: 163 kB / 0.7461 GB, free: 244 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01709/1.824, allocations: 6.027 MB / 0.752 GB, free: 243.2 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001075/1.825, allocations: 77.67 kB / 0.752 GB, free: 243.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.006005/1.831, allocations: 5.193 MB / 0.7571 GB, free: 239.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00226/1.833, allocations: 1.25 MB / 0.7583 GB, free: 238.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003959/1.837, allocations: 1.934 MB / 0.7602 GB, free: 237.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/1.837, allocations: 306 kB / 0.7605 GB, free: 237 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006292/1.844, allocations: 2.85 MB / 0.7633 GB, free: 236.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01304/1.857, allocations: 8.678 MB / 0.7718 GB, free: 227.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01979/1.876, allocations: 12.51 MB / 0.784 GB, free: 216.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005951/1.877, allocations: 60.97 kB / 0.784 GB, free: 216.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02895/1.906, allocations: 11.26 MB / 0.795 GB, free: 212.2 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006695/1.907, allocations: 90.34 kB / 0.7951 GB, free: 212.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008784/1.908, allocations: 206.6 kB / 0.7953 GB, free: 212.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007026/1.908, allocations: 272 kB / 0.7956 GB, free: 211.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00932/1.918, allocations: 2.363 MB / 0.7979 GB, free: 209.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000776/1.919, allocations: 402.5 kB / 0.7983 GB, free: 209.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/1.929, allocations: 480.8 kB / 0.7987 GB, free: 209 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002374/1.931, allocations: 0.5777 MB / 0.7993 GB, free: 208.5 MB / 0.5763 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.01064/1.942, allocations: 3.383 MB / 0.8026 GB, free: 205.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002044/1.944, allocations: 0.5399 MB / 0.8031 GB, free: 204.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009611/1.954, allocations: 3.452 MB / 0.8065 GB, free: 201.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.005e-05/1.954, allocations: 36 kB / 0.8065 GB, free: 201.6 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.181e-05/1.954, allocations: 0 / 0.8065 GB, free: 201.6 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/1.954, allocations: 22.7 kB / 0.8066 GB, free: 201.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03449/1.988, allocations: 13.78 MB / 0.82 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.104e-05/1.988, allocations: 32 kB / 0.82 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/1.991, allocations: 0.613 MB / 0.8206 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.281e-05/1.991, allocations: 51.98 kB / 0.8207 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/1.991, allocations: 99.98 kB / 0.8208 GB, free: 186.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.152e-05/1.991, allocations: 67.73 kB / 0.8208 GB, free: 186.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.868e-05/1.991, allocations: 55.73 kB / 0.8209 GB, free: 186.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007938/1.999, allocations: 6.308 MB / 0.8271 GB, free: 179.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00304/2.002, allocations: 0.8375 MB / 0.8279 GB, free: 178.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008663/2.003, allocations: 99.97 kB / 0.828 GB, free: 178.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/2.005, allocations: 151.8 kB / 0.8281 GB, free: 178.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003895/2.005, allocations: 296.1 kB / 0.8284 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/2.006, allocations: 136 kB / 0.8285 GB, free: 178 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006633/2.012, allocations: 3.752 MB / 0.8322 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6.51e-07/2.012, allocations: 0 / 0.8322 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01126/2.023, allocations: 1.57 MB / 0.8337 GB, free: 172.7 MB / 0.5763 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.0007649/2.024, allocations: 283.7 kB / 0.834 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01187/2.036, allocations: 6.509 MB / 0.8403 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.661e-05/2.036, allocations: 4 kB / 0.8404 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002916/2.039, allocations: 1.568 MB / 0.8419 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/2.05, allocations: 0.7574 MB / 0.8426 GB, free: 163.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04582/2.096, allocations: 20.13 MB / 0.8623 GB, free: 143 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00906/2.105, allocations: 5.139 MB / 0.8673 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/2.107, allocations: 487.4 kB / 0.8678 GB, free: 137.4 MB / 0.5763 GB Notification: Performance of SimCode: time 2.014e-06/2.107, allocations: 4 kB / 0.8678 GB, free: 137.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.16/2.267, allocations: 90.36 MB / 0.956 GB, free: 46.95 MB / 0.5763 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