Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 89.08 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 197.5 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 45.92 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 63.47 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.4052/0.5735, allocations: 38.78 MB / 0.5087 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0254/0.5989, allocations: 8.78 MB / 0.5173 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01064/0.6096, allocations: 188 kB / 0.5174 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00834/0.618, allocations: 1.993 MB / 0.5194 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02077/0.6388, allocations: 6.002 MB / 0.5252 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.6425, allocations: 0.673 MB / 0.5259 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008955/0.6515, allocations: 5.011 MB / 0.5308 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008113/0.6597, allocations: 4.128 MB / 0.5348 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/0.6647, allocations: 1.278 MB / 0.5361 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005312/0.6701, allocations: 2.085 MB / 0.5381 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.6714, allocations: 150.5 kB / 0.5383 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.6742, allocations: 0.7036 MB / 0.5389 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.6765, allocations: 1.718 MB / 0.5406 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.678, allocations: 0.8311 MB / 0.5414 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006802/0.6848, allocations: 5.246 MB / 0.5466 GB, free: 0 / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.6848, allocations: 2.812 kB / 0.5466 GB, free: 0 / 382.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.6849, allocations: 11.97 kB / 0.5466 GB, free: 15.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002812/0.6852, allocations: 0 / 0.5466 GB, free: 15.98 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.009522/0.6947, allocations: 4.004 MB / 0.5505 GB, free: 12.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6947, allocations: 8.562 kB / 0.5505 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007415/0.7022, allocations: 2.001 MB / 0.5524 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/0.7078, allocations: 2.248 MB / 0.5546 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.7081, allocations: 251.3 kB / 0.5549 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008418/0.7089, allocations: 326.7 kB / 0.5552 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/0.7296, allocations: 10.23 MB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/0.7298, allocations: 47.59 kB / 0.5652 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004504/0.7303, allocations: 160.2 kB / 0.5654 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002819/0.7331, allocations: 1.913 MB / 0.5672 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/0.752, allocations: 8.154 MB / 0.5752 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05786/0.8099, allocations: 39.41 MB / 0.6137 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007658/0.8176, allocations: 3.308 MB / 0.6169 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.8192, allocations: 1.045 MB / 0.6179 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00875/0.8279, allocations: 6 MB / 0.6238 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.828, allocations: 51.55 kB / 0.6239 GB, free: 1.441 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 4.368e-06/0.828, allocations: 0 / 0.6239 GB, free: 1.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02315/0.8512, allocations: 9.543 MB / 0.6332 GB, free: 7.801 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.8513, allocations: 145.5 kB / 0.6333 GB, free: 7.629 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005869/0.8572, allocations: 4.029 MB / 0.6373 GB, free: 3.578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.8574, allocations: 45.7 kB / 0.6373 GB, free: 3.527 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002247/0.8597, allocations: 3.185 MB / 0.6404 GB, free: 368 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006652/0.8603, allocations: 0.6381 MB / 0.641 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.8606, allocations: 120 kB / 0.6411 GB, free: 15.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003551/0.8609, allocations: 0.5623 MB / 0.6417 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/0.8642, allocations: 1.644 MB / 0.6433 GB, free: 13.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007225/0.8714, allocations: 5.497 MB / 0.6487 GB, free: 5.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005359/0.8768, allocations: 2.947 MB / 0.6515 GB, free: 3.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.6e-05/0.8769, allocations: 44 kB / 0.6516 GB, free: 2.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01418/0.8911, allocations: 6.883 MB / 0.6583 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.8913, allocations: 64 kB / 0.6584 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001677/0.8915, allocations: 136 kB / 0.6585 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.8917, allocations: 200 kB / 0.6587 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/0.8963, allocations: 1.439 MB / 0.6601 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002474/0.8966, allocations: 268.4 kB / 0.6603 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004364/0.901, allocations: 307.7 kB / 0.6606 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005741/0.9016, allocations: 374.4 kB / 0.661 GB, free: 9.324 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003932/0.9055, allocations: 2.029 MB / 0.663 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/0.9063, allocations: 351.5 kB / 0.6633 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008358/0.9071, allocations: 414.8 kB / 0.6637 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/0.9071, allocations: 20 kB / 0.6637 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.9072, allocations: 3.984 kB / 0.6637 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.9072, allocations: 3.984 kB / 0.6637 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.9172, allocations: 5.853 MB / 0.6695 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.667e-05/0.9173, allocations: 20 kB / 0.6695 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009492/0.9182, allocations: 283.5 kB / 0.6697 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.193e-05/0.9183, allocations: 28.66 kB / 0.6698 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.9184, allocations: 56.28 kB / 0.6698 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.818e-05/0.9184, allocations: 35.81 kB / 0.6699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.961e-05/0.9184, allocations: 27.88 kB / 0.6699 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004292/0.9227, allocations: 3.305 MB / 0.6731 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.924, allocations: 428.3 kB / 0.6735 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/0.9243, allocations: 47.98 kB / 0.6736 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.9254, allocations: 75.95 kB / 0.6736 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.9256, allocations: 139.5 kB / 0.6738 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.9257, allocations: 74.64 kB / 0.6738 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004504/0.9302, allocations: 2.484 MB / 0.6763 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9302, allocations: 4 kB / 0.6763 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006118/0.9363, allocations: 0.8945 MB / 0.6771 GB, free: 8.207 MB / 0.5137 GB 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 (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.0005047/0.9369, allocations: 211.4 kB / 0.6773 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006873/0.9437, allocations: 3.781 MB / 0.681 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/0.9438, allocations: 4 kB / 0.681 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.9449, allocations: 0.754 MB / 0.6818 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.948, allocations: 463.5 kB / 0.6822 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/0.9661, allocations: 10.86 MB / 0.6928 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003417/0.9696, allocations: 3.169 MB / 0.6959 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009298/0.9705, allocations: 287.4 kB / 0.6962 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of SimCode: time 2.735e-06/0.9705, allocations: 0 / 0.6962 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of Templates: time 0.4072/1.378, allocations: 52.56 MB / 0.7475 GB, free: 183.3 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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.SpringCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringCalcHelperMain.o] Error 1