Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.000958/0.0009581, allocations: 93.58 kB / 17.63 MB, free: 6.152 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.001206/0.001206, allocations: 182 kB / 18.52 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 242.5 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2636/0.2636, allocations: 44.23 MB / 337.9 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 12 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1485, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.4667/0.6153, allocations: 74.03 MB / 0.5334 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05207/0.6674, allocations: 15.15 MB / 0.5482 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02367/0.6911, allocations: 351.1 kB / 0.5485 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01518/0.7063, allocations: 3.945 MB / 0.5524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03872/0.7451, allocations: 11.46 MB / 0.5636 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005954/0.751, allocations: 0.8074 MB / 0.5644 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08888/0.8399, allocations: 64.51 MB / 0.6274 GB, free: 5.637 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01531/0.8553, allocations: 7.791 MB / 0.635 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006469/0.8619, allocations: 2.362 MB / 0.6373 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007034/0.8689, allocations: 3.661 MB / 0.6409 GB, free: 7.742 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001961/0.8709, allocations: 283.9 kB / 0.6411 GB, free: 7.465 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003855/0.8748, allocations: 1.03 MB / 0.6421 GB, free: 6.434 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004603/0.8794, allocations: 3.237 MB / 0.6453 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003051/0.8825, allocations: 1.594 MB / 0.6469 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01523/0.8978, allocations: 10.53 MB / 0.6571 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.8978, allocations: 0 / 0.6571 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.8978, allocations: 0 / 0.6571 GB, free: 7.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005885/0.8984, allocations: 0 / 0.6571 GB, free: 7.023 MB / 494.1 MB 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.01969/0.9181, allocations: 7.293 MB / 0.6643 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.9182, allocations: 12.03 kB / 0.6643 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02091/0.9391, allocations: 5.569 MB / 0.6697 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.9517, allocations: 4.84 MB / 0.6744 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004369/0.9521, allocations: 447.2 kB / 0.6749 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002554/0.9547, allocations: 0.5776 MB / 0.6754 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03898/0.9937, allocations: 20 MB / 0.695 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/0.994, allocations: 75.3 kB / 0.695 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001453/0.9955, allocations: 275.7 kB / 0.6953 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006524/1.002, allocations: 4.231 MB / 0.6994 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5903/1.592, allocations: 17.75 MB / 0.7168 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1092/1.702, allocations: 73.99 MB / 0.789 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01514/1.717, allocations: 7.931 MB / 0.7968 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006765/1.724, allocations: 5.175 MB / 0.8018 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/1.724, allocations: 62.3 kB / 0.8019 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/1.724, allocations: 69.09 kB / 0.8019 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=429): time 7.735e-06/1.724, allocations: 3.938 kB / 0.8019 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=476): time 0.098/1.822, allocations: 41.75 MB / 0.8427 GB, free: 68.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.822, allocations: 226.8 kB / 0.8429 GB, free: 68.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009008/1.831, allocations: 6.355 MB / 0.8491 GB, free: 62.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001283/1.833, allocations: 87.11 kB / 0.8492 GB, free: 62.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003559/1.836, allocations: 5.533 MB / 0.8546 GB, free: 56.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002815/1.839, allocations: 1.738 MB / 0.8563 GB, free: 54.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006097/1.84, allocations: 221.1 kB / 0.8565 GB, free: 54.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005822/1.84, allocations: 0.7895 MB / 0.8573 GB, free: 53.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007014/1.847, allocations: 4.992 MB / 0.8622 GB, free: 48.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/1.86, allocations: 11.08 MB / 0.873 GB, free: 34.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01343/1.874, allocations: 7.381 MB / 0.8802 GB, free: 27.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004535/1.874, allocations: 60 kB / 0.8803 GB, free: 27.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1486) (initialization): time 0.04101/1.915, allocations: 17.82 MB / 0.8977 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003848/1.916, allocations: 92 kB / 0.8978 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005395/1.916, allocations: 212.1 kB / 0.898 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006089/1.922, allocations: 2.368 MB / 0.9003 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/1.933, allocations: 2.577 MB / 0.9028 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3704/2.304, allocations: 16.1 MB / 0.9185 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009419/2.313, allocations: 0.6725 MB / 0.9192 GB, free: 157 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002524/2.316, allocations: 0.6232 MB / 0.9198 GB, free: 156.9 MB / 0.5294 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.01046/2.326, allocations: 4.103 MB / 0.9238 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/2.328, allocations: 0.5993 MB / 0.9244 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02183/2.349, allocations: 10.18 MB / 0.9343 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001796/2.35, allocations: 89.09 kB / 0.9344 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.421e-05/2.35, allocations: 9 kB / 0.9344 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/2.35, allocations: 30.28 kB / 0.9344 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05151/2.401, allocations: 21.93 MB / 0.9559 GB, free: 144 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.768e-05/2.402, allocations: 12 kB / 0.9559 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003426/2.405, allocations: 0.7427 MB / 0.9566 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004872/2.41, allocations: 2.032 MB / 0.9586 GB, free: 142 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007968/2.411, allocations: 91.31 kB / 0.9587 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/2.425, allocations: 15.02 MB / 0.9733 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/2.425, allocations: 17.59 kB / 0.9733 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02227/2.448, allocations: 16.06 MB / 0.989 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/2.45, allocations: 0.6318 MB / 0.9897 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001962/2.452, allocations: 77.33 kB / 0.9897 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003962/2.456, allocations: 323.8 kB / 0.99 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/2.457, allocations: 282 kB / 0.9903 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005653/2.457, allocations: 125.4 kB / 0.9904 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008056/2.466, allocations: 3.939 MB / 0.9943 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/2.466, allocations: 3.781 kB / 0.9943 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01345/2.479, allocations: 2.053 MB / 0.9963 GB, free: 104.2 MB / 0.5294 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.001487/2.481, allocations: 238.1 kB / 0.9965 GB, free: 104 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01952/2.5, allocations: 12.24 MB / 1.008 GB, free: 91.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.005e-05/2.5, allocations: 4 kB / 1.008 GB, free: 91.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007584/2.508, allocations: 4.927 MB / 1.013 GB, free: 86.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0068/2.515, allocations: 0.7573 MB / 1.014 GB, free: 86.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04361/2.558, allocations: 24.49 MB / 1.038 GB, free: 61.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009802/2.568, allocations: 5.947 MB / 1.044 GB, free: 55.56 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002883/2.571, allocations: 0.5072 MB / 1.044 GB, free: 55.05 MB / 0.5294 GB Notification: Performance of SimCode: time 2.094e-06/2.571, allocations: 0 / 1.044 GB, free: 55.05 MB / 0.5294 GB Notification: Performance of Templates: time 0.6972/3.268, allocations: 264.3 MB / 1.302 GB, free: 10.26 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraintCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraintCalcHelperMain.o] Error 1