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.000929/0.0009287, allocations: 96.78 kB / 16.33 MB, free: 5.938 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.001135/0.001135, allocations: 188.9 kB / 17.22 MB, free: 5.879 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.684/1.684, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4055/0.4055, allocations: 43.55 MB / 315.2 MB, free: 9.098 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.0005466/0.0005467, allocations: 16 kB / 384.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1478, allocations: 58.85 MB / 443.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.322/0.4699, allocations: 27.13 MB / 470.5 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.4876, allocations: 6.441 MB / 477 MB, free: 31.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005775/0.4934, allocations: 120 kB / 477.1 MB, free: 31.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003917/0.4973, allocations: 1.297 MB / 478.4 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.5101, allocations: 4.006 MB / 482.4 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.5123, allocations: 425.1 kB / 482.8 MB, free: 29.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005877/0.5182, allocations: 3.935 MB / 486.7 MB, free: 28.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004597/0.5228, allocations: 2.271 MB / 489 MB, free: 27.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.5257, allocations: 1.052 MB / 490.1 MB, free: 26.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003607/0.5294, allocations: 1.7 MB / 491.8 MB, free: 26.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.5306, allocations: 136.7 kB / 491.9 MB, free: 26.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.5339, allocations: 0.7583 MB / 492.7 MB, free: 26.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003585/0.5375, allocations: 1.494 MB / 494.2 MB, free: 25.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003015/0.5405, allocations: 0.7674 MB / 494.9 MB, free: 25.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.551, allocations: 4.795 MB / 499.7 MB, free: 24.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.5511, allocations: 0 / 499.7 MB, free: 24.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.5511, allocations: 0 / 499.7 MB, free: 24.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004245/0.5515, allocations: 3.938 kB / 499.7 MB, free: 24.11 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.01397/0.5655, allocations: 3.521 MB / 0.4914 GB, free: 21.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5656, allocations: 9.719 kB / 0.4915 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.5771, allocations: 3.165 MB / 0.4945 GB, free: 20.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005727/0.5828, allocations: 1.93 MB / 0.4964 GB, free: 19.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/0.5832, allocations: 195.3 kB / 0.4966 GB, free: 19.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/0.5851, allocations: 253.1 kB / 0.4969 GB, free: 18.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0266/0.6117, allocations: 10.69 MB / 0.5073 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002238/0.612, allocations: 22.69 kB / 0.5073 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001685/0.6137, allocations: 129.5 kB / 0.5074 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005419/0.6191, allocations: 2.643 MB / 0.51 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02145/0.6406, allocations: 9.983 MB / 0.5198 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06735/0.708, allocations: 35.29 MB / 0.5542 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.7185, allocations: 5.186 MB / 0.5593 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003762/0.7223, allocations: 2.287 MB / 0.5615 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/0.7243, allocations: 1.876 MB / 0.5634 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.7244, allocations: 48.56 kB / 0.5634 GB, free: 3.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 7.254e-06/0.7244, allocations: 0 / 0.5634 GB, free: 3.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03724/0.7616, allocations: 13.98 MB / 0.5771 GB, free: 5.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.7618, allocations: 73.41 kB / 0.5771 GB, free: 5.363 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006219/0.768, allocations: 2.653 MB / 0.5797 GB, free: 2.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005227/0.7686, allocations: 57.7 kB / 0.5798 GB, free: 2.629 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002503/0.7711, allocations: 2.709 MB / 0.5824 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001655/0.7728, allocations: 0.8479 MB / 0.5832 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007118/0.7735, allocations: 107.9 kB / 0.5833 GB, free: 14.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006401/0.7742, allocations: 0.5372 MB / 0.5839 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004176/0.7783, allocations: 2.2 MB / 0.586 GB, free: 12.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006661/0.785, allocations: 5.115 MB / 0.591 GB, free: 5.617 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005761/0.7908, allocations: 3.338 MB / 0.5943 GB, free: 2.273 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/0.791, allocations: 31.94 kB / 0.5943 GB, free: 2.242 MB / 462.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01608/0.8071, allocations: 7.914 MB / 0.602 GB, free: 10.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.8072, allocations: 50.97 kB / 0.6021 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001869/0.8074, allocations: 102 kB / 0.6022 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/0.8096, allocations: 0.8128 MB / 0.603 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004648/0.8143, allocations: 1.209 MB / 0.6042 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006138/0.8205, allocations: 4.196 MB / 0.6083 GB, free: 3.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005057/0.8255, allocations: 299.7 kB / 0.6085 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/0.8272, allocations: 308 kB / 0.6088 GB, free: 3.219 MB / 478.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 (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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006112/0.8333, allocations: 2.055 MB / 0.6108 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009207/0.8342, allocations: 268.6 kB / 0.6111 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00969/0.844, allocations: 4.714 MB / 0.6157 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.609e-05/0.8441, allocations: 43.98 kB / 0.6157 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.8441, allocations: 4 kB / 0.6157 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/0.8441, allocations: 11.97 kB / 0.6158 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02591/0.8701, allocations: 10.58 MB / 0.6261 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-05/0.8701, allocations: 8.125 kB / 0.6261 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/0.8718, allocations: 367.4 kB / 0.6264 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/0.8737, allocations: 0.6483 MB / 0.6271 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003709/0.8741, allocations: 51.92 kB / 0.6271 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3043/1.178, allocations: 3.652 MB / 0.6307 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-06/1.178, allocations: 8.031 kB / 0.6307 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.189, allocations: 7.117 MB / 0.6377 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/1.191, allocations: 0.6525 MB / 0.6383 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/1.191, allocations: 36.72 kB / 0.6383 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.192, allocations: 142.7 kB / 0.6385 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/1.192, allocations: 138.7 kB / 0.6386 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.192, allocations: 61.47 kB / 0.6386 GB, free: 138.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002631/1.195, allocations: 1.619 MB / 0.6402 GB, free: 138.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.195, allocations: 0 / 0.6402 GB, free: 138.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004468/1.2, allocations: 0.9452 MB / 0.6412 GB, free: 138.3 MB / 494.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 (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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004343/1.2, allocations: 182.4 kB / 0.6413 GB, free: 138.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007786/1.208, allocations: 5.354 MB / 0.6466 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.208, allocations: 0 / 0.6466 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002632/1.211, allocations: 2.017 MB / 0.6485 GB, free: 135.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/1.213, allocations: 341.9 kB / 0.6489 GB, free: 135.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/1.235, allocations: 11.78 MB / 0.6604 GB, free: 129.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004316/1.239, allocations: 3.231 MB / 0.6635 GB, free: 128.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.241, allocations: 251.2 kB / 0.6637 GB, free: 128.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.362e-06/1.241, allocations: 0 / 0.6637 GB, free: 128.3 MB / 494.1 MB Notification: Performance of Templates: time 0.1032/1.344, allocations: 70.8 MB / 0.7329 GB, free: 71.18 MB / 494.1 MB 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++ 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_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