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.0008363/0.0008359, allocations: 90.08 kB / 16.33 MB, free: 5.938 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.001021/0.001021, allocations: 180.8 kB / 17.22 MB, free: 5.867 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.518/1.518, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4388/0.4388, allocations: 43.55 MB / 315.2 MB, free: 8.852 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.0005717/0.0005717, allocations: 12 kB / 384.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1409, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.299/0.4399, allocations: 48.24 MB / 491.7 MB, free: 20.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02513/0.4651, allocations: 10.56 MB / 0.4904 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01156/0.4768, allocations: 218.7 kB / 0.4907 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007819/0.4846, allocations: 2.505 MB / 0.4931 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02552/0.5102, allocations: 7.467 MB / 0.5004 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004132/0.5143, allocations: 0.605 MB / 0.501 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02786/0.5422, allocations: 18.95 MB / 0.5195 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007064/0.5493, allocations: 4.37 MB / 0.5238 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003132/0.5525, allocations: 1.249 MB / 0.525 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003587/0.5561, allocations: 2.048 MB / 0.527 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.5573, allocations: 160 kB / 0.5271 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.5604, allocations: 0.9362 MB / 0.528 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002667/0.5631, allocations: 1.777 MB / 0.5298 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.5649, allocations: 0.8856 MB / 0.5306 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00738/0.5723, allocations: 6.063 MB / 0.5366 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.5723, allocations: 4 kB / 0.5366 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.5723, allocations: 0 / 0.5366 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000274/0.5726, allocations: 0 / 0.5366 GB, free: 0.7656 MB / 398.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.01072/0.5833, allocations: 4.1 MB / 0.5406 GB, free: 12.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.5834, allocations: 16.02 kB / 0.5406 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/0.5972, allocations: 2.603 MB / 0.5431 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006552/0.6038, allocations: 2.661 MB / 0.5457 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.604, allocations: 254.4 kB / 0.546 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000646/0.6047, allocations: 335.8 kB / 0.5463 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/0.6215, allocations: 10.45 MB / 0.5565 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.6216, allocations: 51.58 kB / 0.5565 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004029/0.622, allocations: 155.8 kB / 0.5567 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003226/0.6253, allocations: 2.092 MB / 0.5587 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/0.6417, allocations: 8.724 MB / 0.5672 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04836/0.6901, allocations: 38.65 MB / 0.605 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005829/0.696, allocations: 3.063 MB / 0.608 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/0.6985, allocations: 1.751 MB / 0.6097 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.6989, allocations: 332.2 kB / 0.61 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.6989, allocations: 55.55 kB / 0.6101 GB, free: 3.355 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.448e-06/0.699, allocations: 0 / 0.6101 GB, free: 3.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03126/0.7302, allocations: 15.02 MB / 0.6247 GB, free: 4.195 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.7304, allocations: 205.2 kB / 0.6249 GB, free: 3.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004974/0.7354, allocations: 3.816 MB / 0.6286 GB, free: 148 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.7356, allocations: 53.7 kB / 0.6287 GB, free: 88 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2823/1.018, allocations: 3.184 MB / 0.6318 GB, free: 139.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009671/1.019, allocations: 0.7481 MB / 0.6325 GB, free: 139.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/1.019, allocations: 123.7 kB / 0.6327 GB, free: 139.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002815/1.019, allocations: 0.5576 MB / 0.6332 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/1.023, allocations: 2.261 MB / 0.6354 GB, free: 138.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005225/1.028, allocations: 5.947 MB / 0.6412 GB, free: 134.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004777/1.033, allocations: 3.572 MB / 0.6447 GB, free: 132.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.325e-05/1.033, allocations: 37 kB / 0.6447 GB, free: 132.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01289/1.046, allocations: 8.472 MB / 0.653 GB, free: 129.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/1.046, allocations: 65 kB / 0.6531 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/1.046, allocations: 129.8 kB / 0.6532 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/1.048, allocations: 0.7205 MB / 0.6539 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00418/1.052, allocations: 1.458 MB / 0.6553 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005109/1.057, allocations: 4.071 MB / 0.6593 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005661/1.063, allocations: 374.6 kB / 0.6597 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.064, allocations: 378.1 kB / 0.66 GB, free: 127 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005683/1.069, allocations: 2.234 MB / 0.6622 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/1.071, allocations: 340 kB / 0.6625 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007437/1.078, allocations: 3.291 MB / 0.6657 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.111e-05/1.078, allocations: 23.59 kB / 0.6658 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.078, allocations: 4.125 kB / 0.6658 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/1.078, allocations: 14.55 kB / 0.6658 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/1.095, allocations: 8.194 MB / 0.6738 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.095, allocations: 1.281 kB / 0.6738 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.097, allocations: 356 kB / 0.6741 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/1.098, allocations: 0.5042 MB / 0.6746 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/1.098, allocations: 39.09 kB / 0.6747 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00525/1.104, allocations: 3.63 MB / 0.6782 GB, free: 119.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.104, allocations: 1.375 kB / 0.6782 GB, free: 119.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.114, allocations: 5.988 MB / 0.684 GB, free: 117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.116, allocations: 0.6573 MB / 0.6847 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/1.116, allocations: 31.66 kB / 0.6847 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.117, allocations: 130.4 kB / 0.6848 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/1.117, allocations: 134.2 kB / 0.685 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.118, allocations: 58.2 kB / 0.685 GB, free: 116.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003281/1.121, allocations: 2.371 MB / 0.6873 GB, free: 115.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.121, allocations: 0 / 0.6873 GB, free: 115.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005164/1.126, allocations: 1.02 MB / 0.6883 GB, free: 115.6 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004099/1.126, allocations: 169.7 kB / 0.6885 GB, free: 115.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008235/1.135, allocations: 5.37 MB / 0.6937 GB, free: 112.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.135, allocations: 0 / 0.6937 GB, free: 112.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/1.137, allocations: 1.731 MB / 0.6954 GB, free: 110.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/1.139, allocations: 415.3 kB / 0.6958 GB, free: 110.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/1.157, allocations: 11.88 MB / 0.7074 GB, free: 99.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002982/1.16, allocations: 3.446 MB / 0.7108 GB, free: 96.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.161, allocations: 307.4 kB / 0.7111 GB, free: 96.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.162, allocations: 3.938 kB / 0.7111 GB, free: 96.2 MB / 494.1 MB Notification: Performance of Templates: time 0.09857/1.26, allocations: 78.91 MB / 0.7882 GB, free: 17.27 MB / 494.1 MB 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++ 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.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