Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 89.84 kB / 16.67 MB, free: 6.59 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.001147/0.001147, allocations: 179.2 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.981/1.981, 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.2636/0.2636, allocations: 43.58 MB / 315.6 MB, free: 0.5 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.0006012/0.0006012, allocations: 22.8 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1466, allocations: 58.87 MB / 444.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.05241/0.1991, allocations: 51.84 MB / 495.9 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03504/0.2342, allocations: 11.09 MB / 0.4951 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0134/0.2476, allocations: 215.5 kB / 0.4953 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.2498, allocations: 433.9 kB / 0.4958 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006376/0.2562, allocations: 1.775 MB / 0.4975 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.2583, allocations: 0.6435 MB / 0.4981 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009744/0.268, allocations: 6.135 MB / 0.5041 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007923/0.276, allocations: 5.054 MB / 0.509 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.2789, allocations: 1.155 MB / 0.5102 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003899/0.2828, allocations: 2.059 MB / 0.5122 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.2842, allocations: 160 kB / 0.5123 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/0.2882, allocations: 1.1 MB / 0.5134 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003707/0.2919, allocations: 1.823 MB / 0.5152 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004858/0.2968, allocations: 2.129 MB / 0.5173 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008904/0.3057, allocations: 6.063 MB / 0.5232 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3057, allocations: 0 / 0.5232 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3057, allocations: 0 / 0.5232 GB, free: 9.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002606/0.306, allocations: 0 / 0.5232 GB, free: 9.199 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01108/0.3171, allocations: 4.052 MB / 0.5272 GB, free: 5.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.3172, allocations: 15.97 kB / 0.5272 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/0.3348, allocations: 2.596 MB / 0.5297 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3287/0.6636, allocations: 2.697 MB / 0.5323 GB, free: 82.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.664, allocations: 249.3 kB / 0.5326 GB, free: 82.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.6658, allocations: 337.2 kB / 0.5329 GB, free: 82.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02255/0.6883, allocations: 10.47 MB / 0.5431 GB, free: 80.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.6885, allocations: 45.53 kB / 0.5432 GB, free: 80.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005206/0.6891, allocations: 157.9 kB / 0.5433 GB, free: 80.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004481/0.6936, allocations: 2.098 MB / 0.5454 GB, free: 80.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/0.7123, allocations: 8.773 MB / 0.5539 GB, free: 77.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04663/0.7589, allocations: 38.66 MB / 0.5917 GB, free: 38.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005626/0.7646, allocations: 3.076 MB / 0.5947 GB, free: 35.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.7669, allocations: 1.748 MB / 0.5964 GB, free: 33.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/0.7672, allocations: 347.5 kB / 0.5967 GB, free: 33.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.7673, allocations: 47.56 kB / 0.5968 GB, free: 33.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=176): time 5.55e-06/0.7673, allocations: 0 / 0.5968 GB, free: 33.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=194): time 0.03175/0.7991, allocations: 15.04 MB / 0.6114 GB, free: 18.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.7992, allocations: 205.2 kB / 0.6116 GB, free: 17.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005543/0.8048, allocations: 3.851 MB / 0.6154 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005781/0.8054, allocations: 57.7 kB / 0.6155 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002183/0.8076, allocations: 3.183 MB / 0.6186 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.8086, allocations: 0.7368 MB / 0.6193 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006485/0.8093, allocations: 0.5236 MB / 0.6198 GB, free: 9.527 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.8094, allocations: 305.1 kB / 0.6201 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/0.8126, allocations: 2.284 MB / 0.6223 GB, free: 6.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005686/0.8183, allocations: 5.968 MB / 0.6281 GB, free: 15.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/0.8328, allocations: 8.884 MB / 0.6368 GB, free: 4.484 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002057/0.8331, allocations: 36 kB / 0.6369 GB, free: 4.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02052/0.8536, allocations: 8.53 MB / 0.6452 GB, free: 11.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.6e-05/0.8538, allocations: 60 kB / 0.6452 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001942/0.854, allocations: 132.2 kB / 0.6454 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.8557, allocations: 0.6838 MB / 0.646 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005456/0.8612, allocations: 1.458 MB / 0.6475 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/0.8664, allocations: 4.087 MB / 0.6515 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005673/0.8721, allocations: 378.1 kB / 0.6518 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/0.8731, allocations: 372 kB / 0.6522 GB, free: 4.629 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (764): * Single equations (assignments): 760 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004859/0.878, allocations: 2.239 MB / 0.6544 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000956/0.8789, allocations: 339.7 kB / 0.6547 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006521/0.8855, allocations: 3.298 MB / 0.6579 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/0.8855, allocations: 28 kB / 0.6579 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.8855, allocations: 4 kB / 0.6579 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.8856, allocations: 7.969 kB / 0.6579 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.9021, allocations: 8.204 MB / 0.666 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/0.9021, allocations: 7.938 kB / 0.666 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.9038, allocations: 355.2 kB / 0.6663 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.9053, allocations: 0.5041 MB / 0.6668 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.9055, allocations: 31.98 kB / 0.6668 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004724/0.9102, allocations: 3.646 MB / 0.6704 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9102, allocations: 0 / 0.6704 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009945/0.9202, allocations: 6 MB / 0.6762 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/0.9221, allocations: 0.6528 MB / 0.6769 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/0.9226, allocations: 31.94 kB / 0.6769 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.9242, allocations: 141.5 kB / 0.677 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003542/0.9246, allocations: 121.1 kB / 0.6772 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.9247, allocations: 55.98 kB / 0.6772 GB, free: 10.76 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004402/0.9291, allocations: 2.392 MB / 0.6796 GB, free: 8.387 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9291, allocations: 4 kB / 0.6796 GB, free: 8.383 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006389/0.9355, allocations: 1.028 MB / 0.6806 GB, free: 7.359 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (164): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005175/0.9361, allocations: 168 kB / 0.6807 GB, free: 7.191 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01026/0.9463, allocations: 5.397 MB / 0.686 GB, free: 1.809 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.9464, allocations: 0 / 0.686 GB, free: 1.809 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00311/0.9495, allocations: 1.74 MB / 0.6877 GB, free: 60 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/0.953, allocations: 406.7 kB / 0.6881 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/0.9775, allocations: 12.35 MB / 0.7001 GB, free: 3.262 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004346/0.9819, allocations: 3.443 MB / 0.7035 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/0.9834, allocations: 311.3 kB / 0.7038 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/0.9834, allocations: 0 / 0.7038 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.4647/1.448, allocations: 78.65 MB / 0.7806 GB, free: 117.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForcesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForcesCalcHelperMain.o] Error 1