Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009229/0.0009278, allocations: 96.52 kB / 16.33 MB, free: 6.41 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.001069/0.001069, allocations: 183.2 kB / 17.22 MB, free: 6.309 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.602/1.602, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3866/0.3866, allocations: 43.55 MB / 315.2 MB, free: 8.852 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.0005075/0.0005075, allocations: 12 kB / 384.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1336, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2995/0.4332, allocations: 62.11 MB / 0.4937 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03331/0.4666, allocations: 13.56 MB / 0.5069 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01614/0.4827, allocations: 303.5 kB / 0.5072 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01248/0.4953, allocations: 3.199 MB / 0.5103 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03135/0.5266, allocations: 9.596 MB / 0.5197 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005306/0.532, allocations: 1.163 MB / 0.5208 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.06539/0.5974, allocations: 51.99 MB / 0.5716 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01368/0.6111, allocations: 8.138 MB / 0.5795 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005982/0.6171, allocations: 2.152 MB / 0.5816 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005879/0.623, allocations: 3.373 MB / 0.5849 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.6247, allocations: 240 kB / 0.5852 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004153/0.6289, allocations: 1.233 MB / 0.5864 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004517/0.6335, allocations: 2.856 MB / 0.5892 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002987/0.6365, allocations: 1.314 MB / 0.5904 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.6478, allocations: 9.352 MB / 0.5996 GB, free: 120 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6478, allocations: 0 / 0.5996 GB, free: 120 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6478, allocations: 3.938 kB / 0.5996 GB, free: 116 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004384/0.6483, allocations: 0 / 0.5996 GB, free: 116 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01504/0.6633, allocations: 6.612 MB / 0.606 GB, free: 9.422 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.6634, allocations: 12.02 kB / 0.6061 GB, free: 9.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01348/0.6769, allocations: 3.117 MB / 0.6091 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.6886, allocations: 5.089 MB / 0.6141 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003968/0.6891, allocations: 377.8 kB / 0.6144 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.6911, allocations: 0.5074 MB / 0.6149 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3105/1.002, allocations: 15.52 MB / 0.6301 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003081/1.002, allocations: 64.91 kB / 0.6301 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001584/1.004, allocations: 232.2 kB / 0.6304 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003508/1.007, allocations: 2.549 MB / 0.6329 GB, free: 140.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02634/1.034, allocations: 13.08 MB / 0.6456 GB, free: 138.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08163/1.115, allocations: 57.55 MB / 0.7018 GB, free: 99.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/1.13, allocations: 6.422 MB / 0.7081 GB, free: 96.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003893/1.134, allocations: 3.427 MB / 0.7115 GB, free: 92.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01509/1.149, allocations: 11.58 MB / 0.7228 GB, free: 80.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/1.15, allocations: 56.56 kB / 0.7228 GB, free: 80.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 6.542e-06/1.15, allocations: 0 / 0.7228 GB, free: 80.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.1168/1.266, allocations: 39.63 MB / 0.7615 GB, free: 41.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/1.266, allocations: 243.8 kB / 0.7618 GB, free: 40.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006584/1.273, allocations: 5.711 MB / 0.7673 GB, free: 35.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006893/1.274, allocations: 84.06 kB / 0.7674 GB, free: 35.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002319/1.276, allocations: 4.355 MB / 0.7717 GB, free: 30.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.278, allocations: 1.257 MB / 0.7729 GB, free: 29.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000401/1.278, allocations: 172 kB / 0.7731 GB, free: 29.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003085/1.278, allocations: 0.6776 MB / 0.7737 GB, free: 28.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004789/1.283, allocations: 4.046 MB / 0.7777 GB, free: 24.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006589/1.29, allocations: 8.633 MB / 0.7861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006609/1.296, allocations: 5.778 MB / 0.7917 GB, free: 7.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-05/1.296, allocations: 44 kB / 0.7918 GB, free: 7.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02853/1.325, allocations: 16.31 MB / 0.8077 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002044/1.325, allocations: 76.06 kB / 0.8078 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002997/1.325, allocations: 163.8 kB / 0.8079 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01308/1.339, allocations: 4.307 MB / 0.8122 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006857/1.345, allocations: 1.895 MB / 0.814 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3123/1.658, allocations: 20.16 MB / 0.8337 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007774/1.666, allocations: 0.503 MB / 0.8342 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001848/1.668, allocations: 480.5 kB / 0.8346 GB, free: 150.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1031): * Single equations (assignments): 1027 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00704/1.675, allocations: 3.131 MB / 0.8377 GB, free: 150.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.676, allocations: 0.5211 MB / 0.8382 GB, free: 150.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.019/1.695, allocations: 10.08 MB / 0.8481 GB, free: 149.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/1.695, allocations: 35.38 kB / 0.8481 GB, free: 149.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-05/1.695, allocations: 12.66 kB / 0.8481 GB, free: 149.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.378e-05/1.695, allocations: 19.89 kB / 0.8481 GB, free: 149.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04355/1.739, allocations: 20.13 MB / 0.8678 GB, free: 142 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.095e-05/1.739, allocations: 7.625 kB / 0.8678 GB, free: 142 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002521/1.741, allocations: 0.4935 MB / 0.8683 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01193/1.753, allocations: 3.847 MB / 0.872 GB, free: 141.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007655/1.754, allocations: 62.72 kB / 0.8721 GB, free: 141.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02561/1.78, allocations: 17.79 MB / 0.8895 GB, free: 133.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/1.78, allocations: 15.83 kB / 0.8895 GB, free: 133.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02409/1.804, allocations: 14.86 MB / 0.904 GB, free: 125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003788/1.808, allocations: 1.176 MB / 0.9051 GB, free: 123.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/1.809, allocations: 63.98 kB / 0.9052 GB, free: 123.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/1.812, allocations: 238.2 kB / 0.9054 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006931/1.813, allocations: 227.1 kB / 0.9056 GB, free: 123.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002552/1.813, allocations: 99.98 kB / 0.9057 GB, free: 123.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005716/1.819, allocations: 3.593 MB / 0.9092 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/1.819, allocations: 0 / 0.9092 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009253/1.828, allocations: 1.79 MB / 0.911 GB, free: 117.9 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * 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 (261): * Single equations (assignments): 257 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009308/1.829, allocations: 237.7 kB / 0.9112 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01341/1.843, allocations: 9.756 MB / 0.9207 GB, free: 107.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.843, allocations: 0 / 0.9207 GB, free: 107.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005092/1.848, allocations: 3.782 MB / 0.9244 GB, free: 104.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006575/1.854, allocations: 0.7015 MB / 0.9251 GB, free: 103.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/1.883, allocations: 19.1 MB / 0.9438 GB, free: 84.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004662/1.888, allocations: 4.799 MB / 0.9485 GB, free: 79.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002172/1.89, allocations: 411.4 kB / 0.9489 GB, free: 79.13 MB / 0.5137 GB Notification: Performance of SimCode: time 3.066e-06/1.89, allocations: 4 kB / 0.9489 GB, free: 79.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.4032/2.293, allocations: 122.1 MB / 1.068 GB, free: 135.6 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.o] Error 1