Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Parts.Rotor1D.Bevel1D,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.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,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.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009616, allocations: 98.22 kB / 16.33 MB, free: 5.945 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.001205/0.001205, allocations: 189.6 kB / 17.22 MB, free: 5.879 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.636/1.636, allocations: 205.4 MB / 223.4 MB, free: 13.14 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.2324/0.2324, allocations: 43.56 MB / 315.2 MB, free: 0.543 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.0005304/0.0005304, allocations: 13.66 kB / 384.6 MB, free: 57.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1148, allocations: 58.86 MB / 443.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.05866/0.1734, allocations: 63.65 MB / 0.4952 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03475/0.2083, allocations: 13.39 MB / 0.5083 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01583/0.2241, allocations: 303.2 kB / 0.5085 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01359/0.2378, allocations: 3.309 MB / 0.5118 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3225/0.5603, allocations: 9.727 MB / 0.5213 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00445/0.5648, allocations: 0.7956 MB / 0.522 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04093/0.6057, allocations: 34.93 MB / 0.5562 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009519/0.6153, allocations: 6.596 MB / 0.5626 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.6187, allocations: 1.71 MB / 0.5643 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/0.6225, allocations: 2.67 MB / 0.5669 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006722/0.6232, allocations: 188 kB / 0.5671 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.6253, allocations: 0.9767 MB / 0.568 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002177/0.6275, allocations: 2.26 MB / 0.5702 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.6287, allocations: 1.082 MB / 0.5713 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007591/0.6363, allocations: 7.406 MB / 0.5785 GB, free: 14.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6363, allocations: 0 / 0.5785 GB, free: 14.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6363, allocations: 0 / 0.5785 GB, free: 14.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002838/0.6366, allocations: 2.25 kB / 0.5785 GB, free: 14.46 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: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.01171/0.6483, allocations: 5.27 MB / 0.5837 GB, free: 9.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6484, allocations: 12.02 kB / 0.5837 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.6589, allocations: 2.657 MB / 0.5863 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00828/0.6672, allocations: 3.902 MB / 0.5901 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.6675, allocations: 311.1 kB / 0.5904 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001731/0.6692, allocations: 419.6 kB / 0.5908 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/0.6919, allocations: 11.97 MB / 0.6025 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.6922, allocations: 56.69 kB / 0.6025 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005135/0.6927, allocations: 193.8 kB / 0.6027 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003757/0.6964, allocations: 2.207 MB / 0.6049 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/0.7199, allocations: 10.11 MB / 0.6147 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06977/0.7897, allocations: 47.15 MB / 0.6608 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.8003, allocations: 4.374 MB / 0.665 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003744/0.8041, allocations: 2.507 MB / 0.6675 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01648/0.8206, allocations: 9.981 MB / 0.6772 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/0.8207, allocations: 59.81 kB / 0.6773 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=190): time 5.611e-06/0.8208, allocations: 3.938 kB / 0.6773 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.05158/0.8724, allocations: 20.8 MB / 0.6976 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.8725, allocations: 205.2 kB / 0.6978 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007587/0.8801, allocations: 4.794 MB / 0.7025 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006426/0.8808, allocations: 57.7 kB / 0.7025 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003147/0.8839, allocations: 3.712 MB / 0.7062 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/0.8853, allocations: 0.8143 MB / 0.707 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.8856, allocations: 143 kB / 0.7071 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004129/0.886, allocations: 0.5952 MB / 0.7077 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/0.8902, allocations: 2.527 MB / 0.7101 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3155/1.206, allocations: 6.496 MB / 0.7165 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008387/1.214, allocations: 3.964 MB / 0.7204 GB, free: 196 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002572/1.214, allocations: 38.81 kB / 0.7204 GB, free: 196 MB / 0.5294 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.02697/1.241, allocations: 10.14 MB / 0.7303 GB, free: 193.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/1.242, allocations: 66.88 kB / 0.7304 GB, free: 193.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001888/1.242, allocations: 137.7 kB / 0.7305 GB, free: 193.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/1.246, allocations: 1.618 MB / 0.7321 GB, free: 193.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005509/1.251, allocations: 1.555 MB / 0.7336 GB, free: 193.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/1.262, allocations: 9.367 MB / 0.7427 GB, free: 188.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005664/1.267, allocations: 386.7 kB / 0.7431 GB, free: 188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/1.268, allocations: 400.1 kB / 0.7435 GB, free: 188 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 45 (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 (828): * Single equations (assignments): 823 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004624/1.273, allocations: 2.574 MB / 0.746 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008133/1.274, allocations: 419.9 kB / 0.7464 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007475/1.281, allocations: 4.54 MB / 0.7508 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.763e-05/1.281, allocations: 24.86 kB / 0.7509 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/1.281, allocations: 7.375 kB / 0.7509 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/1.282, allocations: 10.22 kB / 0.7509 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/1.302, allocations: 10.33 MB / 0.761 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.302, allocations: 4.516 kB / 0.761 GB, free: 175.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.304, allocations: 331.5 kB / 0.7613 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003813/1.308, allocations: 1.355 MB / 0.7626 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/1.308, allocations: 37.41 kB / 0.7626 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009167/1.317, allocations: 8.738 MB / 0.7712 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.317, allocations: 0 / 0.7712 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.328, allocations: 7.464 MB / 0.7785 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/1.33, allocations: 0.7845 MB / 0.7792 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.332, allocations: 32 kB / 0.7793 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/1.334, allocations: 131.8 kB / 0.7794 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/1.334, allocations: 134.7 kB / 0.7795 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.334, allocations: 55.98 kB / 0.7796 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004192/1.338, allocations: 3.013 MB / 0.7825 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/1.338, allocations: 0 / 0.7825 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006377/1.345, allocations: 1.254 MB / 0.7837 GB, free: 152 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (163): * Single equations (assignments): 158 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000422/1.345, allocations: 164.8 kB / 0.7839 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008612/1.354, allocations: 6.268 MB / 0.79 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.354, allocations: 7.391 kB / 0.79 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002646/1.357, allocations: 2.167 MB / 0.7921 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/1.36, allocations: 0.5264 MB / 0.7927 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.379, allocations: 14.28 MB / 0.8066 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/1.383, allocations: 3.971 MB / 0.8105 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/1.384, allocations: 333.8 kB / 0.8108 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of SimCode: time 9.41e-07/1.384, allocations: 4 kB / 0.8108 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.4003/1.785, allocations: 117.1 MB / 0.9252 GB, free: 188.8 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Parts.Rotor1D.Bevel1DCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1DCalcHelperMain.o] Error 1