Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 91.36 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 198.7 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2723/0.2723, allocations: 45.92 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1662, allocations: 63.47 MB / 482.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3944/0.5606, allocations: 39.31 MB / 0.5092 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02439/0.5851, allocations: 9.138 MB / 0.5181 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0103/0.5954, allocations: 188.2 kB / 0.5183 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009694/0.6052, allocations: 2.016 MB / 0.5203 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02403/0.6292, allocations: 6.137 MB / 0.5263 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00429/0.6336, allocations: 0.8543 MB / 0.5271 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04616/0.6797, allocations: 33.54 MB / 0.5599 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008201/0.688, allocations: 4.1 MB / 0.5639 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004146/0.6922, allocations: 1.461 MB / 0.5653 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005445/0.6976, allocations: 2.352 MB / 0.5676 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.6989, allocations: 168 kB / 0.5678 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/0.7026, allocations: 1.083 MB / 0.5688 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003228/0.7059, allocations: 1.959 MB / 0.5707 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.7082, allocations: 0.9284 MB / 0.5716 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009441/0.7176, allocations: 6.136 MB / 0.5776 GB, free: 5.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.7177, allocations: 0 / 0.5776 GB, free: 5.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7177, allocations: 0 / 0.5776 GB, free: 5.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000306/0.718, allocations: 0 / 0.5776 GB, free: 5.715 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.01364/0.7317, allocations: 4.867 MB / 0.5824 GB, free: 0.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.7317, allocations: 14.11 kB / 0.5824 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01504/0.7468, allocations: 2.664 MB / 0.585 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007473/0.7543, allocations: 3.04 MB / 0.588 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.7546, allocations: 251.9 kB / 0.5882 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.7565, allocations: 348.9 kB / 0.5885 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/0.7829, allocations: 12.37 MB / 0.6006 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001764/0.7832, allocations: 47.53 kB / 0.6007 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005161/0.7837, allocations: 172.3 kB / 0.6008 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003773/0.7875, allocations: 2.379 MB / 0.6031 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.8116, allocations: 10.81 MB / 0.6137 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06655/0.8782, allocations: 48.81 MB / 0.6614 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/0.8935, allocations: 6.037 MB / 0.6673 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004684/0.8983, allocations: 3.303 MB / 0.6705 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02099/0.9193, allocations: 13.5 MB / 0.6837 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/0.9194, allocations: 67.81 kB / 0.6837 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=204): time 4.448e-06/0.9194, allocations: 0 / 0.6837 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=265): time 0.4953/1.415, allocations: 36.36 MB / 0.7193 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.415, allocations: 212.1 kB / 0.7195 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009991/1.425, allocations: 4.349 MB / 0.7237 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.426, allocations: 69.19 kB / 0.7238 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003068/1.429, allocations: 3.373 MB / 0.7271 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001979/1.431, allocations: 0.983 MB / 0.728 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/1.431, allocations: 142.5 kB / 0.7282 GB, free: 173 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003854/1.432, allocations: 0.6021 MB / 0.7287 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005042/1.437, allocations: 3.257 MB / 0.7319 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006648/1.444, allocations: 7.173 MB / 0.7389 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006325/1.45, allocations: 4.713 MB / 0.7435 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.223e-05/1.45, allocations: 38.62 kB / 0.7436 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02463/1.475, allocations: 13.22 MB / 0.7565 GB, free: 155 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.946e-05/1.475, allocations: 66.34 kB / 0.7565 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/1.475, allocations: 139.9 kB / 0.7567 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008524/1.484, allocations: 3.43 MB / 0.76 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006797/1.49, allocations: 1.571 MB / 0.7616 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02386/1.514, allocations: 16.37 MB / 0.7775 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008302/1.523, allocations: 431.5 kB / 0.778 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001954/1.525, allocations: 412 kB / 0.7784 GB, free: 132.5 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.007317/1.532, allocations: 2.34 MB / 0.7806 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002131/1.534, allocations: 405.3 kB / 0.781 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01846/1.553, allocations: 7.994 MB / 0.7888 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.13e-05/1.553, allocations: 28.88 kB / 0.7889 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.564e-05/1.553, allocations: 12 kB / 0.7889 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-05/1.553, allocations: 17.36 kB / 0.7889 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03117/1.584, allocations: 15.52 MB / 0.804 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-05/1.584, allocations: 0 / 0.804 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.586, allocations: 391.4 kB / 0.8044 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007967/1.594, allocations: 3.166 MB / 0.8075 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005055/1.595, allocations: 47.98 kB / 0.8076 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01964/1.614, allocations: 14.66 MB / 0.8219 GB, free: 87.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.614, allocations: 0 / 0.8219 GB, free: 87.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02083/1.635, allocations: 12.12 MB / 0.8337 GB, free: 75.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.637, allocations: 459.7 kB / 0.8341 GB, free: 75.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00187/1.639, allocations: 45.58 kB / 0.8342 GB, free: 75.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003363/1.642, allocations: 187.7 kB / 0.8344 GB, free: 74.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008243/1.643, allocations: 162.2 kB / 0.8345 GB, free: 74.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004739/1.644, allocations: 64 kB / 0.8346 GB, free: 74.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007806/1.652, allocations: 2.706 MB / 0.8372 GB, free: 71.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.463e-06/1.652, allocations: 0 / 0.8372 GB, free: 71.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01096/1.663, allocations: 1.367 MB / 0.8386 GB, free: 70.57 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.001075/1.664, allocations: 184.3 kB / 0.8387 GB, free: 70.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01385/1.678, allocations: 8.128 MB / 0.8467 GB, free: 62.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.678, allocations: 11.94 kB / 0.8467 GB, free: 62.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005285/1.683, allocations: 3.303 MB / 0.8499 GB, free: 58.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005743/1.689, allocations: 490.4 kB / 0.8504 GB, free: 58.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/1.715, allocations: 14.32 MB / 0.8644 GB, free: 44.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003777/1.719, allocations: 3.658 MB / 0.8679 GB, free: 40.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/1.72, allocations: 335.4 kB / 0.8682 GB, free: 40.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/1.72, allocations: 0 / 0.8682 GB, free: 40.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.4318/2.152, allocations: 91.68 MB / 0.9578 GB, free: 131.8 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2CalcHelperMain.o] Error 1