Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009863/0.0009867, allocations: 88.48 kB / 17.63 MB, free: 5.719 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.001263/0.001263, allocations: 179.9 kB / 18.52 MB, free: 5.172 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.594/1.594, allocations: 223.3 MB / 242.5 MB, free: 232 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.261/0.261, allocations: 44.22 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 8.688 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0296/0.1814, allocations: 23.58 MB / 495.8 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.1996, allocations: 5.963 MB / 0.49 GB, free: 100 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006656/0.2064, allocations: 111.8 kB / 0.4901 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004349/0.2108, allocations: 1.046 MB / 0.4911 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01162/0.2224, allocations: 3.304 MB / 0.4943 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.2247, allocations: 447.3 kB / 0.4948 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003482/0.2282, allocations: 1.866 MB / 0.4966 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003234/0.2314, allocations: 1.969 MB / 0.4985 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.2325, allocations: 0.5137 MB / 0.499 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.2336, allocations: 0.7867 MB / 0.4998 GB, free: 6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.2338, allocations: 56 kB / 0.4998 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.2349, allocations: 455.4 kB / 0.5003 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006251/0.2355, allocations: 0.6194 MB / 0.5009 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.2359, allocations: 316.8 kB / 0.5012 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.2378, allocations: 1.902 MB / 0.503 GB, free: 2.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2378, allocations: 4 kB / 0.503 GB, free: 2.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2378, allocations: 0 / 0.503 GB, free: 2.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.2378, allocations: 0 / 0.503 GB, free: 2.652 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003216/0.241, allocations: 1.712 MB / 0.5047 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.2411, allocations: 12.56 kB / 0.5047 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.2421, allocations: 269.5 kB / 0.505 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.352/0.5941, allocations: 1.03 MB / 0.506 GB, free: 50.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.5943, allocations: 98.16 kB / 0.5061 GB, free: 50.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.5946, allocations: 124.2 kB / 0.5062 GB, free: 50.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006213/0.6008, allocations: 2.988 MB / 0.5091 GB, free: 50.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.811e-05/0.6009, allocations: 10.09 kB / 0.5091 GB, free: 50.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.601, allocations: 63.5 kB / 0.5092 GB, free: 50.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007126/0.6017, allocations: 430.4 kB / 0.5096 GB, free: 49.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004991/0.6067, allocations: 2.16 MB / 0.5117 GB, free: 49.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/0.6238, allocations: 10.74 MB / 0.5222 GB, free: 42.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004783/0.6286, allocations: 1.228 MB / 0.5234 GB, free: 41.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008955/0.6295, allocations: 405.7 kB / 0.5238 GB, free: 41.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005987/0.6356, allocations: 3.003 MB / 0.5267 GB, free: 39.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.6357, allocations: 37.56 kB / 0.5267 GB, free: 39.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 4.158e-06/0.6357, allocations: 0 / 0.5267 GB, free: 39.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.0111/0.6468, allocations: 3.749 MB / 0.5304 GB, free: 36.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.6469, allocations: 89.19 kB / 0.5305 GB, free: 36.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.6485, allocations: 1.185 MB / 0.5316 GB, free: 35.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.6486, allocations: 37.7 kB / 0.5317 GB, free: 35.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005044/0.6491, allocations: 0.9341 MB / 0.5326 GB, free: 34.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.6492, allocations: 226.1 kB / 0.5328 GB, free: 34.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.6493, allocations: 32 kB / 0.5328 GB, free: 34.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.6494, allocations: 369.9 kB / 0.5332 GB, free: 34.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.65, allocations: 411.7 kB / 0.5336 GB, free: 33.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009263/0.6509, allocations: 1.254 MB / 0.5348 GB, free: 32.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.6518, allocations: 0.6837 MB / 0.5355 GB, free: 31.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/0.6518, allocations: 8 kB / 0.5355 GB, free: 31.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00243/0.6542, allocations: 1.711 MB / 0.5371 GB, free: 29.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.6543, allocations: 20 kB / 0.5372 GB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-05/0.6543, allocations: 28 kB / 0.5372 GB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.6545, allocations: 92.81 kB / 0.5373 GB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009844/0.6555, allocations: 359.3 kB / 0.5376 GB, free: 29.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.6569, allocations: 1.701 MB / 0.5393 GB, free: 27.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.6581, allocations: 67.98 kB / 0.5394 GB, free: 27.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.6582, allocations: 88.06 kB / 0.5394 GB, free: 27.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001018/0.6592, allocations: 0.64 MB / 0.5401 GB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.6594, allocations: 114.6 kB / 0.5402 GB, free: 26.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.6606, allocations: 0.7077 MB / 0.5409 GB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.6607, allocations: 8 kB / 0.5409 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6607, allocations: 0.5 kB / 0.5409 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6607, allocations: 3.984 kB / 0.5409 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/0.6642, allocations: 2.228 MB / 0.543 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.6642, allocations: 9.359 kB / 0.5431 GB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.6646, allocations: 99.83 kB / 0.5432 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.6647, allocations: 61.61 kB / 0.5432 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.6648, allocations: 16 kB / 0.5432 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.666, allocations: 1.754 MB / 0.5449 GB, free: 21.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.666, allocations: 4 kB / 0.5449 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.6672, allocations: 1.091 MB / 0.546 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.6675, allocations: 183.7 kB / 0.5462 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.6677, allocations: 20.05 kB / 0.5462 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.668, allocations: 27.98 kB / 0.5462 GB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.6681, allocations: 47.84 kB / 0.5463 GB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.6681, allocations: 20 kB / 0.5463 GB, free: 20 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009292/0.6691, allocations: 0.7519 MB / 0.547 GB, free: 19.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6691, allocations: 0 / 0.547 GB, free: 19.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00148/0.6706, allocations: 300 kB / 0.5473 GB, free: 18.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.6708, allocations: 134.8 kB / 0.5474 GB, free: 18.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.6726, allocations: 1.087 MB / 0.5485 GB, free: 17.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.6726, allocations: 8 kB / 0.5485 GB, free: 17.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004663/0.6731, allocations: 399.6 kB / 0.5489 GB, free: 17.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6741, allocations: 178.3 kB / 0.5491 GB, free: 17.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.6792, allocations: 3.524 MB / 0.5525 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.6803, allocations: 1.455 MB / 0.5539 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.6806, allocations: 87.44 kB / 0.554 GB, free: 11.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6806, allocations: 0 / 0.554 GB, free: 11.96 MB / 382.1 MB Notification: Performance of Templates: time 0.03359/0.7142, allocations: 22.21 MB / 0.5757 GB, free: 5.773 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.Joints.PrismaticInitCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInitCalcHelperMain.o] Error 1