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.001561/0.001561, allocations: 104.2 kB / 16.52 MB, free: 6.266 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.001698/0.001698, allocations: 193.6 kB / 17.44 MB, free: 5.887 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.982/1.982, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2524/0.2524, allocations: 43.51 MB / 314.1 MB, free: 0.75 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.00134/0.00134, allocations: 67.36 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1566, allocations: 57.8 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.09156/0.2482, allocations: 90.04 MB / 0.5181 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4516/0.6999, allocations: 17.19 MB / 0.5349 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02875/0.7287, allocations: 388.3 kB / 0.5352 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.7394, allocations: 5.061 MB / 0.5402 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009663/0.7492, allocations: 2.512 MB / 0.5426 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.753, allocations: 1.034 MB / 0.5436 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02016/0.7732, allocations: 9.936 MB / 0.5534 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01108/0.7843, allocations: 5.831 MB / 0.559 GB, free: 248 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006917/0.7913, allocations: 2.266 MB / 0.5613 GB, free: 0 / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008965/0.8003, allocations: 3.711 MB / 0.5649 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003569/0.8039, allocations: 391.6 kB / 0.5653 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006798/0.8107, allocations: 1.344 MB / 0.5666 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007261/0.818, allocations: 3.066 MB / 0.5696 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01007/0.8281, allocations: 3.449 MB / 0.5729 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01459/0.8427, allocations: 8.777 MB / 0.5815 GB, free: 5.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.8428, allocations: 0 / 0.5815 GB, free: 5.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.8428, allocations: 4 kB / 0.5815 GB, free: 5.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007292/0.8435, allocations: 0 / 0.5815 GB, free: 5.516 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.03236/0.8759, allocations: 7.792 MB / 0.5891 GB, free: 14.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.876, allocations: 8.031 kB / 0.5891 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.8908, allocations: 2.805 MB / 0.5919 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/0.9035, allocations: 4.474 MB / 0.5962 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004886/0.9041, allocations: 376.8 kB / 0.5966 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00275/0.9068, allocations: 0.4969 MB / 0.5971 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0427/0.9495, allocations: 15.68 MB / 0.6124 GB, free: 6.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007134/0.9503, allocations: 77.7 kB / 0.6125 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004089/0.9544, allocations: 238.5 kB / 0.6127 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007615/0.9621, allocations: 3.009 MB / 0.6156 GB, free: 2.957 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03501/0.9971, allocations: 13.42 MB / 0.6287 GB, free: 5.762 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/1.099, allocations: 61.08 MB / 0.6884 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02022/1.119, allocations: 7.606 MB / 0.6958 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006607/1.126, allocations: 4.159 MB / 0.6999 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01789/1.144, allocations: 9.839 MB / 0.7095 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/1.144, allocations: 71.17 kB / 0.7095 GB, free: 2.055 MB / 0.545 GB Notification: Performance of pre-optimization done (n=273): time 7.254e-06/1.144, allocations: 7.984 kB / 0.7096 GB, free: 2.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.442/1.586, allocations: 34.31 MB / 0.7431 GB, free: 246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/1.586, allocations: 241 kB / 0.7433 GB, free: 245.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01379/1.6, allocations: 6.891 MB / 0.75 GB, free: 245.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001061/1.601, allocations: 75.19 kB / 0.7501 GB, free: 245.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004237/1.606, allocations: 4.634 MB / 0.7546 GB, free: 242.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002033/1.608, allocations: 1.195 MB / 0.7558 GB, free: 241.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003279/1.611, allocations: 1.876 MB / 0.7576 GB, free: 240.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/1.611, allocations: 303.2 kB / 0.7579 GB, free: 240.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007567/1.619, allocations: 3.906 MB / 0.7617 GB, free: 239 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.63, allocations: 9.081 MB / 0.7706 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01821/1.648, allocations: 13.93 MB / 0.7842 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000355/1.648, allocations: 50.53 kB / 0.7842 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03159/1.68, allocations: 14.81 MB / 0.7987 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002812/1.68, allocations: 83.28 kB / 0.7988 GB, free: 213.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003822/1.681, allocations: 180 kB / 0.7989 GB, free: 213.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005626/1.686, allocations: 2.269 MB / 0.8012 GB, free: 211.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007553/1.694, allocations: 2.16 MB / 0.8033 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/1.71, allocations: 13.31 MB / 0.8163 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009782/1.72, allocations: 0.5392 MB / 0.8168 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/1.722, allocations: 0.5351 MB / 0.8173 GB, free: 194.3 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.008363/1.731, allocations: 3.151 MB / 0.8204 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/1.733, allocations: 0.5823 MB / 0.821 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.747, allocations: 7.76 MB / 0.8285 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.625e-05/1.747, allocations: 36 kB / 0.8286 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.551e-05/1.747, allocations: 12 kB / 0.8286 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.201e-05/1.747, allocations: 15.94 kB / 0.8286 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03383/1.781, allocations: 16.26 MB / 0.8445 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.421e-05/1.781, allocations: 6.062 kB / 0.8445 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/1.784, allocations: 0.5577 MB / 0.845 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004963/1.789, allocations: 2.028 MB / 0.847 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007029/1.79, allocations: 52 kB / 0.8471 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/1.804, allocations: 12.6 MB / 0.8594 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/1.805, allocations: 7.938 kB / 0.8594 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/1.825, allocations: 12.34 MB / 0.8714 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004302/1.829, allocations: 1.184 MB / 0.8726 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002544/1.832, allocations: 59.45 kB / 0.8726 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00452/1.836, allocations: 235.7 kB / 0.8729 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009621/1.837, allocations: 189.9 kB / 0.873 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000508/1.838, allocations: 79.98 kB / 0.8731 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.009195/1.847, allocations: 4.414 MB / 0.8774 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.41e-07/1.847, allocations: 4 kB / 0.8774 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01213/1.859, allocations: 1.706 MB / 0.8791 GB, free: 130.5 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.001423/1.861, allocations: 201.3 kB / 0.8793 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01604/1.877, allocations: 9.392 MB / 0.8885 GB, free: 121 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.877, allocations: 4.375 kB / 0.8885 GB, free: 121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007922/1.885, allocations: 3.864 MB / 0.8922 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01123/1.896, allocations: 0.7066 MB / 0.8929 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03665/1.933, allocations: 19.65 MB / 0.9121 GB, free: 96.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007702/1.94, allocations: 4.769 MB / 0.9168 GB, free: 91.85 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002591/1.943, allocations: 467.3 kB / 0.9172 GB, free: 91.39 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/1.943, allocations: 0 / 0.9172 GB, free: 91.39 MB / 0.5762 GB Notification: Performance of Templates: time 0.5294/2.472, allocations: 152.4 MB / 1.066 GB, free: 176.4 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