Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 104.2 kB / 16.52 MB, free: 6.266 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.001432/0.001432, allocations: 192.9 kB / 17.44 MB, free: 5.887 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.861/1.861, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2537/0.2537, allocations: 43.51 MB / 314.1 MB, free: 0.7578 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.001782/0.001782, allocations: 61.06 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1413, allocations: 57.8 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03204/0.1733, allocations: 30.06 MB / 470.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01837/0.1918, allocations: 6.863 MB / 477.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006793/0.1986, allocations: 119.8 kB / 477.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.2019, allocations: 1.277 MB / 478.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005462/0.2074, allocations: 1.67 MB / 480.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.2091, allocations: 451.3 kB / 480.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008219/0.2174, allocations: 5.135 MB / 486 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004536/0.2219, allocations: 2.008 MB / 488 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.2251, allocations: 1.07 MB / 489.1 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003951/0.2291, allocations: 1.838 MB / 491 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.2306, allocations: 172 kB / 491.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003632/0.2343, allocations: 0.9321 MB / 492.1 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003372/0.2377, allocations: 1.581 MB / 493.6 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004026/0.2417, allocations: 1.882 MB / 495.5 MB, free: 228 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00641/0.2482, allocations: 4.908 MB / 0.4887 GB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2482, allocations: 0 / 0.4887 GB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2482, allocations: 4 kB / 0.4887 GB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001489/0.2484, allocations: 4 kB / 0.4887 GB, free: 11.3 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.008242/0.2566, allocations: 4.241 MB / 0.4928 GB, free: 6.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.2567, allocations: 8.031 kB / 0.4929 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.267, allocations: 3.087 MB / 0.4959 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004456/0.2715, allocations: 1.947 MB / 0.4978 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.2717, allocations: 197.2 kB / 0.498 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00058/0.2723, allocations: 259.8 kB / 0.4982 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/0.2915, allocations: 10.69 MB / 0.5086 GB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.949e-05/0.2917, allocations: 27.7 kB / 0.5087 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.2921, allocations: 127.8 kB / 0.5088 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004828/0.2969, allocations: 2.643 MB / 0.5114 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02316/0.3201, allocations: 10.02 MB / 0.5212 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3514/0.6716, allocations: 35.29 MB / 0.5556 GB, free: 67.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009305/0.6809, allocations: 5.199 MB / 0.5607 GB, free: 64.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002866/0.6838, allocations: 2.295 MB / 0.5629 GB, free: 63.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.6852, allocations: 1.871 MB / 0.5648 GB, free: 62.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.6853, allocations: 56.72 kB / 0.5648 GB, free: 62.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=229): time 4.157e-06/0.6853, allocations: 0 / 0.5648 GB, free: 62.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=235): time 0.03036/0.7156, allocations: 14.03 MB / 0.5785 GB, free: 52.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.7157, allocations: 77.41 kB / 0.5786 GB, free: 52.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004699/0.7204, allocations: 2.678 MB / 0.5812 GB, free: 49.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.7206, allocations: 53.7 kB / 0.5813 GB, free: 49.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.7224, allocations: 2.706 MB / 0.5839 GB, free: 46.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008777/0.7233, allocations: 0.8489 MB / 0.5847 GB, free: 46.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/0.725, allocations: 1.055 MB / 0.5858 GB, free: 45.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.7251, allocations: 305.1 kB / 0.5861 GB, free: 44.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/0.7277, allocations: 2.218 MB / 0.5882 GB, free: 42.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003802/0.7315, allocations: 5.13 MB / 0.5932 GB, free: 35.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007166/0.7387, allocations: 8.066 MB / 0.6011 GB, free: 26.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-05/0.7388, allocations: 28 kB / 0.6011 GB, free: 26.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01178/0.7506, allocations: 7.958 MB / 0.6089 GB, free: 18.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/0.7506, allocations: 53.25 kB / 0.609 GB, free: 18.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/0.7508, allocations: 100 kB / 0.6091 GB, free: 18.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/0.753, allocations: 0.7889 MB / 0.6098 GB, free: 17.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/0.7564, allocations: 1.205 MB / 0.611 GB, free: 16.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/0.7611, allocations: 4.197 MB / 0.6151 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/0.7647, allocations: 307.2 kB / 0.6154 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005709/0.7653, allocations: 308 kB / 0.6157 GB, free: 11.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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 (644): * Single equations (assignments): 637 * Array equations: 6 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00328/0.7686, allocations: 2.047 MB / 0.6177 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006139/0.7692, allocations: 264.6 kB / 0.6179 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007524/0.7767, allocations: 4.733 MB / 0.6226 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.468e-05/0.7768, allocations: 40.09 kB / 0.6226 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.051e-05/0.7769, allocations: 15.73 kB / 0.6226 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.7769, allocations: 7.969 kB / 0.6226 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02373/0.8006, allocations: 10.62 MB / 0.633 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-05/0.8007, allocations: 4 kB / 0.633 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.8023, allocations: 371.5 kB / 0.6334 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/0.8045, allocations: 0.6521 MB / 0.634 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002378/0.8048, allocations: 43.98 kB / 0.634 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005437/0.8102, allocations: 3.647 MB / 0.6376 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.8103, allocations: 15.92 kB / 0.6376 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/0.8226, allocations: 7.143 MB / 0.6446 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/0.8248, allocations: 0.6459 MB / 0.6452 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009427/0.8258, allocations: 40.69 kB / 0.6453 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/0.8276, allocations: 147.4 kB / 0.6454 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004323/0.8281, allocations: 133 kB / 0.6455 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/0.8283, allocations: 59.98 kB / 0.6456 GB, free: 12.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004275/0.8326, allocations: 1.648 MB / 0.6472 GB, free: 10.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.8326, allocations: 288 / 0.6472 GB, free: 10.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005928/0.8385, allocations: 0.9427 MB / 0.6481 GB, free: 9.816 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006724/0.8392, allocations: 193.3 kB / 0.6483 GB, free: 9.625 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01006/0.8493, allocations: 5.375 MB / 0.6535 GB, free: 4.262 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/0.8494, allocations: 5.875 kB / 0.6536 GB, free: 4.258 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003286/0.8526, allocations: 2.026 MB / 0.6555 GB, free: 2.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/0.856, allocations: 341.1 kB / 0.6559 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02793/0.884, allocations: 12.12 MB / 0.6677 GB, free: 5.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00765/0.8917, allocations: 3.221 MB / 0.6708 GB, free: 2.395 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001601/0.8934, allocations: 247.4 kB / 0.6711 GB, free: 2.152 MB / 462.1 MB Notification: Performance of SimCode: time 1.833e-06/0.8934, allocations: 0 / 0.6711 GB, free: 2.152 MB / 462.1 MB Notification: Performance of Templates: time 0.4627/1.356, allocations: 71.39 MB / 0.7408 GB, free: 163.7 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.RevoluteCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteCalcHelperMain.o] Error 1