Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 108.2 kB / 16.52 MB, free: 6.723 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.001792/0.001792, allocations: 195.6 kB / 17.44 MB, free: 6.055 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.864/1.864, allocations: 205.1 MB / 223.3 MB, free: 12.53 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.2541/0.2541, allocations: 43.51 MB / 314.1 MB, free: 0.7656 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.001665/0.001665, allocations: 60.28 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1343, allocations: 57.8 MB / 440.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0337/0.1681, allocations: 30.06 MB / 470.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01871/0.1868, allocations: 6.778 MB / 477.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006993/0.1939, allocations: 123.7 kB / 477.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.197, allocations: 1.281 MB / 478.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004639/0.2018, allocations: 1.666 MB / 480.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009833/0.2028, allocations: 391.4 kB / 480.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005996/0.2088, allocations: 5.116 MB / 485.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002696/0.2115, allocations: 1.996 MB / 487.9 MB, free: 7.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.2132, allocations: 1.082 MB / 489 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.2155, allocations: 1.857 MB / 490.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004383/0.2159, allocations: 176 kB / 491 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.2176, allocations: 0.8033 MB / 491.8 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.2192, allocations: 1.585 MB / 493.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.221, allocations: 1.882 MB / 495.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004866/0.2259, allocations: 4.822 MB / 0.4884 GB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2259, allocations: 0 / 0.4884 GB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.226, allocations: 0 / 0.4884 GB, free: 11.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00011/0.2261, allocations: 0 / 0.4884 GB, free: 11.67 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.008213/0.2343, allocations: 4.148 MB / 0.4924 GB, free: 7.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.2344, allocations: 15.97 kB / 0.4924 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.2447, allocations: 3.08 MB / 0.4954 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004854/0.2496, allocations: 1.983 MB / 0.4974 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.2498, allocations: 197.2 kB / 0.4976 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006142/0.2505, allocations: 255.7 kB / 0.4978 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.2682, allocations: 10.39 MB / 0.5079 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.705e-05/0.2683, allocations: 23.81 kB / 0.508 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/0.2687, allocations: 123.8 kB / 0.5081 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004177/0.2729, allocations: 2.55 MB / 0.5106 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/0.293, allocations: 9.463 MB / 0.5198 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3979/0.691, allocations: 32.45 MB / 0.5515 GB, free: 67.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/0.6991, allocations: 3.377 MB / 0.5548 GB, free: 66.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/0.702, allocations: 1.081 MB / 0.5559 GB, free: 66.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/0.7036, allocations: 1.305 MB / 0.5571 GB, free: 65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.497e-05/0.7038, allocations: 59.94 kB / 0.5572 GB, free: 64.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 8.175e-06/0.7038, allocations: 0 / 0.5572 GB, free: 64.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.02514/0.7289, allocations: 9.774 MB / 0.5667 GB, free: 61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.729, allocations: 94 kB / 0.5668 GB, free: 60.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004213/0.7333, allocations: 2.661 MB / 0.5694 GB, free: 59.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.7335, allocations: 49.14 kB / 0.5695 GB, free: 59.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.7353, allocations: 2.745 MB / 0.5722 GB, free: 57.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006395/0.736, allocations: 0.7138 MB / 0.5728 GB, free: 56.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.7373, allocations: 0.9839 MB / 0.5738 GB, free: 56.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.7374, allocations: 301.1 kB / 0.5741 GB, free: 55.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.7394, allocations: 1.565 MB / 0.5756 GB, free: 55.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004/0.7434, allocations: 4.481 MB / 0.58 GB, free: 49.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006614/0.75, allocations: 6.687 MB / 0.5865 GB, free: 41.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-05/0.7501, allocations: 32.88 kB / 0.5866 GB, free: 41.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.008046/0.7582, allocations: 5.96 MB / 0.5924 GB, free: 35.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.042e-05/0.7583, allocations: 50.03 kB / 0.5924 GB, free: 35.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.392e-05/0.7584, allocations: 104 kB / 0.5925 GB, free: 35.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/0.7587, allocations: 178.8 kB / 0.5927 GB, free: 35.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/0.7613, allocations: 1.099 MB / 0.5938 GB, free: 33.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.7627, allocations: 1.691 MB / 0.5954 GB, free: 32.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/0.7658, allocations: 215.9 kB / 0.5956 GB, free: 31.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003181/0.7661, allocations: 299.5 kB / 0.5959 GB, free: 31.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (609): * Single equations (assignments): 602 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00362/0.7698, allocations: 2.029 MB / 0.5979 GB, free: 29.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005869/0.7704, allocations: 248.7 kB / 0.5981 GB, free: 29.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/0.7739, allocations: 2.549 MB / 0.6006 GB, free: 26.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.7739, allocations: 20 kB / 0.6006 GB, free: 26.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.7739, allocations: 0 / 0.6006 GB, free: 26.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.774, allocations: 15.25 kB / 0.6007 GB, free: 26.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.7865, allocations: 8.161 MB / 0.6086 GB, free: 18.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.7865, allocations: 12 kB / 0.6086 GB, free: 18.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009493/0.7875, allocations: 251.6 kB / 0.6089 GB, free: 18.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/0.7878, allocations: 61.39 kB / 0.6089 GB, free: 18.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.7879, allocations: 43.38 kB / 0.609 GB, free: 18.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.7892, allocations: 1.516 MB / 0.6105 GB, free: 16.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.7893, allocations: 12 kB / 0.6105 GB, free: 16.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.7939, allocations: 4.058 MB / 0.6144 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.7952, allocations: 0.4977 MB / 0.6149 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.7955, allocations: 43.42 kB / 0.615 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007767/0.7963, allocations: 55.95 kB / 0.615 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.7965, allocations: 124.6 kB / 0.6151 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.7967, allocations: 67.92 kB / 0.6152 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002462/0.7991, allocations: 1.632 MB / 0.6168 GB, free: 9.773 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7991, allocations: 4 kB / 0.6168 GB, free: 9.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004393/0.8035, allocations: 0.8139 MB / 0.6176 GB, free: 8.961 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000411/0.804, allocations: 187.5 kB / 0.6178 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005039/0.809, allocations: 3.89 MB / 0.6216 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.809, allocations: 1 kB / 0.6216 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.8103, allocations: 1.243 MB / 0.6228 GB, free: 3.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.812, allocations: 323.8 kB / 0.6231 GB, free: 3.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02471/0.8368, allocations: 11.22 MB / 0.6341 GB, free: 7.965 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006597/0.8434, allocations: 3.191 MB / 0.6372 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.8445, allocations: 235.4 kB / 0.6374 GB, free: 4.508 MB / 430.1 MB Notification: Performance of SimCode: time 1.703e-06/0.8445, allocations: 0 / 0.6374 GB, free: 4.508 MB / 430.1 MB Notification: Performance of Templates: time 0.1384/0.9829, allocations: 66.22 MB / 0.7021 GB, free: 2.285 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.Joints.PrismaticCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticCalcHelperMain.o] Error 1