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.0008645/0.0008643, allocations: 92.28 kB / 16.33 MB, free: 5.934 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.0009242/0.0009241, allocations: 184.6 kB / 17.22 MB, free: 5.863 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.643/1.643, allocations: 205.4 MB / 223.4 MB, free: 5.199 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.3834/0.3834, allocations: 43.55 MB / 315.2 MB, free: 9.062 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.0006105/0.0006106, allocations: 18.66 kB / 384.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1392, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.3431/0.4823, allocations: 74.62 MB / 0.5059 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04626/0.5287, allocations: 15.23 MB / 0.5208 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02211/0.5508, allocations: 350.5 kB / 0.5211 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01784/0.5687, allocations: 3.962 MB / 0.525 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04346/0.6122, allocations: 11.54 MB / 0.5362 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006062/0.6183, allocations: 0.8078 MB / 0.537 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05207/0.6704, allocations: 37.49 MB / 0.5736 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01383/0.6843, allocations: 7.863 MB / 0.5813 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006613/0.691, allocations: 2.417 MB / 0.5837 GB, free: 392 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00948/0.7005, allocations: 3.801 MB / 0.5874 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002271/0.7029, allocations: 292 kB / 0.5877 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004115/0.707, allocations: 1.01 MB / 0.5887 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005525/0.7125, allocations: 3.327 MB / 0.5919 GB, free: 7.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002922/0.7155, allocations: 1.633 MB / 0.5935 GB, free: 6.293 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.7314, allocations: 10.84 MB / 0.6041 GB, free: 11.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.7315, allocations: 0 / 0.6041 GB, free: 11.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.7315, allocations: 0 / 0.6041 GB, free: 11.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006207/0.7321, allocations: 0 / 0.6041 GB, free: 11.43 MB / 478.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.0204/0.7525, allocations: 7.458 MB / 0.6114 GB, free: 3.887 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.7526, allocations: 8.031 kB / 0.6114 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/0.7734, allocations: 5.612 MB / 0.6169 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.7856, allocations: 5.01 MB / 0.6217 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/0.7861, allocations: 451.5 kB / 0.6222 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002167/0.7883, allocations: 0.5894 MB / 0.6228 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5383/1.327, allocations: 20.51 MB / 0.6428 GB, free: 133.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002559/1.327, allocations: 66.06 kB / 0.6428 GB, free: 133.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001104/1.328, allocations: 287.1 kB / 0.6431 GB, free: 133.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006105/1.334, allocations: 4.345 MB / 0.6474 GB, free: 132.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03949/1.374, allocations: 18.19 MB / 0.6651 GB, free: 126.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1024/1.476, allocations: 75.61 MB / 0.739 GB, free: 64.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/1.491, allocations: 8.17 MB / 0.7469 GB, free: 56.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005968/1.497, allocations: 5.348 MB / 0.7522 GB, free: 50.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/1.497, allocations: 63.09 kB / 0.7522 GB, free: 50.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/1.497, allocations: 81.17 kB / 0.7523 GB, free: 50.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 6.532e-06/1.497, allocations: 0 / 0.7523 GB, free: 50.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.08355/1.581, allocations: 42.91 MB / 0.7942 GB, free: 7.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.581, allocations: 223 kB / 0.7944 GB, free: 7.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00828/1.589, allocations: 6.474 MB / 0.8007 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001074/1.59, allocations: 99.81 kB / 0.8008 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004979/1.595, allocations: 5.665 MB / 0.8064 GB, free: 11.16 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00314/1.598, allocations: 1.809 MB / 0.8081 GB, free: 9.363 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007731/1.599, allocations: 225.9 kB / 0.8084 GB, free: 9.145 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0007374/1.6, allocations: 0.8058 MB / 0.8091 GB, free: 8.332 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008572/1.608, allocations: 5.157 MB / 0.8142 GB, free: 3.172 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01426/1.623, allocations: 11.35 MB / 0.8253 GB, free: 4.836 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3233/1.946, allocations: 7.604 MB / 0.8327 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001851/1.946, allocations: 60.91 kB / 0.8327 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.0382/1.984, allocations: 18.26 MB / 0.8506 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/1.985, allocations: 95.03 kB / 0.8507 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000327/1.985, allocations: 214.2 kB / 0.8509 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006715/1.992, allocations: 2.381 MB / 0.8532 GB, free: 143.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/2.004, allocations: 2.644 MB / 0.8558 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/2.024, allocations: 16.13 MB / 0.8715 GB, free: 133.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/2.035, allocations: 0.6828 MB / 0.8722 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002901/2.038, allocations: 0.6359 MB / 0.8728 GB, free: 133.1 MB / 0.5138 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 (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.01203/2.05, allocations: 4.193 MB / 0.8769 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/2.051, allocations: 0.6069 MB / 0.8775 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/2.07, allocations: 10.57 MB / 0.8878 GB, free: 127.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001418/2.07, allocations: 90.45 kB / 0.8879 GB, free: 127.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.357e-05/2.07, allocations: 11.22 kB / 0.8879 GB, free: 127.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.242e-05/2.07, allocations: 20.44 kB / 0.8879 GB, free: 127.5 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0388/2.109, allocations: 22.64 MB / 0.9101 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/2.109, allocations: 12 kB / 0.9101 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/2.112, allocations: 0.7853 MB / 0.9108 GB, free: 112.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004635/2.117, allocations: 2.032 MB / 0.9128 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006672/2.118, allocations: 87.33 kB / 0.9129 GB, free: 111 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/2.132, allocations: 15.02 MB / 0.9276 GB, free: 95.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/2.132, allocations: 18.31 kB / 0.9276 GB, free: 95.96 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02158/2.154, allocations: 16.65 MB / 0.9438 GB, free: 79.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003831/2.157, allocations: 1.422 MB / 0.9452 GB, free: 77.65 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/2.159, allocations: 91.03 kB / 0.9453 GB, free: 77.56 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/2.162, allocations: 327.5 kB / 0.9456 GB, free: 77.24 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/2.162, allocations: 298.1 kB / 0.9459 GB, free: 76.95 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002927/2.163, allocations: 128 kB / 0.946 GB, free: 76.83 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005603/2.168, allocations: 4.005 MB / 0.95 GB, free: 72.83 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.5e-07/2.168, allocations: 4 kB / 0.95 GB, free: 72.83 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01159/2.18, allocations: 2.107 MB / 0.952 GB, free: 70.73 MB / 0.5138 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 (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.001485/2.181, allocations: 243.5 kB / 0.9522 GB, free: 70.48 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01861/2.2, allocations: 12.65 MB / 0.9646 GB, free: 57.83 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/2.2, allocations: 0 / 0.9646 GB, free: 57.83 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007038/2.207, allocations: 5.111 MB / 0.9696 GB, free: 52.68 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/2.212, allocations: 0.7621 MB / 0.9703 GB, free: 51.94 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03812/2.25, allocations: 25.19 MB / 0.9949 GB, free: 26.57 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007365/2.258, allocations: 6.072 MB / 1.001 GB, free: 20.46 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002658/2.26, allocations: 0.5267 MB / 1.001 GB, free: 19.93 MB / 0.5138 GB Notification: Performance of SimCode: time 1.353e-06/2.26, allocations: 0 / 1.001 GB, free: 19.93 MB / 0.5138 GB Notification: Performance of Templates: time 0.9809/3.241, allocations: 271.4 MB / 1.266 GB, free: 156.9 MB / 0.545 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++ 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.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