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.001111/0.001111, allocations: 89.88 kB / 16.67 MB, free: 6.586 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.001311/0.001311, allocations: 184.6 kB / 17.58 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.899/1.899, 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.2645/0.2645, allocations: 43.59 MB / 315.6 MB, free: 424 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.0006549/0.0006549, allocations: 17.77 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1481, allocations: 58.87 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.08434/0.2325, allocations: 80.27 MB / 0.5121 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05263/0.2852, allocations: 15.88 MB / 0.5276 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02643/0.3117, allocations: 351.2 kB / 0.5279 GB, free: 4.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004079/0.3158, allocations: 0.8281 MB / 0.5287 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.327, allocations: 3.028 MB / 0.5317 GB, free: 444 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3947/0.7218, allocations: 0.823 MB / 0.5325 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0221/0.7439, allocations: 11.91 MB / 0.5441 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01773/0.7617, allocations: 8.695 MB / 0.5526 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007719/0.7695, allocations: 2.238 MB / 0.5548 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009616/0.7792, allocations: 3.855 MB / 0.5586 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002555/0.7818, allocations: 290.1 kB / 0.5588 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004694/0.7865, allocations: 1.167 MB / 0.56 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005419/0.7919, allocations: 3.404 MB / 0.5633 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009141/0.8011, allocations: 3.952 MB / 0.5672 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01967/0.8208, allocations: 10.84 MB / 0.5778 GB, free: 8.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.8208, allocations: 0 / 0.5778 GB, free: 8.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.8209, allocations: 0 / 0.5778 GB, free: 8.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009054/0.8218, allocations: 0 / 0.5778 GB, free: 8.898 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.02985/0.8516, allocations: 7.346 MB / 0.5849 GB, free: 4.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.48e-05/0.8517, allocations: 8.188 kB / 0.5849 GB, free: 4.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02657/0.8783, allocations: 5.609 MB / 0.5904 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/0.8951, allocations: 5.09 MB / 0.5954 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008912/0.8961, allocations: 454.1 kB / 0.5958 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0045/0.9006, allocations: 0.5886 MB / 0.5964 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06033/0.961, allocations: 20.56 MB / 0.6165 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000686/0.9617, allocations: 64.12 kB / 0.6165 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003626/0.9653, allocations: 284.2 kB / 0.6168 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00849/0.9739, allocations: 4.358 MB / 0.6211 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04448/1.018, allocations: 18.27 MB / 0.6389 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1285/1.147, allocations: 75.63 MB / 0.7128 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01951/1.166, allocations: 8.196 MB / 0.7208 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00906/1.176, allocations: 5.355 MB / 0.726 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/1.176, allocations: 61.98 kB / 0.7261 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.765e-05/1.176, allocations: 80.06 kB / 0.7261 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=450): time 9.357e-06/1.176, allocations: 0 / 0.7261 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=497): time 0.4705/1.647, allocations: 42.99 MB / 0.7681 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.647, allocations: 227.1 kB / 0.7683 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01174/1.658, allocations: 6.513 MB / 0.7747 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001428/1.66, allocations: 91.83 kB / 0.7748 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004373/1.664, allocations: 5.651 MB / 0.7803 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003222/1.668, allocations: 1.81 MB / 0.7821 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/1.669, allocations: 0.9818 MB / 0.783 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/1.669, allocations: 301.1 kB / 0.7833 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007306/1.677, allocations: 5.213 MB / 0.7884 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/1.689, allocations: 11.39 MB / 0.7995 GB, free: 212.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02186/1.711, allocations: 17.95 MB / 0.8171 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002723/1.711, allocations: 64 kB / 0.8171 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.0427/1.754, allocations: 18.36 MB / 0.835 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004084/1.754, allocations: 96.22 kB / 0.8351 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005939/1.755, allocations: 216 kB / 0.8353 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006301/1.761, allocations: 2.355 MB / 0.8376 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/1.771, allocations: 2.645 MB / 0.8402 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/1.79, allocations: 16.15 MB / 0.856 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01286/1.803, allocations: 0.6981 MB / 0.8567 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004242/1.808, allocations: 0.6366 MB / 0.8573 GB, free: 153.7 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.0191/1.827, allocations: 4.187 MB / 0.8614 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004265/1.831, allocations: 0.6054 MB / 0.862 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03246/1.863, allocations: 10.61 MB / 0.8723 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002002/1.864, allocations: 87.98 kB / 0.8724 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-05/1.864, allocations: 12 kB / 0.8724 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001421/1.864, allocations: 23.86 kB / 0.8725 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07182/1.936, allocations: 22.68 MB / 0.8946 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.76e-05/1.936, allocations: 8 kB / 0.8946 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005282/1.941, allocations: 0.7878 MB / 0.8954 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007366/1.949, allocations: 2.03 MB / 0.8974 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001296/1.95, allocations: 87.98 kB / 0.8975 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02276/1.973, allocations: 15.04 MB / 0.9121 GB, free: 96.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.806e-05/1.973, allocations: 15.94 kB / 0.9122 GB, free: 96.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02631/1.999, allocations: 16.7 MB / 0.9285 GB, free: 79.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004411/2.004, allocations: 1.426 MB / 0.9299 GB, free: 78.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/2.005, allocations: 92.09 kB / 0.93 GB, free: 78.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003341/2.008, allocations: 327.5 kB / 0.9303 GB, free: 77.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008265/2.009, allocations: 298.1 kB / 0.9305 GB, free: 77.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003144/2.01, allocations: 128 kB / 0.9307 GB, free: 77.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006432/2.016, allocations: 4.056 MB / 0.9346 GB, free: 73.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.32e-07/2.016, allocations: 0 / 0.9346 GB, free: 73.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01284/2.029, allocations: 2.108 MB / 0.9367 GB, free: 71.42 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.00118/2.03, allocations: 259.8 kB / 0.9369 GB, free: 71.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02184/2.052, allocations: 12.71 MB / 0.9493 GB, free: 58.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.661e-05/2.052, allocations: 4 kB / 0.9493 GB, free: 58.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007816/2.06, allocations: 5.114 MB / 0.9543 GB, free: 53.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01847/2.078, allocations: 0.7635 MB / 0.9551 GB, free: 52.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0568/2.135, allocations: 26.07 MB / 0.9806 GB, free: 26.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01045/2.146, allocations: 6.079 MB / 0.9865 GB, free: 20.15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002945/2.149, allocations: 0.5306 MB / 0.987 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/2.149, allocations: 0 / 0.987 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of Templates: time 1.113/3.262, allocations: 271 MB / 1.252 GB, free: 197.3 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