Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 97.53 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002103/0.002103, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.711/1.711, allocations: 227.3 MB / 246.6 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2725/0.2725, allocations: 45.92 MB / 344.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 4 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1715, allocations: 63.47 MB / 482.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.3879/0.5594, allocations: 78.74 MB / 0.5477 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05321/0.6127, allocations: 16.33 MB / 0.5637 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02328/0.6361, allocations: 380.3 kB / 0.564 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01537/0.6515, allocations: 4.101 MB / 0.568 GB, free: 272 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04278/0.6943, allocations: 11.97 MB / 0.5797 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007542/0.7019, allocations: 1.046 MB / 0.5807 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1224/0.8243, allocations: 91.93 MB / 0.6705 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01391/0.8383, allocations: 7.903 MB / 0.6782 GB, free: 15.21 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005719/0.8441, allocations: 2.121 MB / 0.6803 GB, free: 13.08 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006882/0.851, allocations: 3.248 MB / 0.6835 GB, free: 9.824 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.001886/0.8529, allocations: 232 kB / 0.6837 GB, free: 9.598 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003882/0.8568, allocations: 1.007 MB / 0.6847 GB, free: 8.59 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.005015/0.8618, allocations: 2.782 MB / 0.6874 GB, free: 5.801 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.003513/0.8654, allocations: 1.294 MB / 0.6887 GB, free: 4.496 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.8797, allocations: 8.74 MB / 0.6972 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.8798, allocations: 4 kB / 0.6972 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.677e-06/0.8798, allocations: 0 / 0.6972 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004813/0.8803, allocations: 0 / 0.6972 GB, free: 11.73 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2149 * Number of variables: 2149 Notification: Performance of Generate backend data structure: time 0.02024/0.9005, allocations: 6.696 MB / 0.7037 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.9006, allocations: 8.031 kB / 0.7038 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0314/0.932, allocations: 4.282 MB / 0.7079 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3585/1.291, allocations: 4.734 MB / 0.7126 GB, free: 188.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004737/1.291, allocations: 372.2 kB / 0.7129 GB, free: 188.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002225/1.293, allocations: 0.5223 MB / 0.7134 GB, free: 188.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03809/1.331, allocations: 15.33 MB / 0.7284 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/1.332, allocations: 67.42 kB / 0.7285 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000734/1.332, allocations: 234.7 kB / 0.7287 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004849/1.337, allocations: 2.791 MB / 0.7314 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02588/1.363, allocations: 13.84 MB / 0.7449 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07403/1.437, allocations: 61.2 MB / 0.8047 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/1.453, allocations: 7.052 MB / 0.8116 GB, free: 99.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005729/1.459, allocations: 5.388 MB / 0.8168 GB, free: 94.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02379/1.483, allocations: 17.75 MB / 0.8342 GB, free: 76.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/1.483, allocations: 60.56 kB / 0.8342 GB, free: 76.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=289): time 6.442e-06/1.483, allocations: 4 kB / 0.8342 GB, free: 76.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=383): time 0.1367/1.62, allocations: 60.13 MB / 0.8929 GB, free: 16.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.62, allocations: 329.2 kB / 0.8933 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008173/1.628, allocations: 5.734 MB / 0.8989 GB, free: 10 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001541/1.63, allocations: 81.7 kB / 0.8989 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002799/1.632, allocations: 4.214 MB / 0.9031 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002172/1.635, allocations: 1.402 MB / 0.9044 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005454/1.635, allocations: 179.8 kB / 0.9046 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003654/1.636, allocations: 0.6658 MB / 0.9052 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3898/2.025, allocations: 5.186 MB / 0.9103 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0164/2.042, allocations: 9.532 MB / 0.9196 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/2.057, allocations: 6.919 MB / 0.9264 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001963/2.057, allocations: 42.47 kB / 0.9264 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1123) (initialization): time 0.04269/2.1, allocations: 19.5 MB / 0.9455 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/2.1, allocations: 75.36 kB / 0.9455 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/2.1, allocations: 147 kB / 0.9457 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01442/2.115, allocations: 5.468 MB / 0.951 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00835/2.123, allocations: 2.024 MB / 0.953 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03226/2.155, allocations: 27.5 MB / 0.9798 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009518/2.165, allocations: 0.6224 MB / 0.9805 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00166/2.167, allocations: 495.9 kB / 0.9809 GB, free: 126.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 59 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1020): * Single equations (assignments): 1014 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(14,43.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00632/2.173, allocations: 3.084 MB / 0.9839 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/2.175, allocations: 0.5293 MB / 0.9845 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02274/2.197, allocations: 14.07 MB / 0.9982 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.504e-05/2.197, allocations: 45.09 kB / 0.9982 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-05/2.197, allocations: 16 kB / 0.9982 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.096e-05/2.198, allocations: 15.94 kB / 0.9983 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03767/2.235, allocations: 24.31 MB / 1.022 GB, free: 84.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.786e-05/2.235, allocations: 0.9844 kB / 1.022 GB, free: 84.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003606/2.239, allocations: 0.6552 MB / 1.023 GB, free: 83.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/2.251, allocations: 5.224 MB / 1.028 GB, free: 78.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001176/2.253, allocations: 62.58 kB / 1.028 GB, free: 78.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03726/2.29, allocations: 26.69 MB / 1.054 GB, free: 51.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/2.29, allocations: 4 kB / 1.054 GB, free: 51.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03669/2.327, allocations: 20.85 MB / 1.074 GB, free: 30.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/2.329, allocations: 0.6112 MB / 1.075 GB, free: 29.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002487/2.331, allocations: 63.95 kB / 1.075 GB, free: 29.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005051/2.336, allocations: 375.8 kB / 1.075 GB, free: 29.44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001681/2.338, allocations: 238.8 kB / 1.075 GB, free: 29.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009211/2.339, allocations: 95.98 kB / 1.076 GB, free: 29.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007721/2.347, allocations: 3.657 MB / 1.079 GB, free: 25.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.12e-07/2.347, allocations: 0 / 1.079 GB, free: 25.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01362/2.36, allocations: 1.983 MB / 1.081 GB, free: 23.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (293): * Single equations (assignments): 287 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,44.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/2.362, allocations: 212.1 kB / 1.081 GB, free: 23.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02433/2.387, allocations: 13.56 MB / 1.095 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/2.387, allocations: 0 / 1.095 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01219/2.399, allocations: 6.497 MB / 1.101 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01148/2.41, allocations: 0.7113 MB / 1.102 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3911/2.802, allocations: 20.99 MB / 1.122 GB, free: 172.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01224/2.814, allocations: 4.781 MB / 1.127 GB, free: 172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00352/2.817, allocations: 438 kB / 1.127 GB, free: 172 MB / 0.545 GB Notification: Performance of SimCode: time 1.372e-06/2.817, allocations: 4 kB / 1.127 GB, free: 172 MB / 0.545 GB Notification: Performance of Templates: time 0.608/3.425, allocations: 188.4 MB / 1.311 GB, free: 171.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.Parts.Rotor1D.GearConstraint3CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3CalcHelperMain.o] Error 1