Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 108 kB / 16.52 MB, free: 6.672 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.001542/0.001542, allocations: 198.7 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.918/1.918, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.278/0.278, allocations: 43.53 MB / 314.1 MB, free: 0.7617 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.001613/0.001613, allocations: 73.23 kB / 382.7 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1605, allocations: 57.79 MB / 440.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02966/0.1902, allocations: 29.62 MB / 470.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02535/0.2156, allocations: 6.938 MB / 477 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01126/0.2269, allocations: 119.8 kB / 477.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004864/0.2318, allocations: 1.153 MB / 478.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007941/0.2399, allocations: 1.709 MB / 480 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.2422, allocations: 459.2 kB / 480.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01088/0.2532, allocations: 5.67 MB / 486.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003931/0.2572, allocations: 1.822 MB / 487.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.2595, allocations: 1.054 MB / 489 MB, free: 6.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.2621, allocations: 1.869 MB / 490.9 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005758/0.2627, allocations: 164 kB / 491 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.2655, allocations: 1.092 MB / 492.1 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.2674, allocations: 1.632 MB / 493.8 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.2697, allocations: 1.901 MB / 495.7 MB, free: 112 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006178/0.2759, allocations: 5.013 MB / 0.4889 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2759, allocations: 0 / 0.4889 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.276, allocations: 0 / 0.4889 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002019/0.2762, allocations: 3.938 kB / 0.4889 GB, free: 11.08 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.0102/0.2864, allocations: 4.319 MB / 0.4932 GB, free: 6.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.2865, allocations: 8.031 kB / 0.4932 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.2982, allocations: 3.173 MB / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006026/0.3043, allocations: 2.154 MB / 0.4984 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.3045, allocations: 193 kB / 0.4986 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.3057, allocations: 335.7 kB / 0.4989 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02244/0.3281, allocations: 10.79 MB / 0.5094 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002292/0.3284, allocations: 27.75 kB / 0.5094 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008485/0.3293, allocations: 119.8 kB / 0.5095 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004476/0.3338, allocations: 2.565 MB / 0.5121 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02341/0.3572, allocations: 10.29 MB / 0.5221 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4468/0.8041, allocations: 35.87 MB / 0.5571 GB, free: 66.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008416/0.8125, allocations: 4.428 MB / 0.5614 GB, free: 64.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003548/0.8161, allocations: 2.199 MB / 0.5636 GB, free: 63.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.8173, allocations: 1.317 MB / 0.5649 GB, free: 62.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.8173, allocations: 55.33 kB / 0.5649 GB, free: 62.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=245): time 5.991e-06/0.8173, allocations: 0 / 0.5649 GB, free: 62.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=261): time 0.04087/0.8582, allocations: 17.07 MB / 0.5816 GB, free: 49.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00116/0.8594, allocations: 1.527 MB / 0.5831 GB, free: 47.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/0.863, allocations: 2.782 MB / 0.5858 GB, free: 44.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005116/0.8635, allocations: 59.86 kB / 0.5859 GB, free: 44.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.8648, allocations: 2.739 MB / 0.5885 GB, free: 42.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.8659, allocations: 0.9523 MB / 0.5895 GB, free: 41.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.8672, allocations: 1.15 MB / 0.5906 GB, free: 39.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.8672, allocations: 301.1 kB / 0.5909 GB, free: 39.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/0.8702, allocations: 2.48 MB / 0.5933 GB, free: 37.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004423/0.8746, allocations: 5.533 MB / 0.5987 GB, free: 30.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008368/0.883, allocations: 8.701 MB / 0.6072 GB, free: 20 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.333e-05/0.8831, allocations: 28 kB / 0.6072 GB, free: 19.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02047/0.9035, allocations: 9.871 MB / 0.6169 GB, free: 10.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.9037, allocations: 56.56 kB / 0.6169 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01311/0.9168, allocations: 4.91 MB / 0.6217 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/0.9276, allocations: 2.378 MB / 0.624 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00588/0.9335, allocations: 1.302 MB / 0.6253 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.9438, allocations: 5.84 MB / 0.631 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005591/0.9495, allocations: 399.6 kB / 0.6314 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/0.9509, allocations: 328 kB / 0.6317 GB, free: 10.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005675/0.9566, allocations: 2.123 MB / 0.6338 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/0.9578, allocations: 280.3 kB / 0.6341 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.9704, allocations: 5.435 MB / 0.6394 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009772/0.9802, allocations: 4.709 MB / 0.644 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.9803, allocations: 0 / 0.644 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.5e-05/0.9803, allocations: 18.3 kB / 0.644 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0308/1.011, allocations: 14.74 MB / 0.6584 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/1.011, allocations: 8 kB / 0.6584 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/1.013, allocations: 443.3 kB / 0.6588 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004579/1.018, allocations: 1.236 MB / 0.66 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004719/1.018, allocations: 63.95 kB / 0.6601 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006095/1.024, allocations: 4.435 MB / 0.6644 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001417/1.026, allocations: 1.471 MB / 0.6658 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/1.041, allocations: 8.158 MB / 0.6738 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.042, allocations: 341.3 kB / 0.6741 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009033/1.043, allocations: 57.94 kB / 0.6742 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.045, allocations: 199.7 kB / 0.6744 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005122/1.045, allocations: 173.5 kB / 0.6745 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/1.046, allocations: 78.16 kB / 0.6746 GB, free: 13.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004099/1.05, allocations: 1.717 MB / 0.6763 GB, free: 11.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.05, allocations: 0 / 0.6763 GB, free: 11.96 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006147/1.056, allocations: 1.08 MB / 0.6773 GB, free: 10.88 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007007/1.057, allocations: 200.5 kB / 0.6775 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01361/1.07, allocations: 6.597 MB / 0.684 GB, free: 4.039 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.07, allocations: 4 kB / 0.684 GB, free: 4.035 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005307/1.076, allocations: 2.893 MB / 0.6868 GB, free: 1.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003639/1.079, allocations: 380.5 kB / 0.6872 GB, free: 0.707 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03638/1.116, allocations: 13.26 MB / 0.7001 GB, free: 3.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006163/1.122, allocations: 3.305 MB / 0.7033 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/1.124, allocations: 279.4 kB / 0.7036 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/1.124, allocations: 0 / 0.7036 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.451/1.575, allocations: 133.5 MB / 0.834 GB, free: 65.16 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotionCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o] Error 1