Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.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.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 103.8 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.001263/0.001263, allocations: 194.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.892/1.892, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.2575/0.2575, allocations: 43.51 MB / 314.1 MB, free: 0.7461 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.002019/0.002019, allocations: 66.8 kB / 382.7 MB, free: 57.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1501, allocations: 57.79 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.08695/0.2371, allocations: 82.25 MB / 0.5105 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05143/0.2886, allocations: 15.94 MB / 0.526 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02492/0.3135, allocations: 355.1 kB / 0.5264 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3953/0.7089, allocations: 4.773 MB / 0.531 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.011/0.72, allocations: 3.012 MB / 0.534 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.7232, allocations: 0.8332 MB / 0.5348 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0196/0.7428, allocations: 11.91 MB / 0.5464 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01224/0.7551, allocations: 6.371 MB / 0.5526 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008516/0.7637, allocations: 2.641 MB / 0.5552 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00942/0.7732, allocations: 4.343 MB / 0.5595 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003897/0.7771, allocations: 456.6 kB / 0.5599 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006152/0.7833, allocations: 1.335 MB / 0.5612 GB, free: 388 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007663/0.791, allocations: 3.638 MB / 0.5648 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01558/0.8066, allocations: 4.227 MB / 0.5689 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02065/0.8273, allocations: 11.09 MB / 0.5797 GB, free: 7.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.8274, allocations: 0 / 0.5797 GB, free: 7.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.8274, allocations: 0 / 0.5797 GB, free: 7.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009314/0.8284, allocations: 0 / 0.5797 GB, free: 7.738 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.0427/0.8711, allocations: 9.043 MB / 0.5886 GB, free: 108 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/0.8712, allocations: 8.031 kB / 0.5886 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02388/0.8951, allocations: 5.469 MB / 0.5939 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/0.9106, allocations: 5.077 MB / 0.5989 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006938/0.9114, allocations: 455.5 kB / 0.5993 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004849/0.9163, allocations: 0.5931 MB / 0.5999 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05812/0.9744, allocations: 20.53 MB / 0.6199 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005945/0.9751, allocations: 73.75 kB / 0.62 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004291/0.9794, allocations: 281.5 kB / 0.6203 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009068/0.9885, allocations: 4.354 MB / 0.6245 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05021/1.039, allocations: 18.24 MB / 0.6423 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.16/1.199, allocations: 75.56 MB / 0.7161 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02091/1.22, allocations: 8.182 MB / 0.7241 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01048/1.23, allocations: 5.359 MB / 0.7293 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/1.231, allocations: 70.67 kB / 0.7294 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/1.231, allocations: 72.16 kB / 0.7295 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=450): time 1.533e-05/1.231, allocations: 4 kB / 0.7295 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=497): time 0.4921/1.724, allocations: 42.93 MB / 0.7714 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/1.724, allocations: 230.1 kB / 0.7716 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01141/1.735, allocations: 6.511 MB / 0.778 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001339/1.737, allocations: 95.06 kB / 0.7781 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003899/1.74, allocations: 5.65 MB / 0.7836 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00308/1.744, allocations: 1.812 MB / 0.7854 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003795/1.747, allocations: 2.309 MB / 0.7876 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/1.747, allocations: 301.1 kB / 0.7879 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006964/1.754, allocations: 5.194 MB / 0.793 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01135/1.766, allocations: 11.4 MB / 0.8041 GB, free: 208.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02074/1.787, allocations: 17.93 MB / 0.8216 GB, free: 188 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003512/1.787, allocations: 60 kB / 0.8217 GB, free: 188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.04222/1.829, allocations: 18.34 MB / 0.8396 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005424/1.83, allocations: 103.9 kB / 0.8397 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007749/1.831, allocations: 212 kB / 0.8399 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007454/1.838, allocations: 2.352 MB / 0.8422 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/1.849, allocations: 2.647 MB / 0.8448 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/1.869, allocations: 16.13 MB / 0.8605 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/1.883, allocations: 0.6866 MB / 0.8612 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004319/1.888, allocations: 0.6404 MB / 0.8618 GB, free: 146.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 51 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1400): * Single equations (assignments): 1387 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (3,40,77.8%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01583/1.904, allocations: 4.189 MB / 0.8659 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003502/1.907, allocations: 0.6092 MB / 0.8665 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02457/1.932, allocations: 10.59 MB / 0.8768 GB, free: 130.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001357/1.932, allocations: 87.97 kB / 0.8769 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/1.932, allocations: 8 kB / 0.8769 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.744e-05/1.932, allocations: 23.92 kB / 0.877 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05747/1.99, allocations: 22.67 MB / 0.8991 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.27e-05/1.99, allocations: 12.12 kB / 0.8991 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004284/1.994, allocations: 0.7846 MB / 0.8999 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005477/2, allocations: 2.035 MB / 0.9019 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001369/2.001, allocations: 95.81 kB / 0.902 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/2.018, allocations: 15.02 MB / 0.9166 GB, free: 89.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-05/2.018, allocations: 15.94 kB / 0.9166 GB, free: 89.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03163/2.05, allocations: 16.69 MB / 0.9329 GB, free: 72.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005175/2.055, allocations: 1.415 MB / 0.9343 GB, free: 71.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003394/2.059, allocations: 87.58 kB / 0.9344 GB, free: 70.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005345/2.064, allocations: 319.5 kB / 0.9347 GB, free: 70.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001346/2.065, allocations: 306 kB / 0.935 GB, free: 70.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007763/2.066, allocations: 128.3 kB / 0.9351 GB, free: 70.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01042/2.076, allocations: 4.06 MB / 0.9391 GB, free: 66.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.1e-07/2.077, allocations: 0 / 0.9391 GB, free: 66.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01619/2.093, allocations: 2.111 MB / 0.9411 GB, free: 64.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (381): * Single equations (assignments): 368 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,37,77.8%), (1,2,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001947/2.095, allocations: 247.6 kB / 0.9414 GB, free: 63.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02343/2.118, allocations: 12.69 MB / 0.9538 GB, free: 51.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.18e-05/2.118, allocations: 4 kB / 0.9538 GB, free: 51.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009031/2.127, allocations: 5.11 MB / 0.9588 GB, free: 45.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0118/2.139, allocations: 0.7686 MB / 0.9595 GB, free: 45.19 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06154/2.201, allocations: 25.96 MB / 0.9849 GB, free: 19.06 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3261/2.527, allocations: 6.074 MB / 0.9908 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00439/2.531, allocations: 0.5301 MB / 0.9913 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/2.531, allocations: 1.406 kB / 0.9913 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.7884/3.32, allocations: 272.7 MB / 1.258 GB, free: 192.5 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.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.GearConstraintCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraintCalcHelperMain.o] Error 1