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.0009242/0.0009244, allocations: 90.5 kB / 16.67 MB, free: 6.59 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.001257/0.001257, allocations: 180.2 kB / 17.57 MB, free: 6.191 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.97/1.97, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2733/0.2733, allocations: 43.59 MB / 315.6 MB, free: 428 kB / 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.0005388/0.0005389, allocations: 15.5 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1409, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.04376/0.1847, allocations: 42.29 MB / 486.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02775/0.2125, allocations: 9.589 MB / 496 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01117/0.2238, allocations: 183.6 kB / 496.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.2262, allocations: 465.6 kB / 496.6 MB, free: 472 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009009/0.2353, allocations: 1.915 MB / 498.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.2389, allocations: 0.9361 MB / 499.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01267/0.2516, allocations: 7.202 MB / 0.4948 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0096/0.2612, allocations: 4.51 MB / 0.4992 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.2654, allocations: 1.362 MB / 0.5005 GB, free: 452 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005234/0.2706, allocations: 2.367 MB / 0.5028 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001476/0.2721, allocations: 168 kB / 0.503 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/0.2761, allocations: 1.303 MB / 0.5043 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003635/0.2798, allocations: 2.006 MB / 0.5062 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005472/0.2853, allocations: 2.28 MB / 0.5084 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.2954, allocations: 6.149 MB / 0.5145 GB, free: 2.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2955, allocations: 7.938 kB / 0.5145 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.08e-06/0.2955, allocations: 0 / 0.5145 GB, free: 2.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004161/0.2959, allocations: 7.938 kB / 0.5145 GB, free: 2.105 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.01684/0.3128, allocations: 4.783 MB / 0.5191 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.946e-05/0.3129, allocations: 12.03 kB / 0.5192 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/0.3322, allocations: 2.662 MB / 0.5217 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009481/0.3417, allocations: 3.248 MB / 0.5249 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003631/0.3421, allocations: 258.8 kB / 0.5252 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/0.3446, allocations: 351.8 kB / 0.5255 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3905/0.7351, allocations: 12.38 MB / 0.5376 GB, free: 78.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/0.7353, allocations: 53.89 kB / 0.5376 GB, free: 78.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005406/0.7359, allocations: 166.7 kB / 0.5378 GB, free: 78.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004963/0.7409, allocations: 2.378 MB / 0.5401 GB, free: 78.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02661/0.7675, allocations: 10.87 MB / 0.5507 GB, free: 76.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0657/0.8333, allocations: 48.83 MB / 0.5984 GB, free: 31.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/0.8495, allocations: 6.059 MB / 0.6043 GB, free: 24.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004246/0.8538, allocations: 3.305 MB / 0.6076 GB, free: 21.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02166/0.8755, allocations: 13.51 MB / 0.6208 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/0.8756, allocations: 59.75 kB / 0.6208 GB, free: 7.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=204): time 6.422e-06/0.8756, allocations: 0 / 0.6208 GB, free: 7.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=265): time 0.1201/0.9958, allocations: 36.46 MB / 0.6564 GB, free: 3.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/0.996, allocations: 213.8 kB / 0.6566 GB, free: 2.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.007, allocations: 4.393 MB / 0.6609 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001058/1.008, allocations: 66.88 kB / 0.661 GB, free: 14.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004125/1.012, allocations: 3.382 MB / 0.6643 GB, free: 11.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00219/1.015, allocations: 0.9817 MB / 0.6652 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002047/1.017, allocations: 0.5955 MB / 0.6658 GB, free: 9.477 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/1.017, allocations: 309.1 kB / 0.6661 GB, free: 9.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007021/1.024, allocations: 3.281 MB / 0.6693 GB, free: 5.887 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/1.036, allocations: 7.2 MB / 0.6764 GB, free: 12.78 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/1.055, allocations: 11.24 MB / 0.6873 GB, free: 15.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000217/1.055, allocations: 40 kB / 0.6874 GB, free: 15.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03558/1.091, allocations: 13.28 MB / 0.7003 GB, free: 2.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002406/1.091, allocations: 67.94 kB / 0.7004 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000338/1.091, allocations: 136 kB / 0.7005 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01163/1.103, allocations: 3.406 MB / 0.7039 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006765/1.11, allocations: 1.575 MB / 0.7054 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3869/1.497, allocations: 16.4 MB / 0.7214 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007164/1.504, allocations: 433 kB / 0.7218 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/1.506, allocations: 413.1 kB / 0.7222 GB, free: 159.6 MB / 0.4981 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 (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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006167/1.512, allocations: 2.352 MB / 0.7245 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/1.513, allocations: 405.5 kB / 0.7249 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01973/1.533, allocations: 8.013 MB / 0.7327 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.009e-05/1.533, allocations: 33.3 kB / 0.7328 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.605e-05/1.533, allocations: 12.69 kB / 0.7328 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.236e-05/1.533, allocations: 12.2 kB / 0.7328 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02879/1.562, allocations: 15.54 MB / 0.748 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/1.562, allocations: 5.156 kB / 0.748 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/1.564, allocations: 382.2 kB / 0.7483 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009518/1.574, allocations: 3.171 MB / 0.7514 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000454/1.574, allocations: 48.66 kB / 0.7515 GB, free: 152.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/1.593, allocations: 14.68 MB / 0.7658 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.593, allocations: 2.406 kB / 0.7658 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/1.613, allocations: 12.15 MB / 0.7777 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002918/1.616, allocations: 0.9396 MB / 0.7786 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/1.617, allocations: 39.98 kB / 0.7786 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002656/1.62, allocations: 195.9 kB / 0.7788 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007439/1.621, allocations: 154.2 kB / 0.779 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/1.621, allocations: 72.86 kB / 0.779 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004658/1.625, allocations: 2.753 MB / 0.7817 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.11e-07/1.625, allocations: 0 / 0.7817 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008435/1.634, allocations: 1.367 MB / 0.7831 GB, free: 123.5 MB / 0.4981 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 (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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006725/1.635, allocations: 169.3 kB / 0.7832 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.647, allocations: 8.181 MB / 0.7912 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.647, allocations: 4.719 kB / 0.7912 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005343/1.652, allocations: 3.313 MB / 0.7944 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005628/1.658, allocations: 474.5 kB / 0.7949 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0263/1.684, allocations: 14.85 MB / 0.8094 GB, free: 96.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003608/1.688, allocations: 3.662 MB / 0.813 GB, free: 92.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/1.69, allocations: 335.4 kB / 0.8133 GB, free: 92.61 MB / 0.4981 GB Notification: Performance of SimCode: time 1.693e-06/1.69, allocations: 0 / 0.8133 GB, free: 92.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.1426/1.832, allocations: 91.49 MB / 0.9027 GB, free: 1.027 MB / 0.4981 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++ -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.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