Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 92.98 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 196.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.707/1.707, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002521/0.0002521, allocations: 8 kB / 307.3 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1314, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.3347/0.4662, allocations: 30.3 MB / 389.1 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02157/0.4879, allocations: 6.351 MB / 395.4 MB, free: 364 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009791/0.4977, allocations: 142.3 kB / 395.6 MB, free: 340 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008134/0.5059, allocations: 1.539 MB / 397.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01933/0.5253, allocations: 4.566 MB / 401.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.5277, allocations: 208.2 kB / 401.9 MB, free: 13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04491/0.5726, allocations: 31.14 MB / 433 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004577/0.5773, allocations: 2.452 MB / 435.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.5793, allocations: 0.8366 MB / 436.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.5819, allocations: 1.374 MB / 437.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005277/0.5824, allocations: 92 kB / 437.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.5838, allocations: 0.4953 MB / 438.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.5854, allocations: 1.274 MB / 439.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008232/0.5863, allocations: 0.6051 MB / 440.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00452/0.5908, allocations: 3.523 MB / 443.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5908, allocations: 0 / 443.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5908, allocations: 0 / 443.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001638/0.591, allocations: 0 / 443.7 MB, free: 6.832 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.006351/0.5974, allocations: 2.842 MB / 446.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5974, allocations: 16.02 kB / 446.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006459/0.6039, allocations: 1.723 MB / 448.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/0.6078, allocations: 1.436 MB / 449.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.608, allocations: 147.8 kB / 449.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005937/0.6086, allocations: 203.9 kB / 450 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.6221, allocations: 6.967 MB / 457 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.459e-05/0.6222, allocations: 23.75 kB / 457 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/0.6225, allocations: 103.9 kB / 457.1 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002343/0.6248, allocations: 1.559 MB / 458.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.6364, allocations: 5.454 MB / 464.1 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03601/0.6725, allocations: 27.18 MB / 491.3 MB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/0.6754, allocations: 1.595 MB / 492.9 MB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007397/0.6762, allocations: 471.7 kB / 493.4 MB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004502/0.6807, allocations: 2.577 MB / 496 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.6808, allocations: 42.47 kB / 496 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=80): time 4.218e-06/0.6808, allocations: 0 / 496 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of matching and sorting (n=80): time 0.003877/0.6847, allocations: 1.64 MB / 497.6 MB, free: 14.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.6848, allocations: 195.9 kB / 497.8 MB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006405/0.6912, allocations: 3.415 MB / 0.4895 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.6915, allocations: 41.83 kB / 0.4895 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002646/0.6942, allocations: 2.591 MB / 0.4921 GB, free: 8.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000595/0.6948, allocations: 363.9 kB / 0.4924 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.695, allocations: 95.98 kB / 0.4925 GB, free: 8.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003336/0.6953, allocations: 0.5006 MB / 0.493 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.6973, allocations: 1.18 MB / 0.4941 GB, free: 6.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004139/0.7014, allocations: 4.549 MB / 0.4986 GB, free: 184 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.7048, allocations: 2.292 MB / 0.5008 GB, free: 13.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.338e-05/0.7049, allocations: 36 kB / 0.5009 GB, free: 13.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01108/0.716, allocations: 5.391 MB / 0.5061 GB, free: 8.457 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.7162, allocations: 58.66 kB / 0.5062 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002132/0.7164, allocations: 120 kB / 0.5063 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.7167, allocations: 176 kB / 0.5065 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003362/0.72, allocations: 1.103 MB / 0.5075 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001965/0.7202, allocations: 231.1 kB / 0.5078 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/0.7246, allocations: 0.6962 MB / 0.5084 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006442/0.7253, allocations: 316 kB / 0.5087 GB, free: 5.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (597): * Single equations (assignments): 594 * 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.0032/0.7285, allocations: 1.677 MB / 0.5104 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/0.7291, allocations: 276.4 kB / 0.5106 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009174/0.73, allocations: 467.6 kB / 0.5111 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/0.7301, allocations: 12 kB / 0.5111 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.7301, allocations: 4 kB / 0.5111 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7301, allocations: 3.984 kB / 0.5111 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/0.7354, allocations: 3.044 MB / 0.5141 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.7354, allocations: 4 kB / 0.5141 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.7358, allocations: 103.8 kB / 0.5142 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.7359, allocations: 8 kB / 0.5142 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.7359, allocations: 16 kB / 0.5142 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.7359, allocations: 8 kB / 0.5142 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.7359, allocations: 11.89 kB / 0.5142 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.7383, allocations: 2.004 MB / 0.5162 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008054/0.7391, allocations: 421.2 kB / 0.5166 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.7393, allocations: 20.05 kB / 0.5166 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007243/0.74, allocations: 35.97 kB / 0.5166 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.7401, allocations: 43.84 kB / 0.5167 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.7402, allocations: 27.98 kB / 0.5167 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003291/0.7435, allocations: 2.173 MB / 0.5188 GB, free: 11.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7435, allocations: 0 / 0.5188 GB, free: 11.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004442/0.748, allocations: 0.8216 MB / 0.5196 GB, free: 10.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * 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 (57): * Single equations (assignments): 54 * 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.0004509/0.7484, allocations: 155.1 kB / 0.5198 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005069/0.7535, allocations: 2.754 MB / 0.5225 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.7535, allocations: 4.25 kB / 0.5225 GB, free: 7.543 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.7541, allocations: 395.6 kB / 0.5228 GB, free: 7.156 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.7564, allocations: 358.1 kB / 0.5232 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3279/1.084, allocations: 8.199 MB / 0.5312 GB, free: 122.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005736/1.09, allocations: 2.551 MB / 0.5337 GB, free: 121.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.091, allocations: 224.3 kB / 0.5339 GB, free: 121.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.753e-06/1.091, allocations: 0 / 0.5339 GB, free: 121.8 MB / 446.1 MB Notification: Performance of Templates: time 0.107/1.198, allocations: 63.36 MB / 0.5958 GB, free: 72.62 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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 OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SurfacesCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SurfacesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SurfacesCalcHelperMain.o] Error 1