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.0008878/0.000888, allocations: 90.84 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.0008713/0.0008713, allocations: 187.2 kB / 17.22 MB, free: 6.289 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.617/1.617, 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.2327/0.2327, allocations: 43.55 MB / 315.2 MB, free: 0.5586 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.0005347/0.0005347, allocations: 14.06 kB / 384.5 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 58.86 MB / 443.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.07526/0.2023, allocations: 81.76 MB / 0.5129 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.367/0.5695, allocations: 16.44 MB / 0.5289 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02227/0.5918, allocations: 386.8 kB / 0.5293 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01761/0.6094, allocations: 4.29 MB / 0.5335 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04424/0.6537, allocations: 12.52 MB / 0.5457 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006733/0.6605, allocations: 0.8931 MB / 0.5466 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05211/0.7127, allocations: 36.11 MB / 0.5818 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01327/0.726, allocations: 7.417 MB / 0.5891 GB, free: 4.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005093/0.7311, allocations: 2.009 MB / 0.591 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006363/0.7375, allocations: 3.157 MB / 0.5941 GB, free: 416 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001707/0.7393, allocations: 228 kB / 0.5943 GB, free: 188 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.7426, allocations: 1.009 MB / 0.5953 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004042/0.7467, allocations: 2.77 MB / 0.598 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00269/0.7494, allocations: 1.299 MB / 0.5993 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.7617, allocations: 8.59 MB / 0.6077 GB, free: 4.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.7617, allocations: 1.312 kB / 0.6077 GB, free: 4.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.7617, allocations: 0 / 0.6077 GB, free: 4.863 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004255/0.7622, allocations: 0 / 0.6077 GB, free: 4.863 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01827/0.7804, allocations: 6.47 MB / 0.614 GB, free: 14.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7805, allocations: 12.02 kB / 0.614 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.7935, allocations: 2.87 MB / 0.6168 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.8047, allocations: 4.403 MB / 0.6211 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/0.8052, allocations: 374.6 kB / 0.6215 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002069/0.8072, allocations: 0.4941 MB / 0.622 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03271/0.84, allocations: 15.67 MB / 0.6373 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002391/0.8402, allocations: 73.67 kB / 0.6373 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007609/0.841, allocations: 236.2 kB / 0.6376 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005254/0.8463, allocations: 3.002 MB / 0.6405 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02853/0.8748, allocations: 13.38 MB / 0.6536 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0889/0.9638, allocations: 61.09 MB / 0.7132 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0179/0.9817, allocations: 7.611 MB / 0.7206 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00564/0.9874, allocations: 4.158 MB / 0.7247 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3018/1.289, allocations: 9.853 MB / 0.7343 GB, free: 216.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/1.289, allocations: 59.53 kB / 0.7344 GB, free: 216.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=273): time 5.019e-06/1.289, allocations: 0.875 kB / 0.7344 GB, free: 216.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.07821/1.368, allocations: 34.29 MB / 0.7679 GB, free: 201.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/1.368, allocations: 239.9 kB / 0.7681 GB, free: 201.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/1.378, allocations: 6.853 MB / 0.7748 GB, free: 194.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008576/1.379, allocations: 75.5 kB / 0.7749 GB, free: 194.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.382, allocations: 4.632 MB / 0.7794 GB, free: 190.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001647/1.383, allocations: 1.193 MB / 0.7806 GB, free: 188.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005367/1.384, allocations: 181.1 kB / 0.7807 GB, free: 188.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003651/1.384, allocations: 0.6976 MB / 0.7814 GB, free: 188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004905/1.389, allocations: 3.867 MB / 0.7852 GB, free: 184.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007708/1.397, allocations: 9.041 MB / 0.794 GB, free: 172.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007775/1.405, allocations: 5.767 MB / 0.7996 GB, free: 167 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/1.405, allocations: 55.42 kB / 0.7997 GB, free: 167 MB / 0.545 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02545/1.43, allocations: 14.74 MB / 0.8141 GB, free: 152.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001964/1.431, allocations: 80.19 kB / 0.8142 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002606/1.431, allocations: 184 kB / 0.8143 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/1.436, allocations: 2.303 MB / 0.8166 GB, free: 149.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007182/1.443, allocations: 2.164 MB / 0.8187 GB, free: 147.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/1.457, allocations: 13.23 MB / 0.8316 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00796/1.465, allocations: 0.5383 MB / 0.8322 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00195/1.467, allocations: 0.535 MB / 0.8327 GB, free: 132.9 MB / 0.545 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 (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 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007789/1.475, allocations: 3.162 MB / 0.8358 GB, free: 129.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/1.477, allocations: 0.5745 MB / 0.8363 GB, free: 129.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/1.491, allocations: 7.749 MB / 0.8439 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.999e-05/1.491, allocations: 36 kB / 0.8439 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-05/1.491, allocations: 8 kB / 0.8439 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.547e-05/1.491, allocations: 11.95 kB / 0.8439 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03132/1.522, allocations: 16.26 MB / 0.8598 GB, free: 105.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-05/1.522, allocations: 8.031 kB / 0.8598 GB, free: 105.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.525, allocations: 0.5577 MB / 0.8604 GB, free: 104.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004391/1.529, allocations: 2.022 MB / 0.8623 GB, free: 102.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004708/1.53, allocations: 52 kB / 0.8624 GB, free: 102.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/1.544, allocations: 12.58 MB / 0.8747 GB, free: 89.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.544, allocations: 15.92 kB / 0.8747 GB, free: 89.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/1.561, allocations: 12.3 MB / 0.8867 GB, free: 77.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00326/1.565, allocations: 1.204 MB / 0.8879 GB, free: 75.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001806/1.567, allocations: 56.08 kB / 0.8879 GB, free: 75.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003423/1.57, allocations: 231.7 kB / 0.8882 GB, free: 75.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006063/1.571, allocations: 197.7 kB / 0.8883 GB, free: 75.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003002/1.571, allocations: 81.25 kB / 0.8884 GB, free: 75.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008597/1.58, allocations: 4.382 MB / 0.8927 GB, free: 70.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.61e-07/1.58, allocations: 0 / 0.8927 GB, free: 70.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01056/1.59, allocations: 1.705 MB / 0.8944 GB, free: 69.28 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 (260): * Single equations (assignments): 255 * 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 {(5,72.0%) 16,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001118/1.591, allocations: 202.3 kB / 0.8946 GB, free: 69.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01462/1.606, allocations: 9.398 MB / 0.9037 GB, free: 59.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.606, allocations: 0 / 0.9037 GB, free: 59.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006376/1.612, allocations: 3.846 MB / 0.9075 GB, free: 55.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006759/1.619, allocations: 0.6965 MB / 0.9082 GB, free: 55.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03381/1.653, allocations: 19.07 MB / 0.9268 GB, free: 35.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004561/1.658, allocations: 4.772 MB / 0.9315 GB, free: 31.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002187/1.66, allocations: 475.3 kB / 0.9319 GB, free: 30.69 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.66, allocations: 0 / 0.9319 GB, free: 30.69 MB / 0.545 GB Notification: Performance of Templates: time 0.4634/2.123, allocations: 151.5 MB / 1.08 GB, free: 81.94 MB / 0.545 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++ 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.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