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.001264/0.001263, allocations: 84.53 kB / 16.66 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.001332/0.001332, allocations: 180.1 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.936/1.936, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2677/0.2677, allocations: 43.59 MB / 315.6 MB, free: 420 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.0005633/0.0005633, allocations: 15 kB / 385.2 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1388, allocations: 58.87 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02898/0.1679, allocations: 29.13 MB / 473.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02101/0.1889, allocations: 6.794 MB / 480 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006762/0.1957, allocations: 123.7 kB / 480.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.1974, allocations: 446 kB / 480.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00559/0.2031, allocations: 1.67 MB / 482.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.2044, allocations: 459.2 kB / 482.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007836/0.2123, allocations: 5.134 MB / 487.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004465/0.2168, allocations: 2.45 MB / 490.3 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.2187, allocations: 0.9879 MB / 491.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.2213, allocations: 1.732 MB / 493 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.2218, allocations: 140 kB / 493.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.2239, allocations: 0.8969 MB / 494 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.2256, allocations: 1.554 MB / 495.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.2276, allocations: 1.845 MB / 497.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005923/0.2336, allocations: 4.801 MB / 0.4905 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.2336, allocations: 0 / 0.4905 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.2336, allocations: 4 kB / 0.4905 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001751/0.2338, allocations: 0 / 0.4905 GB, free: 10.75 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.008011/0.2418, allocations: 3.474 MB / 0.4939 GB, free: 7.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.2419, allocations: 12.03 kB / 0.4939 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.2536, allocations: 3.166 MB / 0.497 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/0.2591, allocations: 1.947 MB / 0.4989 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.2593, allocations: 197.2 kB / 0.4991 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008305/0.2602, allocations: 255.9 kB / 0.4993 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.278, allocations: 10.71 MB / 0.5098 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.585e-05/0.2781, allocations: 31.72 kB / 0.5098 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003764/0.2785, allocations: 119.8 kB / 0.5099 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004723/0.2832, allocations: 2.643 MB / 0.5125 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.3045, allocations: 10.03 MB / 0.5223 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.397/0.7015, allocations: 35.3 MB / 0.5567 GB, free: 66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009793/0.7114, allocations: 5.184 MB / 0.5618 GB, free: 63.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/0.7143, allocations: 2.289 MB / 0.564 GB, free: 62.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.7156, allocations: 1.885 MB / 0.5659 GB, free: 61.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.7157, allocations: 56.19 kB / 0.5659 GB, free: 61.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=229): time 4.177e-06/0.7157, allocations: 0 / 0.5659 GB, free: 61.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=235): time 0.03037/0.7461, allocations: 14.01 MB / 0.5796 GB, free: 52.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.7461, allocations: 73.41 kB / 0.5797 GB, free: 52.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004977/0.7511, allocations: 2.675 MB / 0.5823 GB, free: 49.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.7513, allocations: 55.11 kB / 0.5824 GB, free: 49.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.7532, allocations: 2.7 MB / 0.585 GB, free: 46.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000904/0.7541, allocations: 0.8515 MB / 0.5858 GB, free: 45.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008488/0.755, allocations: 470.8 kB / 0.5863 GB, free: 45.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.755, allocations: 301.1 kB / 0.5866 GB, free: 45.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003233/0.7583, allocations: 2.216 MB / 0.5887 GB, free: 42.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004786/0.7631, allocations: 5.142 MB / 0.5937 GB, free: 36.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007883/0.771, allocations: 8.062 MB / 0.6016 GB, free: 26.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.321e-05/0.7711, allocations: 28 kB / 0.6016 GB, free: 26.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01282/0.7839, allocations: 7.963 MB / 0.6094 GB, free: 18.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.784, allocations: 51.38 kB / 0.6095 GB, free: 18.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/0.7842, allocations: 100 kB / 0.6096 GB, free: 18.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/0.7863, allocations: 0.7957 MB / 0.6103 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/0.7898, allocations: 1.205 MB / 0.6115 GB, free: 16.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.7946, allocations: 4.191 MB / 0.6156 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/0.7987, allocations: 304.4 kB / 0.6159 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007851/0.7995, allocations: 308.8 kB / 0.6162 GB, free: 11.82 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.006224/0.8057, allocations: 2.054 MB / 0.6182 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/0.8068, allocations: 260.6 kB / 0.6185 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008685/0.8155, allocations: 4.727 MB / 0.6231 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-05/0.8156, allocations: 49.31 kB / 0.6231 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/0.8156, allocations: 3.938 kB / 0.6231 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.8157, allocations: 7.969 kB / 0.6231 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/0.8382, allocations: 10.62 MB / 0.6335 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/0.8382, allocations: 4.906 kB / 0.6335 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.8399, allocations: 359.4 kB / 0.6338 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/0.8422, allocations: 0.66 MB / 0.6345 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002581/0.8425, allocations: 39.98 kB / 0.6345 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005574/0.8481, allocations: 3.669 MB / 0.6381 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.8481, allocations: 7.938 kB / 0.6381 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/0.8606, allocations: 7.145 MB / 0.6451 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/0.8625, allocations: 0.6537 MB / 0.6457 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008063/0.8633, allocations: 39.98 kB / 0.6458 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/0.8651, allocations: 139.8 kB / 0.6459 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004463/0.8655, allocations: 125.1 kB / 0.646 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/0.8657, allocations: 70.02 kB / 0.6461 GB, free: 12.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003891/0.8696, allocations: 1.648 MB / 0.6477 GB, free: 11.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8696, allocations: 0 / 0.6477 GB, free: 11.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00568/0.8753, allocations: 0.9473 MB / 0.6486 GB, free: 10.2 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.000639/0.876, allocations: 185 kB / 0.6488 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01068/0.8867, allocations: 5.379 MB / 0.6541 GB, free: 4.652 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/0.8867, allocations: 0 / 0.6541 GB, free: 4.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003488/0.8902, allocations: 2.023 MB / 0.656 GB, free: 2.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00507/0.8953, allocations: 339.8 kB / 0.6564 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02531/0.9207, allocations: 12.2 MB / 0.6683 GB, free: 5.965 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006336/0.9271, allocations: 3.232 MB / 0.6714 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/0.9287, allocations: 251.4 kB / 0.6717 GB, free: 2.449 MB / 462.1 MB Notification: Performance of SimCode: time 1.724e-06/0.9287, allocations: 0 / 0.6717 GB, free: 2.449 MB / 462.1 MB Notification: Performance of Templates: time 0.4441/1.373, allocations: 70.63 MB / 0.7406 GB, free: 163.5 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