Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00103/0.00103, allocations: 87.53 kB / 17.63 MB, free: 6.293 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.001239/0.001239, allocations: 180.5 kB / 18.52 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 242.5 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2423/0.2423, allocations: 44.23 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004259, allocations: 12 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1551, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.04021/0.1953, allocations: 38.78 MB / 0.499 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3862/0.5816, allocations: 8.756 MB / 0.5075 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01069/0.5923, allocations: 180.7 kB / 0.5077 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009027/0.6014, allocations: 1.987 MB / 0.5096 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02356/0.625, allocations: 6.016 MB / 0.5155 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.6288, allocations: 0.6739 MB / 0.5162 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009896/0.6387, allocations: 4.892 MB / 0.521 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008392/0.6471, allocations: 4.145 MB / 0.525 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004251/0.6514, allocations: 1.272 MB / 0.5262 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004509/0.656, allocations: 2.085 MB / 0.5283 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.6573, allocations: 152.9 kB / 0.5284 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.6604, allocations: 0.737 MB / 0.5291 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002854/0.6633, allocations: 1.706 MB / 0.5308 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.6649, allocations: 0.8378 MB / 0.5316 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006737/0.6717, allocations: 5.209 MB / 0.5367 GB, free: 2.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.6717, allocations: 0 / 0.5367 GB, free: 2.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.788e-06/0.6717, allocations: 0 / 0.5367 GB, free: 2.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002571/0.672, allocations: 6.781 kB / 0.5367 GB, free: 2.773 MB / 382.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.008871/0.6809, allocations: 4.007 MB / 0.5406 GB, free: 328 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.6809, allocations: 18.2 kB / 0.5407 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007824/0.6888, allocations: 2.041 MB / 0.5426 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006271/0.6951, allocations: 2.305 MB / 0.5449 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.6954, allocations: 253.3 kB / 0.5451 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/0.6969, allocations: 327.5 kB / 0.5454 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02394/0.7209, allocations: 10.19 MB / 0.5554 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.7211, allocations: 41.69 kB / 0.5554 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004743/0.7216, allocations: 166.1 kB / 0.5556 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002982/0.7246, allocations: 1.908 MB / 0.5575 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/0.7432, allocations: 8.117 MB / 0.5654 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05349/0.7967, allocations: 39.41 MB / 0.6039 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007684/0.8045, allocations: 3.268 MB / 0.6071 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.8062, allocations: 1.046 MB / 0.6081 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.8164, allocations: 5.909 MB / 0.6139 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/0.8165, allocations: 47.56 kB / 0.6139 GB, free: 11.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 5.39e-06/0.8166, allocations: 4 kB / 0.6139 GB, free: 11.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02589/0.8425, allocations: 9.439 MB / 0.6231 GB, free: 2.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.8426, allocations: 145.5 kB / 0.6233 GB, free: 2.008 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006227/0.8489, allocations: 4.027 MB / 0.6272 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002893/0.8492, allocations: 49.7 kB / 0.6272 GB, free: 13.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00253/0.8517, allocations: 3.18 MB / 0.6303 GB, free: 10.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007662/0.8525, allocations: 0.6368 MB / 0.631 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.8527, allocations: 122.2 kB / 0.6311 GB, free: 9.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003827/0.8531, allocations: 0.5584 MB / 0.6316 GB, free: 9.422 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/0.8558, allocations: 1.624 MB / 0.6332 GB, free: 7.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005654/0.8614, allocations: 5.495 MB / 0.6386 GB, free: 372 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/0.8662, allocations: 2.927 MB / 0.6414 GB, free: 13.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-05/0.8663, allocations: 36 kB / 0.6415 GB, free: 13.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01422/0.8805, allocations: 6.866 MB / 0.6482 GB, free: 6.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.8807, allocations: 64 kB / 0.6482 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002492/0.8809, allocations: 136.2 kB / 0.6484 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.8812, allocations: 208 kB / 0.6486 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004442/0.8857, allocations: 1.439 MB / 0.65 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002238/0.8859, allocations: 270.9 kB / 0.6502 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004446/0.8904, allocations: 295.7 kB / 0.6505 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006738/0.8911, allocations: 373.9 kB / 0.6509 GB, free: 3.773 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003886/0.895, allocations: 2.025 MB / 0.6529 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009502/0.8959, allocations: 351.4 kB / 0.6532 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.8986, allocations: 1.342 MB / 0.6545 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.8986, allocations: 16 kB / 0.6545 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/0.8986, allocations: 11.94 kB / 0.6545 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.286e-05/0.8987, allocations: 4.062 kB / 0.6545 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.912, allocations: 5.816 MB / 0.6602 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-05/0.9121, allocations: 23.94 kB / 0.6602 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.9132, allocations: 287.5 kB / 0.6605 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.1e-05/0.9132, allocations: 28 kB / 0.6605 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.9133, allocations: 47.98 kB / 0.6606 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-05/0.9134, allocations: 35.86 kB / 0.6606 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.005e-05/0.9134, allocations: 27.88 kB / 0.6606 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/0.9181, allocations: 3.259 MB / 0.6638 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.9194, allocations: 424.4 kB / 0.6642 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003345/0.9198, allocations: 50.41 kB / 0.6643 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.9209, allocations: 67.95 kB / 0.6643 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.9211, allocations: 147.3 kB / 0.6645 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.9212, allocations: 69.97 kB / 0.6645 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004787/0.926, allocations: 2.484 MB / 0.667 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.21e-07/0.9261, allocations: 0 / 0.667 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006274/0.9323, allocations: 0.9062 MB / 0.6679 GB, free: 1.789 MB / 0.4981 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.0005508/0.9329, allocations: 203.7 kB / 0.6681 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007754/0.9407, allocations: 3.742 MB / 0.6717 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.257e-05/0.9407, allocations: 8.125 kB / 0.6717 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.942, allocations: 0.7369 MB / 0.6724 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.9453, allocations: 467 kB / 0.6729 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/0.9653, allocations: 10.85 MB / 0.6835 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003855/0.9692, allocations: 3.177 MB / 0.6866 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009376/0.9701, allocations: 291.4 kB / 0.6869 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of SimCode: time 1.864e-06/0.9702, allocations: 0 / 0.6869 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of Templates: time 0.4402/1.41, allocations: 52.6 MB / 0.7382 GB, free: 150.2 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.SpringCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringCalcHelperMain.o] Error 1