Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.0008076/0.000814, allocations: 92.41 kB / 16.33 MB, free: 6.398 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.0008912/0.0008912, allocations: 184.2 kB / 17.22 MB, free: 6.289 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.614/1.614, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.226/0.226, allocations: 43.55 MB / 315.2 MB, free: 0.543 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.0004988/0.0004989, allocations: 13.56 kB / 384.5 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1284, allocations: 58.86 MB / 443.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03654/0.165, allocations: 39.35 MB / 482.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02384/0.1889, allocations: 9.119 MB / 491.9 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00926/0.1982, allocations: 183.6 kB / 492.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007518/0.2058, allocations: 2.01 MB / 494.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02182/0.2276, allocations: 6.174 MB / 0.4885 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.2316, allocations: 0.8464 MB / 0.4893 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02748/0.2591, allocations: 19.84 MB / 0.5087 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007482/0.2666, allocations: 4.119 MB / 0.5127 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.2704, allocations: 1.483 MB / 0.5142 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.2744, allocations: 2.352 MB / 0.5165 GB, free: 24 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2967/0.5711, allocations: 168 kB / 0.5166 GB, free: 22.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.5745, allocations: 1.082 MB / 0.5177 GB, free: 22.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003062/0.5776, allocations: 1.967 MB / 0.5196 GB, free: 22.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.5792, allocations: 0.9284 MB / 0.5205 GB, free: 21.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0078/0.587, allocations: 6.147 MB / 0.5265 GB, free: 21.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.587, allocations: 2.438 kB / 0.5265 GB, free: 21.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.587, allocations: 0 / 0.5265 GB, free: 21.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002594/0.5873, allocations: 0 / 0.5265 GB, free: 21.6 MB / 398.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.01363/0.601, allocations: 4.853 MB / 0.5313 GB, free: 19.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.601, allocations: 10.22 kB / 0.5313 GB, free: 19.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/0.6172, allocations: 2.664 MB / 0.5339 GB, free: 19.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00788/0.6251, allocations: 3.188 MB / 0.537 GB, free: 18.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/0.6254, allocations: 255.2 kB / 0.5372 GB, free: 18.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/0.6267, allocations: 350 kB / 0.5376 GB, free: 18.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02396/0.6507, allocations: 12.36 MB / 0.5496 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.6509, allocations: 61.14 kB / 0.5497 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000476/0.6514, allocations: 163.3 kB / 0.5499 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003228/0.6546, allocations: 2.379 MB / 0.5522 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/0.6749, allocations: 10.82 MB / 0.5628 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06477/0.7397, allocations: 48.81 MB / 0.6104 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/0.755, allocations: 6.049 MB / 0.6163 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005101/0.7601, allocations: 3.289 MB / 0.6195 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02468/0.7848, allocations: 13.52 MB / 0.6327 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.09e-05/0.7849, allocations: 55.83 kB / 0.6328 GB, free: 9.879 MB / 462.1 MB Notification: Performance of pre-optimization done (n=204): time 6.742e-06/0.785, allocations: 2.344 kB / 0.6328 GB, free: 9.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.1046/0.8895, allocations: 36.42 MB / 0.6684 GB, free: 5.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.8897, allocations: 213.8 kB / 0.6686 GB, free: 5.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007135/0.8969, allocations: 4.363 MB / 0.6728 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009633/0.8979, allocations: 73.45 kB / 0.6729 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003161/0.901, allocations: 3.375 MB / 0.6762 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00203/0.9031, allocations: 0.9838 MB / 0.6772 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000508/0.9036, allocations: 140 kB / 0.6773 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0004622/0.9041, allocations: 0.6036 MB / 0.6779 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005737/0.9098, allocations: 3.254 MB / 0.6811 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009694/0.9195, allocations: 7.176 MB / 0.6881 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008977/0.9286, allocations: 4.715 MB / 0.6927 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/0.9288, allocations: 40 kB / 0.6927 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03225/0.961, allocations: 13.22 MB / 0.7056 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.9613, allocations: 60 kB / 0.7057 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002977/0.9616, allocations: 136 kB / 0.7058 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/0.9719, allocations: 3.43 MB / 0.7092 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006304/0.9783, allocations: 1.579 MB / 0.7107 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3115/1.29, allocations: 16.35 MB / 0.7267 GB, free: 193.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006304/1.296, allocations: 436.5 kB / 0.7271 GB, free: 193.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.297, allocations: 412.7 kB / 0.7275 GB, free: 193.9 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.005089/1.302, allocations: 2.349 MB / 0.7298 GB, free: 193.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/1.304, allocations: 401.1 kB / 0.7301 GB, free: 193.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/1.319, allocations: 8 MB / 0.738 GB, free: 191.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-05/1.319, allocations: 27.52 kB / 0.738 GB, free: 191.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/1.319, allocations: 11.12 kB / 0.738 GB, free: 191.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/1.319, allocations: 11.48 kB / 0.738 GB, free: 191.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02437/1.344, allocations: 15.52 MB / 0.7532 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/1.344, allocations: 0 / 0.7532 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/1.346, allocations: 385 kB / 0.7535 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007901/1.354, allocations: 3.181 MB / 0.7566 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003472/1.354, allocations: 47.75 kB / 0.7567 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/1.371, allocations: 14.66 MB / 0.771 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.371, allocations: 0 / 0.771 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/1.389, allocations: 12.12 MB / 0.7828 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002723/1.392, allocations: 0.9426 MB / 0.7838 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005973/1.393, allocations: 40 kB / 0.7838 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.394, allocations: 195.6 kB / 0.784 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004712/1.395, allocations: 150.2 kB / 0.7841 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001992/1.395, allocations: 64 kB / 0.7842 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003855/1.399, allocations: 2.722 MB / 0.7869 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.286e-06/1.399, allocations: 4 kB / 0.7869 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007131/1.406, allocations: 1.382 MB / 0.7882 GB, free: 153 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.0005622/1.407, allocations: 175.3 kB / 0.7884 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.418, allocations: 8.138 MB / 0.7963 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.418, allocations: 0 / 0.7963 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004339/1.422, allocations: 3.299 MB / 0.7995 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003032/1.425, allocations: 492.7 kB / 0.8 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/1.444, allocations: 14.32 MB / 0.814 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/1.447, allocations: 3.666 MB / 0.8176 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/1.448, allocations: 327.4 kB / 0.8179 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/1.449, allocations: 4 kB / 0.8179 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1109/1.559, allocations: 91.82 MB / 0.9076 GB, free: 30.86 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2CalcHelperMain.o] Error 1