Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000992/0.0009919, allocations: 92.81 kB / 16.67 MB, free: 6.246 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.001066/0.001066, allocations: 172.6 kB / 17.57 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.948/1.948, allocations: 205.4 MB / 223.7 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.2718/0.2718, allocations: 43.58 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.0005791/0.0005792, allocations: 16.69 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1494, allocations: 58.87 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0443/0.1938, allocations: 41.71 MB / 485.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02832/0.2221, allocations: 9.209 MB / 495 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01167/0.2339, allocations: 179.6 kB / 495.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.2363, allocations: 433.7 kB / 495.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007206/0.2435, allocations: 1.76 MB / 497.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.2459, allocations: 0.7294 MB / 498.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009483/0.2554, allocations: 6.168 MB / 0.4925 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008402/0.2638, allocations: 4.557 MB / 0.4969 GB, free: 4.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.2667, allocations: 1.186 MB / 0.4981 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.2701, allocations: 2.114 MB / 0.5001 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005737/0.2706, allocations: 152 kB / 0.5003 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.2729, allocations: 0.8424 MB / 0.5011 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.2749, allocations: 1.757 MB / 0.5028 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.2773, allocations: 2.039 MB / 0.5048 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00616/0.2834, allocations: 5.225 MB / 0.5099 GB, free: 6.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.2835, allocations: 3.984 kB / 0.5099 GB, free: 6.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.2835, allocations: 3.938 kB / 0.5099 GB, free: 6.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001742/0.2837, allocations: 4 kB / 0.5099 GB, free: 6.758 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.008944/0.2926, allocations: 3.969 MB / 0.5138 GB, free: 2.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.2927, allocations: 8.031 kB / 0.5138 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007468/0.3002, allocations: 1.996 MB / 0.5158 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/0.3053, allocations: 2.438 MB / 0.5181 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.3055, allocations: 258.2 kB / 0.5184 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005692/0.306, allocations: 323.8 kB / 0.5187 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02112/0.3272, allocations: 10.21 MB / 0.5287 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002388/0.3275, allocations: 59.52 kB / 0.5287 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/0.3286, allocations: 159.8 kB / 0.5289 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003535/0.3322, allocations: 1.904 MB / 0.5307 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.391/0.7231, allocations: 8.155 MB / 0.5387 GB, free: 86.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06217/0.7854, allocations: 39.44 MB / 0.5772 GB, free: 54.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008259/0.7937, allocations: 3.277 MB / 0.5804 GB, free: 51.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.7955, allocations: 1.061 MB / 0.5814 GB, free: 49.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009059/0.8046, allocations: 5.92 MB / 0.5872 GB, free: 43.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.63e-05/0.8047, allocations: 43.56 kB / 0.5873 GB, free: 43.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 8.827e-06/0.8047, allocations: 0 / 0.5873 GB, free: 43.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.02561/0.8303, allocations: 9.49 MB / 0.5965 GB, free: 34.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.8305, allocations: 141.5 kB / 0.5967 GB, free: 33.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005152/0.8356, allocations: 4.07 MB / 0.6006 GB, free: 29.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002674/0.8359, allocations: 53.7 kB / 0.6007 GB, free: 29.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.8376, allocations: 3.181 MB / 0.6038 GB, free: 26.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005555/0.8382, allocations: 0.6411 MB / 0.6044 GB, free: 25.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004834/0.8387, allocations: 0.512 MB / 0.6049 GB, free: 25.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.8387, allocations: 305.1 kB / 0.6052 GB, free: 25.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.8409, allocations: 1.652 MB / 0.6068 GB, free: 23.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003852/0.8448, allocations: 5.517 MB / 0.6122 GB, free: 15.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00777/0.8526, allocations: 7.785 MB / 0.6198 GB, free: 6.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001386/0.8528, allocations: 40 kB / 0.6199 GB, free: 6.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01286/0.8656, allocations: 6.91 MB / 0.6266 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.8658, allocations: 65 kB / 0.6267 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003106/0.8662, allocations: 136 kB / 0.6268 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.8665, allocations: 188 kB / 0.627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005016/0.8715, allocations: 1.427 MB / 0.6284 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000354/0.8719, allocations: 267 kB / 0.6286 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005231/0.8771, allocations: 296.2 kB / 0.6289 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.8782, allocations: 373.2 kB / 0.6293 GB, free: 12.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (775): * Single equations (assignments): 772 * 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.005176/0.8834, allocations: 2.04 MB / 0.6313 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.8845, allocations: 355.3 kB / 0.6316 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.8877, allocations: 1.337 MB / 0.6329 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/0.8878, allocations: 24.92 kB / 0.6329 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.8878, allocations: 0 / 0.6329 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.8878, allocations: 11.97 kB / 0.6329 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.9028, allocations: 5.822 MB / 0.6386 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-05/0.9029, allocations: 23.98 kB / 0.6386 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.9041, allocations: 279.7 kB / 0.6389 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-05/0.9041, allocations: 24 kB / 0.6389 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.9043, allocations: 51.44 kB / 0.639 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-05/0.9044, allocations: 39.8 kB / 0.639 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.221e-05/0.9044, allocations: 27.88 kB / 0.639 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/0.9105, allocations: 3.277 MB / 0.6422 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002631/0.9132, allocations: 0.5315 MB / 0.6428 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/0.9144, allocations: 51.98 kB / 0.6428 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/0.9167, allocations: 59.91 kB / 0.6429 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.917, allocations: 147.4 kB / 0.643 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.9172, allocations: 63.98 kB / 0.6431 GB, free: 13.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007259/0.9244, allocations: 2.527 MB / 0.6455 GB, free: 11.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.9245, allocations: 0 / 0.6455 GB, free: 11.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006865/0.9313, allocations: 0.9112 MB / 0.6464 GB, free: 10.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * 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.0008691/0.9322, allocations: 209.7 kB / 0.6466 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008034/0.9403, allocations: 3.781 MB / 0.6503 GB, free: 6.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/0.9403, allocations: 4 kB / 0.6503 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.9417, allocations: 0.7461 MB / 0.6511 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01224/0.9539, allocations: 458.4 kB / 0.6515 GB, free: 5.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/0.9769, allocations: 11.32 MB / 0.6626 GB, free: 9.691 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005947/0.9829, allocations: 3.173 MB / 0.6657 GB, free: 6.484 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.984, allocations: 295.4 kB / 0.6659 GB, free: 6.195 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.984, allocations: 0 / 0.6659 GB, free: 6.195 MB / 462.1 MB Notification: Performance of Templates: time 0.1036/1.088, allocations: 52.43 MB / 0.7171 GB, free: 1.777 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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.SpringCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringCalcHelperMain.o] Error 1