Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001112/0.001112, allocations: 96.16 kB / 17.63 MB, free: 5.719 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.001479/0.001479, allocations: 179.1 kB / 18.52 MB, free: 5.172 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.561/1.561, allocations: 223.2 MB / 242.5 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 44.22 MB / 337.9 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 61.91 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.4003/0.5704, allocations: 63.07 MB / 0.5227 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03442/0.6048, allocations: 13.28 MB / 0.5357 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0191/0.624, allocations: 307.5 kB / 0.536 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01305/0.6371, allocations: 3.292 MB / 0.5392 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03089/0.668, allocations: 9.666 MB / 0.5486 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.6729, allocations: 0.8032 MB / 0.5494 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08168/0.7546, allocations: 61.93 MB / 0.6099 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.7656, allocations: 6.532 MB / 0.6163 GB, free: 1.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.7696, allocations: 1.65 MB / 0.6179 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004473/0.7741, allocations: 2.539 MB / 0.6204 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000929/0.7751, allocations: 187.9 kB / 0.6205 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.7783, allocations: 0.9792 MB / 0.6215 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002696/0.781, allocations: 2.178 MB / 0.6236 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.7826, allocations: 1.037 MB / 0.6246 GB, free: 8.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009336/0.792, allocations: 7.108 MB / 0.6316 GB, free: 1.305 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.792, allocations: 0 / 0.6316 GB, free: 1.305 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.792, allocations: 0 / 0.6316 GB, free: 1.305 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003369/0.7924, allocations: 0 / 0.6316 GB, free: 1.305 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.0125/0.8049, allocations: 5.093 MB / 0.6365 GB, free: 12.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.8049, allocations: 12.03 kB / 0.6366 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.8161, allocations: 2.621 MB / 0.6391 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.8274, allocations: 3.746 MB / 0.6428 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005078/0.828, allocations: 299.8 kB / 0.6431 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002798/0.8308, allocations: 395.8 kB / 0.6434 GB, free: 5.016 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02464/0.8555, allocations: 11.47 MB / 0.6546 GB, free: 8.801 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002126/0.8557, allocations: 47.58 kB / 0.6547 GB, free: 8.754 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006187/0.8564, allocations: 195.8 kB / 0.6549 GB, free: 8.562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003518/0.8599, allocations: 2.089 MB / 0.6569 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/0.8812, allocations: 9.659 MB / 0.6663 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4151/1.296, allocations: 45.54 MB / 0.7108 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/1.309, allocations: 4.144 MB / 0.7149 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004831/1.314, allocations: 2.349 MB / 0.7172 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01882/1.333, allocations: 9.387 MB / 0.7263 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/1.333, allocations: 57.78 kB / 0.7264 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 5.42e-06/1.333, allocations: 0 / 0.7264 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05163/1.385, allocations: 19.36 MB / 0.7453 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/1.385, allocations: 198.2 kB / 0.7455 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006115/1.391, allocations: 4.68 MB / 0.7501 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004154/1.391, allocations: 54.95 kB / 0.7501 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002111/1.394, allocations: 3.594 MB / 0.7536 GB, free: 165 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000915/1.394, allocations: 0.7478 MB / 0.7543 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/1.395, allocations: 128 kB / 0.7545 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003005/1.395, allocations: 0.5789 MB / 0.755 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/1.398, allocations: 2.363 MB / 0.7573 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004418/1.402, allocations: 6.212 MB / 0.7634 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004388/1.407, allocations: 3.751 MB / 0.7671 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.696e-05/1.407, allocations: 40 kB / 0.7671 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.0171/1.424, allocations: 9.671 MB / 0.7765 GB, free: 140 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.424, allocations: 67.98 kB / 0.7766 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/1.424, allocations: 140 kB / 0.7767 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004022/1.428, allocations: 1.615 MB / 0.7783 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005132/1.434, allocations: 1.474 MB / 0.7798 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/1.445, allocations: 9.358 MB / 0.7889 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005862/1.451, allocations: 371.3 kB / 0.7893 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.452, allocations: 389.1 kB / 0.7896 GB, free: 126.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (790): * Single equations (assignments): 785 * 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.005949/1.458, allocations: 2.486 MB / 0.7921 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/1.46, allocations: 410.8 kB / 0.7924 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/1.47, allocations: 4.177 MB / 0.7965 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-05/1.47, allocations: 20 kB / 0.7965 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.93e-05/1.47, allocations: 8 kB / 0.7966 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/1.47, allocations: 7.969 kB / 0.7966 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02207/1.492, allocations: 9.61 MB / 0.8059 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.752e-05/1.492, allocations: 8 kB / 0.806 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.494, allocations: 291.6 kB / 0.8062 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003739/1.497, allocations: 1.365 MB / 0.8076 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002675/1.498, allocations: 33.39 kB / 0.8076 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/1.508, allocations: 8.735 MB / 0.8161 GB, free: 98.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.508, allocations: 0 / 0.8161 GB, free: 98.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/1.519, allocations: 6.864 MB / 0.8228 GB, free: 91.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/1.521, allocations: 471.5 kB / 0.8233 GB, free: 91.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/1.523, allocations: 37.78 kB / 0.8233 GB, free: 91.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/1.525, allocations: 119.8 kB / 0.8234 GB, free: 91.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/1.526, allocations: 113.1 kB / 0.8235 GB, free: 91.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/1.526, allocations: 48 kB / 0.8236 GB, free: 91.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00719/1.533, allocations: 2.941 MB / 0.8265 GB, free: 88.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/1.533, allocations: 4 kB / 0.8265 GB, free: 88.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01026/1.544, allocations: 1.196 MB / 0.8276 GB, free: 87.02 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 (141): * Single equations (assignments): 136 * 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.0009846/1.545, allocations: 162.6 kB / 0.8278 GB, free: 86.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009934/1.555, allocations: 5.873 MB / 0.8335 GB, free: 80.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.555, allocations: 0 / 0.8335 GB, free: 80.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003024/1.558, allocations: 1.977 MB / 0.8354 GB, free: 78.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005402/1.563, allocations: 0.5258 MB / 0.836 GB, free: 78.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/1.59, allocations: 13.6 MB / 0.8492 GB, free: 64.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003841/1.593, allocations: 3.831 MB / 0.853 GB, free: 60.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.595, allocations: 315.4 kB / 0.8533 GB, free: 60.64 MB / 0.5294 GB Notification: Performance of SimCode: time 1.734e-06/1.595, allocations: 0 / 0.8533 GB, free: 60.64 MB / 0.5294 GB Notification: Performance of Templates: time 0.4862/2.081, allocations: 111.9 MB / 0.9626 GB, free: 140.4 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1DCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1DCalcHelperMain.o] Error 1