Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.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.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.000914, allocations: 91.44 kB / 18 MB, free: 5.602 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.001036/0.001036, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.576/1.576, allocations: 223.3 MB / 242.9 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.2635/0.2635, allocations: 44.24 MB / 338.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.000462, allocations: 11.94 kB / 411 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1695, allocations: 61.93 MB / 472.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.4799/0.6495, allocations: 87.09 MB / 0.5469 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.051/0.7005, allocations: 17.04 MB / 0.5635 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02289/0.7234, allocations: 385.6 kB / 0.5639 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.726, allocations: 0.603 MB / 0.5645 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007644/0.7337, allocations: 2.415 MB / 0.5668 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.7364, allocations: 0.8764 MB / 0.5677 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01327/0.7496, allocations: 10.05 MB / 0.5775 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/0.7621, allocations: 8.118 MB / 0.5854 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.7665, allocations: 1.762 MB / 0.5871 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006518/0.7731, allocations: 2.997 MB / 0.5901 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002684/0.7758, allocations: 212 kB / 0.5903 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005012/0.7808, allocations: 1.178 MB / 0.5914 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005419/0.7863, allocations: 2.711 MB / 0.5941 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007222/0.7936, allocations: 3.029 MB / 0.597 GB, free: 4.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.8044, allocations: 8.171 MB / 0.605 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.8045, allocations: 4 kB / 0.605 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.8045, allocations: 0 / 0.605 GB, free: 12.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004524/0.805, allocations: 0 / 0.605 GB, free: 12.78 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.01705/0.822, allocations: 6.168 MB / 0.611 GB, free: 6.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.8221, allocations: 12.03 kB / 0.611 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/0.8363, allocations: 2.831 MB / 0.6138 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/0.8501, allocations: 4.281 MB / 0.618 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004334/0.8506, allocations: 361.9 kB / 0.6183 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002681/0.8533, allocations: 495.6 kB / 0.6188 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03074/0.884, allocations: 14.65 MB / 0.6331 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003789/0.8845, allocations: 63.45 kB / 0.6332 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001794/0.8863, allocations: 231.8 kB / 0.6334 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005336/0.8916, allocations: 2.82 MB / 0.6361 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02736/0.919, allocations: 12.38 MB / 0.6482 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09752/1.017, allocations: 58.46 MB / 0.7053 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3717/1.388, allocations: 6.289 MB / 0.7115 GB, free: 187.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006817/1.395, allocations: 3.705 MB / 0.7151 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02109/1.416, allocations: 8.557 MB / 0.7234 GB, free: 183 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/1.416, allocations: 61.59 kB / 0.7235 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=236): time 6.412e-06/1.416, allocations: 1.406 kB / 0.7235 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278): time 0.07951/1.496, allocations: 30.41 MB / 0.7532 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.496, allocations: 239.6 kB / 0.7534 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.506, allocations: 6.758 MB / 0.76 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001058/1.508, allocations: 67.03 kB / 0.7601 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003012/1.511, allocations: 4.495 MB / 0.7645 GB, free: 155 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001813/1.512, allocations: 1.067 MB / 0.7655 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009668/1.513, allocations: 0.7636 MB / 0.7663 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.462e-05/1.513, allocations: 305.1 kB / 0.7666 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004424/1.518, allocations: 3.581 MB / 0.7701 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008591/1.526, allocations: 8.686 MB / 0.7785 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/1.541, allocations: 13.19 MB / 0.7914 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/1.541, allocations: 48 kB / 0.7915 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1146) (initialization): time 0.02879/1.57, allocations: 14.06 MB / 0.8052 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004563/1.57, allocations: 84 kB / 0.8053 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005686/1.571, allocations: 180.1 kB / 0.8054 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007013/1.578, allocations: 2.28 MB / 0.8077 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007254/1.585, allocations: 2.016 MB / 0.8096 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.602, allocations: 13.42 MB / 0.8227 GB, free: 90.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/1.612, allocations: 0.5063 MB / 0.8232 GB, free: 89.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00246/1.615, allocations: 0.5195 MB / 0.8237 GB, free: 89.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 814 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1064): * Single equations (assignments): 1057 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009315/1.624, allocations: 3.046 MB / 0.8267 GB, free: 86.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001994/1.626, allocations: 0.5592 MB / 0.8273 GB, free: 85.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/1.64, allocations: 7.083 MB / 0.8342 GB, free: 78.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.567e-05/1.64, allocations: 28 kB / 0.8342 GB, free: 78.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.547e-05/1.64, allocations: 8.469 kB / 0.8342 GB, free: 78.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.884e-05/1.64, allocations: 15.95 kB / 0.8342 GB, free: 78.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02985/1.67, allocations: 15.02 MB / 0.8489 GB, free: 63.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-05/1.67, allocations: 4 kB / 0.8489 GB, free: 63.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.673, allocations: 463.3 kB / 0.8493 GB, free: 62.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005044/1.678, allocations: 2.038 MB / 0.8513 GB, free: 60.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005469/1.678, allocations: 48 kB / 0.8514 GB, free: 60.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/1.693, allocations: 12.68 MB / 0.8638 GB, free: 47.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.693, allocations: 11.88 kB / 0.8638 GB, free: 47.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/1.711, allocations: 11.22 MB / 0.8747 GB, free: 36.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/1.713, allocations: 0.6459 MB / 0.8754 GB, free: 35.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002047/1.715, allocations: 48 kB / 0.8754 GB, free: 35.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004344/1.72, allocations: 203.7 kB / 0.8756 GB, free: 35.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008864/1.721, allocations: 169.8 kB / 0.8758 GB, free: 35.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000448/1.721, allocations: 76 kB / 0.8758 GB, free: 35.24 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008552/1.73, allocations: 4.325 MB / 0.8801 GB, free: 30.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.31e-07/1.73, allocations: 3.938 kB / 0.8801 GB, free: 30.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009791/1.739, allocations: 1.615 MB / 0.8816 GB, free: 29.31 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (220): * Single equations (assignments): 215 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/1.741, allocations: 193.1 kB / 0.8818 GB, free: 29.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01349/1.754, allocations: 8.689 MB / 0.8903 GB, free: 20.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/1.754, allocations: 4 kB / 0.8903 GB, free: 20.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006323/1.76, allocations: 3.406 MB / 0.8936 GB, free: 17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009979/1.77, allocations: 0.7129 MB / 0.8943 GB, free: 16.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3423/2.113, allocations: 18.71 MB / 0.9126 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01337/2.126, allocations: 4.597 MB / 0.9171 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003094/2.129, allocations: 446.7 kB / 0.9175 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.883e-06/2.129, allocations: 0 / 0.9175 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.2246/2.354, allocations: 143.8 MB / 1.058 GB, free: 40.33 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.o] Error 1