Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008143/0.0008141, allocations: 88.56 kB / 17.63 MB, free: 6.16 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.0008629/0.0008629, allocations: 186.2 kB / 18.52 MB, free: 5.32 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.516/1.516, allocations: 223.2 MB / 242.5 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2586/0.2586, allocations: 44.22 MB / 337.9 MB, free: 2.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 11.94 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1482, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03822/0.1865, allocations: 39.3 MB / 0.4995 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.416/0.6025, allocations: 9.102 MB / 0.5084 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01096/0.6135, allocations: 189.6 kB / 0.5086 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.6239, allocations: 2.018 MB / 0.5105 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0235/0.6475, allocations: 6.155 MB / 0.5165 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004259/0.6518, allocations: 0.8605 MB / 0.5174 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05176/0.7035, allocations: 33.42 MB / 0.55 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007904/0.7115, allocations: 4.112 MB / 0.554 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003538/0.7151, allocations: 1.47 MB / 0.5555 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004001/0.7191, allocations: 2.338 MB / 0.5578 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007665/0.7199, allocations: 168 kB / 0.5579 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.7226, allocations: 1.106 MB / 0.559 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.7248, allocations: 1.96 MB / 0.5609 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.7261, allocations: 0.9303 MB / 0.5618 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007297/0.7334, allocations: 6.135 MB / 0.5678 GB, free: 11.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.7334, allocations: 0 / 0.5678 GB, free: 11.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7334, allocations: 0 / 0.5678 GB, free: 11.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002334/0.7337, allocations: 0 / 0.5678 GB, free: 11.82 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.0118/0.7455, allocations: 4.841 MB / 0.5725 GB, free: 7.324 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.7455, allocations: 12.03 kB / 0.5725 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.7605, allocations: 2.659 MB / 0.5751 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008055/0.7686, allocations: 3.104 MB / 0.5782 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.7688, allocations: 254.8 kB / 0.5784 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.7703, allocations: 352.3 kB / 0.5788 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02344/0.7938, allocations: 12.36 MB / 0.5908 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.7939, allocations: 59.42 kB / 0.5909 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005028/0.7945, allocations: 162 kB / 0.591 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003852/0.7983, allocations: 2.383 MB / 0.5934 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02315/0.8215, allocations: 10.81 MB / 0.6039 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06762/0.8891, allocations: 48.79 MB / 0.6516 GB, free: 8.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/0.9052, allocations: 6.057 MB / 0.6575 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005092/0.9103, allocations: 3.297 MB / 0.6607 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02168/0.932, allocations: 13.51 MB / 0.6739 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/0.9321, allocations: 59.8 kB / 0.674 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 4.368e-06/0.9321, allocations: 0 / 0.674 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.4143/1.346, allocations: 36.37 MB / 0.7095 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.347, allocations: 207.8 kB / 0.7097 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009547/1.356, allocations: 4.341 MB / 0.7139 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.357, allocations: 63.05 kB / 0.714 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002724/1.36, allocations: 3.382 MB / 0.7173 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001727/1.362, allocations: 0.9934 MB / 0.7182 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004442/1.362, allocations: 136.9 kB / 0.7184 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004398/1.363, allocations: 0.6087 MB / 0.719 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006489/1.369, allocations: 3.261 MB / 0.7222 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009708/1.379, allocations: 7.172 MB / 0.7292 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007751/1.387, allocations: 4.702 MB / 0.7337 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/1.387, allocations: 39.47 kB / 0.7338 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02925/1.416, allocations: 13.22 MB / 0.7467 GB, free: 171 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002127/1.416, allocations: 65.75 kB / 0.7468 GB, free: 171 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002781/1.417, allocations: 135.8 kB / 0.7469 GB, free: 171 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009252/1.426, allocations: 3.435 MB / 0.7502 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005528/1.431, allocations: 1.579 MB / 0.7518 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/1.454, allocations: 16.35 MB / 0.7677 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007348/1.462, allocations: 432.4 kB / 0.7682 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001492/1.463, allocations: 412 kB / 0.7686 GB, free: 149.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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 {(5,60.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004967/1.468, allocations: 2.341 MB / 0.7708 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.469, allocations: 406.8 kB / 0.7712 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.483, allocations: 7.998 MB / 0.779 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.047e-05/1.483, allocations: 30.62 kB / 0.7791 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-05/1.483, allocations: 12.88 kB / 0.7791 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.752e-05/1.483, allocations: 11.95 kB / 0.7791 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/1.509, allocations: 15.52 MB / 0.7943 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/1.509, allocations: 8 kB / 0.7943 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.511, allocations: 390.5 kB / 0.7946 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007906/1.519, allocations: 3.166 MB / 0.7977 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004066/1.519, allocations: 43.98 kB / 0.7978 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/1.537, allocations: 14.66 MB / 0.8121 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.537, allocations: 4 kB / 0.8121 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/1.556, allocations: 12.12 MB / 0.8239 GB, free: 92.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/1.558, allocations: 455.7 kB / 0.8243 GB, free: 91.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007784/1.558, allocations: 43.95 kB / 0.8244 GB, free: 91.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/1.56, allocations: 191.7 kB / 0.8246 GB, free: 91.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005204/1.561, allocations: 154.2 kB / 0.8247 GB, free: 91.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/1.561, allocations: 64 kB / 0.8248 GB, free: 91.53 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004485/1.565, allocations: 2.711 MB / 0.8274 GB, free: 88.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/1.565, allocations: 2.625 kB / 0.8274 GB, free: 88.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007769/1.573, allocations: 1.366 MB / 0.8288 GB, free: 87.45 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (197): * Single equations (assignments): 193 * 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 {(5,60.0%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005785/1.574, allocations: 192.5 kB / 0.8289 GB, free: 87.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.586, allocations: 8.128 MB / 0.8369 GB, free: 79.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.586, allocations: 5.125 kB / 0.8369 GB, free: 79.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004738/1.591, allocations: 3.298 MB / 0.8401 GB, free: 75.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/1.594, allocations: 494.3 kB / 0.8406 GB, free: 75.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/1.617, allocations: 14.31 MB / 0.8546 GB, free: 61.01 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003402/1.621, allocations: 3.662 MB / 0.8581 GB, free: 57.31 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/1.622, allocations: 331.4 kB / 0.8585 GB, free: 56.99 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/1.622, allocations: 0 / 0.8585 GB, free: 56.99 MB / 0.5294 GB Notification: Performance of Templates: time 0.493/2.115, allocations: 91.68 MB / 0.948 GB, free: 143 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2CalcHelperMain.o] Error 1