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.001163/0.001163, allocations: 107.2 kB / 16.52 MB, free: 6.711 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.001288/0.001288, allocations: 195.7 kB / 17.44 MB, free: 6.078 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.818/1.818, allocations: 205.1 MB / 223.3 MB, free: 12.54 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.2607/0.2607, allocations: 43.52 MB / 314.2 MB, free: 0.7695 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.002116/0.002116, allocations: 63.95 kB / 382.7 MB, free: 57.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1637, allocations: 57.8 MB / 440.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.04071/0.2044, allocations: 42.89 MB / 483.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02779/0.2322, allocations: 9.259 MB / 492.6 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01347/0.2458, allocations: 179.6 kB / 492.8 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006685/0.2525, allocations: 2.478 MB / 495.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007114/0.2598, allocations: 1.744 MB / 497 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.2623, allocations: 0.7256 MB / 497.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009485/0.2718, allocations: 6.165 MB / 0.4921 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005687/0.2775, allocations: 3.313 MB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.2807, allocations: 1.401 MB / 0.4967 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.2848, allocations: 2.375 MB / 0.499 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008202/0.2857, allocations: 240 kB / 0.4992 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.2881, allocations: 0.9323 MB / 0.5002 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002109/0.2903, allocations: 1.897 MB / 0.502 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002759/0.293, allocations: 2.178 MB / 0.5041 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006064/0.2991, allocations: 5.352 MB / 0.5094 GB, free: 6.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.2992, allocations: 0 / 0.5094 GB, free: 6.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2992, allocations: 0 / 0.5094 GB, free: 6.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002092/0.2994, allocations: 4 kB / 0.5094 GB, free: 6.113 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.01075/0.3101, allocations: 4.834 MB / 0.5141 GB, free: 1.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.3102, allocations: 12.03 kB / 0.5141 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007483/0.3177, allocations: 1.945 MB / 0.516 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006092/0.3238, allocations: 2.442 MB / 0.5184 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.3241, allocations: 258.4 kB / 0.5186 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000813/0.3249, allocations: 327.8 kB / 0.5189 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/0.3455, allocations: 10.19 MB / 0.5289 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.3457, allocations: 51.53 kB / 0.5289 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004553/0.3461, allocations: 163.8 kB / 0.5291 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3526/0.6988, allocations: 1.898 MB / 0.531 GB, free: 88.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/0.7212, allocations: 8.141 MB / 0.5389 GB, free: 87.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04866/0.7699, allocations: 39.41 MB / 0.5774 GB, free: 53.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00704/0.777, allocations: 3.291 MB / 0.5806 GB, free: 50.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.7785, allocations: 1.053 MB / 0.5816 GB, free: 49.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007675/0.7862, allocations: 5.9 MB / 0.5874 GB, free: 43.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.7863, allocations: 55.55 kB / 0.5875 GB, free: 43.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 5.601e-06/0.7863, allocations: 0 / 0.5875 GB, free: 43.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.02224/0.8085, allocations: 9.472 MB / 0.5967 GB, free: 33.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.8087, allocations: 153.4 kB / 0.5968 GB, free: 33.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/0.8134, allocations: 4.067 MB / 0.6008 GB, free: 29.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.8137, allocations: 45.7 kB / 0.6009 GB, free: 29.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.8154, allocations: 3.187 MB / 0.604 GB, free: 26.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005736/0.816, allocations: 0.6349 MB / 0.6046 GB, free: 25.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.8173, allocations: 1.218 MB / 0.6058 GB, free: 24.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.8173, allocations: 305.1 kB / 0.6061 GB, free: 23.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.8196, allocations: 1.656 MB / 0.6077 GB, free: 22.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004754/0.8243, allocations: 5.507 MB / 0.6131 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008459/0.8328, allocations: 7.787 MB / 0.6207 GB, free: 5.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/0.833, allocations: 40 kB / 0.6207 GB, free: 5.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01306/0.846, allocations: 6.915 MB / 0.6275 GB, free: 14.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.8463, allocations: 64 kB / 0.6275 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00036/0.8467, allocations: 136 kB / 0.6277 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.847, allocations: 180 kB / 0.6278 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005209/0.8522, allocations: 1.431 MB / 0.6292 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003991/0.8527, allocations: 267.3 kB / 0.6295 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/0.858, allocations: 307.5 kB / 0.6298 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/0.8591, allocations: 372 kB / 0.6301 GB, free: 11.38 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.005129/0.8643, allocations: 2.038 MB / 0.6321 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/0.8653, allocations: 351.7 kB / 0.6325 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.8689, allocations: 1.341 MB / 0.6338 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.175e-05/0.8689, allocations: 19.98 kB / 0.6338 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/0.869, allocations: 4 kB / 0.6338 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/0.869, allocations: 7.969 kB / 0.6338 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.8847, allocations: 5.831 MB / 0.6395 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.199e-05/0.8848, allocations: 19.98 kB / 0.6395 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.8861, allocations: 275.5 kB / 0.6398 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.437e-05/0.8861, allocations: 28 kB / 0.6398 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/0.8863, allocations: 55.94 kB / 0.6399 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-05/0.8864, allocations: 39.8 kB / 0.6399 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.203e-05/0.8864, allocations: 28.34 kB / 0.6399 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005728/0.8921, allocations: 3.271 MB / 0.6431 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/0.8942, allocations: 0.5199 MB / 0.6436 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/0.8954, allocations: 57.88 kB / 0.6437 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/0.8973, allocations: 59.95 kB / 0.6437 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.8976, allocations: 147.4 kB / 0.6439 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.8978, allocations: 67.94 kB / 0.6439 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00686/0.9046, allocations: 2.523 MB / 0.6464 GB, free: 10.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9047, allocations: 4 kB / 0.6464 GB, free: 10.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007277/0.9119, allocations: 0.907 MB / 0.6473 GB, free: 9.219 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.0007741/0.9128, allocations: 205.7 kB / 0.6475 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007915/0.9207, allocations: 3.775 MB / 0.6512 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/0.9207, allocations: 0 / 0.6512 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.9221, allocations: 0.7522 MB / 0.6519 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004987/0.9271, allocations: 457.4 kB / 0.6523 GB, free: 4.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/0.9505, allocations: 11.23 MB / 0.6633 GB, free: 8.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006428/0.957, allocations: 3.177 MB / 0.6664 GB, free: 5.379 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.9581, allocations: 287.4 kB / 0.6667 GB, free: 5.098 MB / 462.1 MB Notification: Performance of SimCode: time 1.402e-06/0.9581, allocations: 8 kB / 0.6667 GB, free: 5.09 MB / 462.1 MB Notification: Performance of Templates: time 0.3675/1.326, allocations: 53.23 MB / 0.7187 GB, free: 163.8 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