Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 94.44 kB / 16.67 MB, free: 6.594 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.001954/0.001954, allocations: 182 kB / 17.57 MB, free: 6.191 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.984/1.984, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2579/0.2579, allocations: 43.6 MB / 315.6 MB, free: 416 kB / 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.0005698/0.0005698, allocations: 17.5 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1492, allocations: 58.86 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.09268/0.242, allocations: 87.96 MB / 0.5196 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4365/0.6785, allocations: 17.12 MB / 0.5363 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02494/0.7035, allocations: 384.3 kB / 0.5367 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003887/0.7075, allocations: 0.6272 MB / 0.5373 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.7178, allocations: 2.519 MB / 0.5397 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.7211, allocations: 0.9153 MB / 0.5406 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02021/0.7413, allocations: 9.937 MB / 0.5503 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01666/0.758, allocations: 8.249 MB / 0.5584 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006766/0.7649, allocations: 1.862 MB / 0.5602 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007379/0.7723, allocations: 3.174 MB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001718/0.774, allocations: 227.2 kB / 0.5635 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/0.7779, allocations: 1.186 MB / 0.5647 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003935/0.7818, allocations: 2.833 MB / 0.5675 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006343/0.7882, allocations: 3.168 MB / 0.5705 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.8047, allocations: 8.579 MB / 0.5789 GB, free: 7.512 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.8048, allocations: 0 / 0.5789 GB, free: 7.512 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.083e-06/0.8048, allocations: 2.688 kB / 0.5789 GB, free: 7.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007603/0.8055, allocations: 0 / 0.5789 GB, free: 7.512 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02615/0.8317, allocations: 6.386 MB / 0.5852 GB, free: 3.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.8318, allocations: 10.16 kB / 0.5852 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.8483, allocations: 2.876 MB / 0.588 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.8613, allocations: 4.481 MB / 0.5924 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004953/0.8618, allocations: 372.2 kB / 0.5927 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00337/0.8652, allocations: 0.4973 MB / 0.5932 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03859/0.9038, allocations: 15.71 MB / 0.6085 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003134/0.9041, allocations: 75.77 kB / 0.6086 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.9052, allocations: 236.6 kB / 0.6088 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005789/0.911, allocations: 3.005 MB / 0.6118 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03262/0.9436, allocations: 13.44 MB / 0.6249 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/1.057, allocations: 61.12 MB / 0.6846 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02103/1.078, allocations: 7.637 MB / 0.692 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006976/1.085, allocations: 4.156 MB / 0.6961 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02446/1.11, allocations: 9.854 MB / 0.7057 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/1.11, allocations: 67.19 kB / 0.7058 GB, free: 7.844 MB / 0.545 GB Notification: Performance of pre-optimization done (n=273): time 7.575e-06/1.11, allocations: 0 / 0.7058 GB, free: 7.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.1094/1.219, allocations: 34.31 MB / 0.7393 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/1.22, allocations: 242.6 kB / 0.7395 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.41/1.63, allocations: 6.879 MB / 0.7462 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001154/1.631, allocations: 73.14 kB / 0.7463 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005558/1.636, allocations: 4.637 MB / 0.7508 GB, free: 241 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002424/1.639, allocations: 1.192 MB / 0.752 GB, free: 240.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002163/1.641, allocations: 0.7899 MB / 0.7528 GB, free: 240.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/1.641, allocations: 309.4 kB / 0.7531 GB, free: 240 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0089/1.65, allocations: 3.904 MB / 0.7569 GB, free: 239.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01281/1.663, allocations: 9.081 MB / 0.7657 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01943/1.682, allocations: 13.92 MB / 0.7793 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000452/1.683, allocations: 52.09 kB / 0.7794 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03171/1.714, allocations: 14.81 MB / 0.7938 GB, free: 215.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.715, allocations: 88.12 kB / 0.7939 GB, free: 215.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002088/1.715, allocations: 177.2 kB / 0.7941 GB, free: 215.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0052/1.72, allocations: 2.27 MB / 0.7963 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007995/1.728, allocations: 2.17 MB / 0.7984 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/1.744, allocations: 13.33 MB / 0.8115 GB, free: 201 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/1.754, allocations: 0.5343 MB / 0.812 GB, free: 200.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002089/1.756, allocations: 0.5312 MB / 0.8125 GB, free: 199.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * 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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[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 (1120): * Single equations (assignments): 1113 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007184/1.764, allocations: 3.162 MB / 0.8156 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/1.765, allocations: 0.5784 MB / 0.8161 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.778, allocations: 7.757 MB / 0.8237 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/1.778, allocations: 36 kB / 0.8238 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/1.778, allocations: 8 kB / 0.8238 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/1.778, allocations: 15.89 kB / 0.8238 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02535/1.803, allocations: 16.27 MB / 0.8397 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/1.803, allocations: 7.75 kB / 0.8397 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/1.806, allocations: 0.5577 MB / 0.8402 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004731/1.81, allocations: 2.02 MB / 0.8422 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003406/1.811, allocations: 55.52 kB / 0.8422 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01426/1.825, allocations: 12.6 MB / 0.8545 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/1.825, allocations: 4 kB / 0.8546 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01944/1.844, allocations: 12.35 MB / 0.8666 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005235/1.85, allocations: 1.204 MB / 0.8678 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002628/1.852, allocations: 52 kB / 0.8678 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00451/1.857, allocations: 227.7 kB / 0.868 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007134/1.858, allocations: 197.9 kB / 0.8682 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003032/1.858, allocations: 83.83 kB / 0.8683 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.009583/1.868, allocations: 4.418 MB / 0.8726 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.71e-07/1.868, allocations: 0 / 0.8726 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01232/1.88, allocations: 1.703 MB / 0.8743 GB, free: 136.2 MB / 0.5762 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 (260): * Single equations (assignments): 255 * 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 {(5,16,72.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/1.881, allocations: 207.9 kB / 0.8745 GB, free: 136 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01806/1.899, allocations: 9.396 MB / 0.8837 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.899, allocations: 4 kB / 0.8837 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007214/1.907, allocations: 3.853 MB / 0.8874 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01249/1.919, allocations: 0.7068 MB / 0.8881 GB, free: 122 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03896/1.958, allocations: 19.78 MB / 0.9074 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009046/1.967, allocations: 4.776 MB / 0.9121 GB, free: 97.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002559/1.97, allocations: 471.3 kB / 0.9126 GB, free: 96.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.804e-06/1.97, allocations: 0 / 0.9126 GB, free: 96.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.5749/2.545, allocations: 151.1 MB / 1.06 GB, free: 179.9 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.ForceCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceCalcHelperMain.o] Error 1