Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.0008543/0.0008542, allocations: 94.3 kB / 16.33 MB, free: 6.398 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.0009908/0.0009908, allocations: 185.6 kB / 17.22 MB, free: 6.285 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.611/1.611, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.2166/0.2166, allocations: 43.56 MB / 315.2 MB, free: 0.6367 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.0005075/0.0005075, allocations: 19.56 kB / 384.6 MB, free: 57.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.87 MB / 443.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.07614/0.2038, allocations: 82.18 MB / 0.5133 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.3447/0.5485, allocations: 16.48 MB / 0.5294 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02146/0.57, allocations: 386.7 kB / 0.5297 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01694/0.587, allocations: 4.306 MB / 0.5339 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04409/0.6311, allocations: 12.56 MB / 0.5462 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006231/0.6374, allocations: 0.8745 MB / 0.5471 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05152/0.6889, allocations: 36.2 MB / 0.5824 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0146/0.7036, allocations: 7.452 MB / 0.5897 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005407/0.7091, allocations: 2.037 MB / 0.5917 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006215/0.7153, allocations: 3.195 MB / 0.5948 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.7172, allocations: 232 kB / 0.595 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004125/0.7214, allocations: 1.005 MB / 0.596 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004982/0.7264, allocations: 2.83 MB / 0.5988 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003162/0.7296, allocations: 1.34 MB / 0.6001 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.7419, allocations: 8.758 MB / 0.6086 GB, free: 3.777 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.742, allocations: 0 / 0.6086 GB, free: 3.777 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.742, allocations: 0 / 0.6086 GB, free: 3.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004914/0.7425, allocations: 0 / 0.6086 GB, free: 3.777 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01824/0.7607, allocations: 6.58 MB / 0.6151 GB, free: 13.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.7608, allocations: 12.03 kB / 0.6151 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.7746, allocations: 2.897 MB / 0.6179 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.7877, allocations: 4.421 MB / 0.6222 GB, free: 7.453 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00052/0.7883, allocations: 385.9 kB / 0.6226 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002612/0.7909, allocations: 0.4987 MB / 0.6231 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03609/0.827, allocations: 15.62 MB / 0.6383 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005126/0.8276, allocations: 69.81 kB / 0.6384 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002478/0.8301, allocations: 248.9 kB / 0.6386 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005736/0.8358, allocations: 3.063 MB / 0.6416 GB, free: 7.891 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0279/0.8638, allocations: 13.2 MB / 0.6545 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08698/0.9508, allocations: 61.6 MB / 0.7147 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/0.9666, allocations: 6.656 MB / 0.7212 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005949/0.9726, allocations: 4.015 MB / 0.7251 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2957/1.268, allocations: 9.47 MB / 0.7343 GB, free: 215.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/1.269, allocations: 66.61 kB / 0.7344 GB, free: 215.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=269): time 9.227e-06/1.269, allocations: 0 / 0.7344 GB, free: 215.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=311): time 0.0745/1.343, allocations: 32.51 MB / 0.7661 GB, free: 203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/1.343, allocations: 247.2 kB / 0.7664 GB, free: 202.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008846/1.352, allocations: 6.948 MB / 0.7732 GB, free: 195.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007877/1.353, allocations: 74.41 kB / 0.7732 GB, free: 195.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002448/1.355, allocations: 4.768 MB / 0.7779 GB, free: 190.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.357, allocations: 1.183 MB / 0.7791 GB, free: 189.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004011/1.357, allocations: 189.4 kB / 0.7792 GB, free: 189.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00034/1.358, allocations: 0.7027 MB / 0.7799 GB, free: 188.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/1.362, allocations: 3.882 MB / 0.7837 GB, free: 185 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006663/1.369, allocations: 9.213 MB / 0.7927 GB, free: 173.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007084/1.376, allocations: 5.831 MB / 0.7984 GB, free: 167.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.462e-05/1.376, allocations: 52 kB / 0.7984 GB, free: 167.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02434/1.4, allocations: 14.91 MB / 0.813 GB, free: 152.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/1.401, allocations: 84.19 kB / 0.8131 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002425/1.401, allocations: 188 kB / 0.8133 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005127/1.406, allocations: 2.32 MB / 0.8155 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00746/1.414, allocations: 2.172 MB / 0.8177 GB, free: 147.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/1.429, allocations: 13.48 MB / 0.8308 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008595/1.438, allocations: 0.5473 MB / 0.8314 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002018/1.44, allocations: 0.5429 MB / 0.8319 GB, free: 133 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (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 (1140): * Single equations (assignments): 1133 * Array equations: 5 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00749/1.447, allocations: 3.232 MB / 0.835 GB, free: 129.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/1.449, allocations: 0.5822 MB / 0.8356 GB, free: 129.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/1.462, allocations: 7.699 MB / 0.8431 GB, free: 121.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-05/1.462, allocations: 40.3 kB / 0.8432 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-05/1.463, allocations: 8 kB / 0.8432 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-05/1.463, allocations: 15.94 kB / 0.8432 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03022/1.493, allocations: 16.24 MB / 0.859 GB, free: 105.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-05/1.493, allocations: 8.094 kB / 0.8591 GB, free: 105.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/1.495, allocations: 0.5187 MB / 0.8596 GB, free: 104.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004785/1.5, allocations: 2.034 MB / 0.8615 GB, free: 102.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005213/1.501, allocations: 59.98 kB / 0.8616 GB, free: 102.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/1.515, allocations: 12.66 MB / 0.874 GB, free: 89.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.515, allocations: 11.97 kB / 0.874 GB, free: 89.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/1.532, allocations: 12.2 MB / 0.8859 GB, free: 77.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003428/1.535, allocations: 1.2 MB / 0.8871 GB, free: 76.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/1.537, allocations: 59.72 kB / 0.8871 GB, free: 75.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/1.539, allocations: 231.7 kB / 0.8873 GB, free: 75.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004866/1.539, allocations: 186 kB / 0.8875 GB, free: 75.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/1.54, allocations: 79.98 kB / 0.8876 GB, free: 75.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006814/1.546, allocations: 4.436 MB / 0.8919 GB, free: 71.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/1.546, allocations: 4 kB / 0.8919 GB, free: 71.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009892/1.556, allocations: 1.728 MB / 0.8936 GB, free: 69.33 MB / 0.545 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 (254): * Single equations (assignments): 249 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007362/1.557, allocations: 202.2 kB / 0.8938 GB, free: 69.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.571, allocations: 9.369 MB / 0.903 GB, free: 59.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.571, allocations: 4 kB / 0.903 GB, free: 59.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005582/1.576, allocations: 3.713 MB / 0.9066 GB, free: 56.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0067/1.583, allocations: 0.7191 MB / 0.9073 GB, free: 55.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/1.614, allocations: 19.32 MB / 0.9262 GB, free: 35.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005688/1.62, allocations: 4.874 MB / 0.9309 GB, free: 31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002231/1.622, allocations: 475.3 kB / 0.9314 GB, free: 30.53 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/1.622, allocations: 4 kB / 0.9314 GB, free: 30.53 MB / 0.545 GB Notification: Performance of Templates: time 0.4445/2.066, allocations: 154.3 MB / 1.082 GB, free: 77.52 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.Forces.TorqueCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.o] Error 1