Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008214/0.0008212, allocations: 90 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009702/0.0009702, allocations: 198.2 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2553/0.2553, allocations: 45.92 MB / 344.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1842, allocations: 63.46 MB / 482.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.4279/0.6122, allocations: 74.05 MB / 0.5431 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04833/0.6606, allocations: 15.17 MB / 0.5579 GB, free: 7.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02493/0.6855, allocations: 353.7 kB / 0.5583 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01921/0.7048, allocations: 3.944 MB / 0.5621 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03977/0.7446, allocations: 11.45 MB / 0.5733 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005969/0.7506, allocations: 0.7919 MB / 0.5741 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.08784/0.8385, allocations: 64.63 MB / 0.6372 GB, free: 9.316 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01543/0.854, allocations: 7.786 MB / 0.6448 GB, free: 1.461 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006708/0.8607, allocations: 2.355 MB / 0.6471 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00726/0.868, allocations: 3.68 MB / 0.6507 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002111/0.8702, allocations: 280 kB / 0.651 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004294/0.8745, allocations: 1.003 MB / 0.652 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005042/0.8796, allocations: 3.233 MB / 0.6551 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002953/0.8825, allocations: 1.594 MB / 0.6567 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/0.897, allocations: 10.53 MB / 0.667 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.897, allocations: 0 / 0.667 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.358e-06/0.8971, allocations: 4 kB / 0.667 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0006284/0.8977, allocations: 0 / 0.667 GB, free: 10.72 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3026 * Number of variables: 3026 Notification: Performance of Generate backend data structure: time 0.01957/0.9173, allocations: 7.313 MB / 0.6741 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.9173, allocations: 12.03 kB / 0.6741 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02056/0.9379, allocations: 5.608 MB / 0.6796 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/0.9532, allocations: 4.778 MB / 0.6843 GB, free: 8.848 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005064/0.9538, allocations: 443.2 kB / 0.6847 GB, free: 8.414 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003503/0.9573, allocations: 0.5776 MB / 0.6852 GB, free: 7.836 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04921/1.006, allocations: 20.01 MB / 0.7048 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004131/1.007, allocations: 75.3 kB / 0.7048 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002573/1.01, allocations: 271.7 kB / 0.7051 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6432/1.653, allocations: 4.231 MB / 0.7092 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04375/1.697, allocations: 17.74 MB / 0.7266 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09798/1.795, allocations: 74.01 MB / 0.7988 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/1.81, allocations: 7.929 MB / 0.8066 GB, free: 97.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006212/1.816, allocations: 5.171 MB / 0.8116 GB, free: 92.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/1.816, allocations: 66.53 kB / 0.8117 GB, free: 92.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/1.816, allocations: 77.2 kB / 0.8118 GB, free: 92.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=429): time 7.494e-06/1.816, allocations: 0 / 0.8118 GB, free: 92.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=476): time 0.1016/1.918, allocations: 41.75 MB / 0.8525 GB, free: 50.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/1.918, allocations: 230.7 kB / 0.8528 GB, free: 50.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0127/1.931, allocations: 6.367 MB / 0.859 GB, free: 43.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00123/1.932, allocations: 85.7 kB / 0.8591 GB, free: 43.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003998/1.936, allocations: 5.521 MB / 0.8645 GB, free: 38.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002843/1.939, allocations: 1.738 MB / 0.8661 GB, free: 36.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001842/1.941, allocations: 221.3 kB / 0.8664 GB, free: 36.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.001247/1.942, allocations: 0.7934 MB / 0.8671 GB, free: 35.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008359/1.95, allocations: 5 MB / 0.872 GB, free: 30.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01195/1.962, allocations: 11.07 MB / 0.8828 GB, free: 16.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/1.973, allocations: 7.387 MB / 0.89 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002468/1.974, allocations: 60 kB / 0.8901 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1486) (initialization): time 0.03742/2.011, allocations: 17.8 MB / 0.9075 GB, free: 7.168 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004083/2.012, allocations: 92 kB / 0.9076 GB, free: 7.078 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005591/2.012, allocations: 215.9 kB / 0.9078 GB, free: 6.867 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00719/2.019, allocations: 2.374 MB / 0.9101 GB, free: 4.48 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/2.03, allocations: 2.566 MB / 0.9126 GB, free: 1.91 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.393/2.423, allocations: 16.12 MB / 0.9283 GB, free: 161.4 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009466/2.432, allocations: 0.6729 MB / 0.929 GB, free: 161.2 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0029/2.435, allocations: 0.6218 MB / 0.9296 GB, free: 161.2 MB / 0.5451 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 958 * Number of states: 0 () * Number of discrete variables: 53 (torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (1362): * Single equations (assignments): 1349 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(3,77.8%) 40,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01151/2.447, allocations: 4.099 MB / 0.9336 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001727/2.448, allocations: 0.5969 MB / 0.9342 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0181/2.466, allocations: 10.18 MB / 0.9441 GB, free: 156 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000132/2.467, allocations: 89.8 kB / 0.9442 GB, free: 156 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.215e-05/2.467, allocations: 11.56 kB / 0.9442 GB, free: 156 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-05/2.467, allocations: 19.08 kB / 0.9443 GB, free: 156 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.047/2.514, allocations: 21.93 MB / 0.9657 GB, free: 148.3 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-05/2.514, allocations: 11.38 kB / 0.9657 GB, free: 148.3 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004016/2.518, allocations: 0.7453 MB / 0.9664 GB, free: 148.2 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004955/2.523, allocations: 2.03 MB / 0.9684 GB, free: 147.8 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009768/2.524, allocations: 82.94 kB / 0.9685 GB, free: 147.8 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/2.539, allocations: 15.03 MB / 0.9832 GB, free: 134.4 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/2.539, allocations: 19.94 kB / 0.9832 GB, free: 134.4 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/2.561, allocations: 16.05 MB / 0.9988 GB, free: 118.5 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/2.564, allocations: 0.6271 MB / 0.9995 GB, free: 117.9 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001894/2.566, allocations: 85.55 kB / 0.9995 GB, free: 117.8 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/2.569, allocations: 314.2 kB / 0.9998 GB, free: 117.5 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008588/2.57, allocations: 290.7 kB / 1 GB, free: 117.2 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002888/2.57, allocations: 120 kB / 1 GB, free: 117.1 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.00719/2.577, allocations: 3.936 MB / 1.004 GB, free: 113.2 MB / 0.5451 GB Notification: Performance of sort global known variables: time 2.61e-07/2.577, allocations: 4 kB / 1.004 GB, free: 113.2 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.01383/2.591, allocations: 2.045 MB / 1.006 GB, free: 111.1 MB / 0.5451 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 (359): * Single equations (assignments): 346 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,77.8%) 37,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00177/2.593, allocations: 242.4 kB / 1.006 GB, free: 110.9 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.02323/2.616, allocations: 12.25 MB / 1.018 GB, free: 98.7 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.718e-05/2.616, allocations: 0 / 1.018 GB, free: 98.7 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.00808/2.624, allocations: 4.935 MB / 1.023 GB, free: 93.72 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008767/2.633, allocations: 0.7608 MB / 1.024 GB, free: 92.99 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05006/2.683, allocations: 24.49 MB / 1.048 GB, free: 68.44 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01377/2.697, allocations: 5.945 MB / 1.054 GB, free: 62.46 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003679/2.701, allocations: 0.5111 MB / 1.054 GB, free: 61.95 MB / 0.5451 GB Notification: Performance of SimCode: time 2.054e-06/2.701, allocations: 0 / 1.054 GB, free: 61.95 MB / 0.5451 GB Notification: Performance of Templates: time 0.709/3.41, allocations: 264.3 MB / 1.312 GB, free: 4.434 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.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_trunk_ModelicaTest.MultiBody.Joints.GearConstraintCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraintCalcHelperMain.o] Error 1