Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 91.23 kB / 16.66 MB, free: 5.859 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.001248/0.001248, allocations: 171.5 kB / 17.57 MB, free: 5.543 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.906/1.906, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2703/0.2703, allocations: 43.59 MB / 315.6 MB, free: 0.4922 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.0006027/0.0006025, allocations: 19.27 kB / 385.2 MB, free: 56.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1661, allocations: 58.85 MB / 444.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.09755/0.2637, allocations: 87.52 MB / 0.5192 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4234/0.6872, allocations: 17.3 MB / 0.5361 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02436/0.7116, allocations: 379 kB / 0.5364 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00367/0.7153, allocations: 0.6049 MB / 0.537 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008957/0.7243, allocations: 2.427 MB / 0.5394 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.7273, allocations: 0.9619 MB / 0.5403 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0165/0.7438, allocations: 9.673 MB / 0.5498 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0145/0.7583, allocations: 8.1 MB / 0.5577 GB, free: 500 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005183/0.7635, allocations: 1.812 MB / 0.5594 GB, free: 236 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006719/0.7703, allocations: 3.126 MB / 0.5625 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002336/0.7727, allocations: 235.1 kB / 0.5627 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00585/0.7785, allocations: 1.316 MB / 0.564 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005302/0.7839, allocations: 2.747 MB / 0.5667 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006926/0.7908, allocations: 3.155 MB / 0.5698 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.8022, allocations: 8.803 MB / 0.5784 GB, free: 8.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8022, allocations: 1.875 kB / 0.5784 GB, free: 8.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.51e-06/0.8023, allocations: 0 / 0.5784 GB, free: 8.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004869/0.8028, allocations: 3.938 kB / 0.5784 GB, free: 8.012 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01832/0.8211, allocations: 6.167 MB / 0.5844 GB, free: 4.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.8212, allocations: 9.469 kB / 0.5844 GB, free: 4.262 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.8348, allocations: 2.845 MB / 0.5872 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.8454, allocations: 4.271 MB / 0.5913 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/0.8459, allocations: 391.3 kB / 0.5917 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002225/0.8481, allocations: 0.4992 MB / 0.5922 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04051/0.8886, allocations: 16.43 MB / 0.6083 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004932/0.8892, allocations: 67.64 kB / 0.6083 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002919/0.8921, allocations: 237.2 kB / 0.6085 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006664/0.8988, allocations: 3.161 MB / 0.6116 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0367/0.9355, allocations: 14.29 MB / 0.6256 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1108/1.046, allocations: 59.15 MB / 0.6833 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02042/1.067, allocations: 7.187 MB / 0.6904 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00754/1.074, allocations: 4.497 MB / 0.6948 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03588/1.11, allocations: 15.43 MB / 0.7098 GB, free: 4.137 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/1.111, allocations: 67.19 kB / 0.7099 GB, free: 4.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=306): time 1.357e-05/1.111, allocations: 0 / 0.7099 GB, free: 4.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=348): time 0.1091/1.22, allocations: 32.82 MB / 0.7419 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/1.22, allocations: 220.8 kB / 0.7421 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4014/1.621, allocations: 5.343 MB / 0.7474 GB, free: 244.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001441/1.623, allocations: 81.83 kB / 0.7474 GB, free: 244.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005831/1.629, allocations: 4.327 MB / 0.7517 GB, free: 242.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003138/1.632, allocations: 1.281 MB / 0.7529 GB, free: 241.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002294/1.634, allocations: 0.7237 MB / 0.7536 GB, free: 241.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/1.634, allocations: 304.9 kB / 0.7539 GB, free: 241.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009369/1.644, allocations: 3.923 MB / 0.7578 GB, free: 241.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01375/1.657, allocations: 8.417 MB / 0.766 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01976/1.677, allocations: 13.23 MB / 0.7789 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003643/1.678, allocations: 43.66 kB / 0.7789 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02872/1.706, allocations: 14.26 MB / 0.7929 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.707, allocations: 75.5 kB / 0.7929 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001958/1.707, allocations: 157.2 kB / 0.7931 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005572/1.712, allocations: 2.268 MB / 0.7953 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0075/1.72, allocations: 1.987 MB / 0.7972 GB, free: 217.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/1.736, allocations: 13.49 MB / 0.8104 GB, free: 203.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009615/1.746, allocations: 0.5071 MB / 0.8109 GB, free: 203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002344/1.748, allocations: 491.9 kB / 0.8114 GB, free: 202.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1032): * Single equations (assignments): 1027 * 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 {(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.009998/1.758, allocations: 3.091 MB / 0.8144 GB, free: 199.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002257/1.76, allocations: 0.4936 MB / 0.8149 GB, free: 198.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/1.778, allocations: 8.387 MB / 0.8231 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.347e-05/1.778, allocations: 47.53 kB / 0.8231 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.447e-05/1.778, allocations: 8 kB / 0.8231 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.584e-05/1.778, allocations: 17.48 kB / 0.8231 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03831/1.816, allocations: 17.14 MB / 0.8399 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/1.816, allocations: 3.938 kB / 0.8399 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003341/1.82, allocations: 0.6201 MB / 0.8405 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005163/1.825, allocations: 2.038 MB / 0.8425 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006893/1.826, allocations: 59.98 kB / 0.8425 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/1.841, allocations: 12.73 MB / 0.855 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.841, allocations: 4 kB / 0.855 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02284/1.864, allocations: 13.15 MB / 0.8678 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004155/1.869, allocations: 1.143 MB / 0.8689 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002336/1.871, allocations: 60 kB / 0.869 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004294/1.875, allocations: 263.6 kB / 0.8692 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009332/1.876, allocations: 202.1 kB / 0.8694 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005277/1.877, allocations: 95.2 kB / 0.8695 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007642/1.884, allocations: 3.366 MB / 0.8728 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/1.884, allocations: 0 / 0.8728 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01167/1.896, allocations: 1.686 MB / 0.8745 GB, free: 137.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (294): * Single equations (assignments): 289 * 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.001637/1.898, allocations: 201.5 kB / 0.8746 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01698/1.915, allocations: 9.536 MB / 0.884 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.915, allocations: 0 / 0.884 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008633/1.923, allocations: 4.099 MB / 0.888 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009758/1.933, allocations: 0.6442 MB / 0.8886 GB, free: 123 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03812/1.971, allocations: 19.81 MB / 0.9079 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005079/1.977, allocations: 4.779 MB / 0.9126 GB, free: 98.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/1.979, allocations: 443.3 kB / 0.913 GB, free: 97.87 MB / 0.5762 GB Notification: Performance of SimCode: time 1.623e-06/1.979, allocations: 0 / 0.913 GB, free: 97.87 MB / 0.5762 GB Notification: Performance of Templates: time 0.541/2.52, allocations: 148.5 MB / 1.058 GB, free: 187.5 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3CalcHelperMain.o] Error 1