Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 97.09 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.001367/0.001367, allocations: 168.3 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.913/1.913, 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.2805/0.2805, allocations: 43.59 MB / 315.6 MB, free: 436 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.0007013/0.0007016, allocations: 17.83 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1459, allocations: 58.87 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.06868/0.2147, allocations: 62.32 MB / 0.4946 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04193/0.2567, allocations: 12.75 MB / 0.507 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01997/0.2767, allocations: 271.3 kB / 0.5073 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003262/0.2801, allocations: 0.6297 MB / 0.5079 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.2903, allocations: 2.48 MB / 0.5103 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.2938, allocations: 0.944 MB / 0.5112 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01892/0.3127, allocations: 10.08 MB / 0.5211 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01462/0.3274, allocations: 5.453 MB / 0.5264 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005852/0.3334, allocations: 1.789 MB / 0.5281 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006808/0.3402, allocations: 3.169 MB / 0.5312 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002068/0.3423, allocations: 220 kB / 0.5314 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.379/0.7214, allocations: 1.13 MB / 0.5325 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007031/0.7285, allocations: 2.639 MB / 0.5351 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01238/0.7409, allocations: 2.976 MB / 0.538 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.7578, allocations: 7.713 MB / 0.5456 GB, free: 9.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.7579, allocations: 1.125 kB / 0.5456 GB, free: 9.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.7579, allocations: 0 / 0.5456 GB, free: 9.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007362/0.7587, allocations: 0.8438 kB / 0.5456 GB, free: 9.461 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.02677/0.7855, allocations: 6.029 MB / 0.5515 GB, free: 6.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.7855, allocations: 11.25 kB / 0.5515 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/0.8049, allocations: 3.939 MB / 0.5553 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/0.8191, allocations: 4.265 MB / 0.5595 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006263/0.8199, allocations: 320.8 kB / 0.5598 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003704/0.8236, allocations: 449.1 kB / 0.5602 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04819/0.8718, allocations: 15.84 MB / 0.5757 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005382/0.8724, allocations: 54.5 kB / 0.5757 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003088/0.8755, allocations: 200.8 kB / 0.5759 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007634/0.8831, allocations: 3.474 MB / 0.5793 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04234/0.9255, allocations: 15 MB / 0.594 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1171/1.043, allocations: 56.08 MB / 0.6487 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02331/1.066, allocations: 8.208 MB / 0.6567 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0088/1.075, allocations: 4.834 MB / 0.6615 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00273/1.078, allocations: 2.208 MB / 0.6636 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/1.078, allocations: 65.08 kB / 0.6637 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 1.187e-05/1.078, allocations: 0 / 0.6637 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.1333/1.211, allocations: 40.24 MB / 0.703 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/1.211, allocations: 116 kB / 0.7031 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01224/1.224, allocations: 4.368 MB / 0.7073 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001593/1.225, allocations: 96.27 kB / 0.7074 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005153/1.231, allocations: 3.861 MB / 0.7112 GB, free: 13.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003734/1.234, allocations: 1.493 MB / 0.7127 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003314/1.238, allocations: 0.6899 MB / 0.7133 GB, free: 11.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.238, allocations: 301.1 kB / 0.7136 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009349/1.247, allocations: 4.091 MB / 0.7176 GB, free: 6.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01441/1.262, allocations: 7.901 MB / 0.7253 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4073/1.669, allocations: 12.97 MB / 0.738 GB, free: 224.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000178/1.669, allocations: 37.78 kB / 0.738 GB, free: 224.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.04302/1.712, allocations: 14.8 MB / 0.7525 GB, free: 222.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.712, allocations: 62.81 kB / 0.7525 GB, free: 222.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/1.713, allocations: 130 kB / 0.7527 GB, free: 222.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008723/1.721, allocations: 2.936 MB / 0.7555 GB, free: 221.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007741/1.729, allocations: 1.833 MB / 0.7573 GB, free: 221.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/1.749, allocations: 14.87 MB / 0.7718 GB, free: 214.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00874/1.758, allocations: 0.5034 MB / 0.7723 GB, free: 214.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002748/1.761, allocations: 437.8 kB / 0.7728 GB, free: 214.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (951): * Single equations (assignments): 943 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01118/1.772, allocations: 2.916 MB / 0.7756 GB, free: 212.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002267/1.774, allocations: 460.1 kB / 0.776 GB, free: 211.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02491/1.799, allocations: 10.93 MB / 0.7867 GB, free: 202.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001152/1.8, allocations: 61.23 kB / 0.7868 GB, free: 202.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.496e-05/1.8, allocations: 11.94 kB / 0.7868 GB, free: 202.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.845e-05/1.8, allocations: 23.92 kB / 0.7868 GB, free: 202.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05751/1.857, allocations: 21.79 MB / 0.8081 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.215e-05/1.857, allocations: 15.33 kB / 0.8081 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00379/1.861, allocations: 0.6786 MB / 0.8088 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008206/1.869, allocations: 2.741 MB / 0.8115 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001209/1.871, allocations: 86.17 kB / 0.8115 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01766/1.888, allocations: 13.58 MB / 0.8248 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/1.888, allocations: 15.94 kB / 0.8248 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02828/1.917, allocations: 15.57 MB / 0.84 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004307/1.921, allocations: 1.181 MB / 0.8412 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002409/1.923, allocations: 75.94 kB / 0.8412 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004858/1.928, allocations: 317.3 kB / 0.8415 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/1.93, allocations: 269.9 kB / 0.8418 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006331/1.93, allocations: 109.3 kB / 0.8419 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007266/1.938, allocations: 2.745 MB / 0.8446 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.72e-07/1.938, allocations: 0 / 0.8446 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01267/1.95, allocations: 1.693 MB / 0.8462 GB, free: 141.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001424/1.952, allocations: 244.7 kB / 0.8465 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01887/1.971, allocations: 10.06 MB / 0.8563 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.674e-05/1.971, allocations: 1.422 kB / 0.8563 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007785/1.978, allocations: 4.373 MB / 0.8606 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01403/1.993, allocations: 0.6881 MB / 0.8612 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04406/2.037, allocations: 19.86 MB / 0.8806 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005324/2.042, allocations: 4.593 MB / 0.8851 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002719/2.045, allocations: 407.3 kB / 0.8855 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/2.045, allocations: 0 / 0.8855 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.5841/2.629, allocations: 142.1 MB / 1.024 GB, free: 186.4 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2CalcHelperMain.o] Error 1