Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 105.2 kB / 16.52 MB, free: 6.664 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.002508/0.002508, allocations: 199.2 kB / 17.44 MB, free: 6.059 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.916/1.916, allocations: 205.1 MB / 223.3 MB, free: 12.51 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.2461/0.2461, allocations: 43.52 MB / 314.2 MB, free: 0.75 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.002489/0.002489, allocations: 66.27 kB / 382.7 MB, free: 57.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1406, allocations: 57.8 MB / 440.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.04761/0.1882, allocations: 48.24 MB / 488.7 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03051/0.2188, allocations: 10.71 MB / 499.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01286/0.2317, allocations: 207.5 kB / 499.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008843/0.2406, allocations: 3.99 MB / 0.4918 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007279/0.248, allocations: 2.067 MB / 0.4938 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.2507, allocations: 1.084 MB / 0.4949 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.262, allocations: 8.049 MB / 0.5027 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007162/0.2692, allocations: 5.062 MB / 0.5077 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00399/0.2732, allocations: 1.923 MB / 0.5096 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005631/0.2789, allocations: 3.135 MB / 0.5126 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001473/0.2804, allocations: 344 kB / 0.513 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.2846, allocations: 1.588 MB / 0.5145 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003496/0.2881, allocations: 2.536 MB / 0.517 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005213/0.2933, allocations: 2.874 MB / 0.5198 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009177/0.3025, allocations: 7.913 MB / 0.5275 GB, free: 3.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3025, allocations: 0 / 0.5275 GB, free: 3.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3026, allocations: 0 / 0.5275 GB, free: 3.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002928/0.3029, allocations: 0 / 0.5275 GB, free: 3.438 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.366/0.6689, allocations: 6.533 MB / 0.5339 GB, free: 90.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.669, allocations: 8.656 kB / 0.5339 GB, free: 90.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/0.6883, allocations: 2.714 MB / 0.5366 GB, free: 89.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.6993, allocations: 3.724 MB / 0.5402 GB, free: 88.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005404/0.6999, allocations: 352.4 kB / 0.5405 GB, free: 88.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002449/0.7023, allocations: 435.4 kB / 0.5409 GB, free: 88.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02792/0.7303, allocations: 13.85 MB / 0.5545 GB, free: 78.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001604/0.7305, allocations: 51.53 kB / 0.5545 GB, free: 77.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005399/0.731, allocations: 203.8 kB / 0.5547 GB, free: 77.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003052/0.7341, allocations: 2.411 MB / 0.5571 GB, free: 75.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02203/0.7561, allocations: 11.75 MB / 0.5686 GB, free: 63.62 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06998/0.8262, allocations: 51.79 MB / 0.6191 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/0.8383, allocations: 4.753 MB / 0.6238 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004123/0.8425, allocations: 2.949 MB / 0.6266 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02533/0.8679, allocations: 12.86 MB / 0.6392 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.887e-05/0.868, allocations: 63.8 kB / 0.6393 GB, free: 5.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=197): time 6.191e-06/0.868, allocations: 0 / 0.6393 GB, free: 5.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=248): time 0.1663/1.034, allocations: 43.44 MB / 0.6817 GB, free: 9.465 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/1.035, allocations: 231.6 kB / 0.6819 GB, free: 9.188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007892/1.042, allocations: 4.794 MB / 0.6866 GB, free: 4.387 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009086/1.043, allocations: 61.7 kB / 0.6866 GB, free: 4.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003645/1.047, allocations: 3.845 MB / 0.6904 GB, free: 428 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001823/1.049, allocations: 0.937 MB / 0.6913 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002441/1.051, allocations: 1.507 MB / 0.6928 GB, free: 13.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002385/1.052, allocations: 305.1 kB / 0.6931 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005645/1.057, allocations: 3.442 MB / 0.6964 GB, free: 10.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009125/1.066, allocations: 7.711 MB / 0.704 GB, free: 416 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01645/1.083, allocations: 11.87 MB / 0.7156 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001795/1.083, allocations: 40 kB / 0.7156 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.4029/1.486, allocations: 14.47 MB / 0.7297 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002384/1.486, allocations: 73.25 kB / 0.7298 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000443/1.487, allocations: 151.9 kB / 0.7299 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/1.501, allocations: 4.016 MB / 0.7339 GB, free: 163 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006078/1.507, allocations: 1.632 MB / 0.7355 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02646/1.534, allocations: 18.69 MB / 0.7537 GB, free: 151.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007816/1.542, allocations: 453.5 kB / 0.7541 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/1.543, allocations: 436 kB / 0.7546 GB, free: 151 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],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 (884): * Single equations (assignments): 880 * Array equations: 3 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006506/1.55, allocations: 2.668 MB / 0.7572 GB, free: 148.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/1.551, allocations: 426.8 kB / 0.7576 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/1.569, allocations: 8.646 MB / 0.766 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-05/1.569, allocations: 28 kB / 0.766 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.314e-05/1.569, allocations: 12 kB / 0.7661 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-05/1.569, allocations: 19.67 kB / 0.7661 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03649/1.606, allocations: 17.9 MB / 0.7836 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/1.606, allocations: 4 kB / 0.7836 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/1.608, allocations: 395.4 kB / 0.7839 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/1.619, allocations: 4.075 MB / 0.7879 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004148/1.619, allocations: 42.03 kB / 0.788 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02281/1.642, allocations: 17.12 MB / 0.8047 GB, free: 100 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/1.642, allocations: 0 / 0.8047 GB, free: 100 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02382/1.666, allocations: 13.24 MB / 0.8176 GB, free: 86.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002991/1.669, allocations: 0.96 MB / 0.8185 GB, free: 85.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001743/1.671, allocations: 43.98 kB / 0.8186 GB, free: 85.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003495/1.674, allocations: 211.7 kB / 0.8188 GB, free: 85.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00093/1.675, allocations: 148.2 kB / 0.8189 GB, free: 85.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003858/1.676, allocations: 67.98 kB / 0.819 GB, free: 85.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007262/1.683, allocations: 2.993 MB / 0.8219 GB, free: 82.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.243e-06/1.683, allocations: 4 kB / 0.8219 GB, free: 82.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01008/1.693, allocations: 1.489 MB / 0.8234 GB, free: 80.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/1.695, allocations: 228.8 kB / 0.8236 GB, free: 80.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01414/1.709, allocations: 8.252 MB / 0.8316 GB, free: 72.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.709, allocations: 4 kB / 0.8317 GB, free: 72.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005052/1.714, allocations: 3.113 MB / 0.8347 GB, free: 69.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006789/1.721, allocations: 0.5061 MB / 0.8352 GB, free: 68.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03252/1.753, allocations: 16.18 MB / 0.851 GB, free: 52.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007935/1.761, allocations: 4.102 MB / 0.855 GB, free: 48.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/1.763, allocations: 331.4 kB / 0.8553 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.343e-06/1.763, allocations: 1.75 kB / 0.8553 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.4835/2.247, allocations: 101.2 MB / 0.9541 GB, free: 138.3 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.o] Error 1