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.001978/0.001978, allocations: 106 kB / 16.52 MB, free: 6.723 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.00251/0.00251, allocations: 195.7 kB / 17.44 MB, free: 6.074 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.999/1.999, allocations: 205.1 MB / 223.3 MB, free: 12.5 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.2519/0.2519, allocations: 43.53 MB / 314.2 MB, free: 0.7461 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.00176/0.00176, allocations: 63.7 kB / 382.7 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1428, allocations: 57.79 MB / 440.5 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.05205/0.1949, allocations: 53.2 MB / 493.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03558/0.2305, allocations: 11.14 MB / 0.493 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01874/0.2493, allocations: 219.5 kB / 0.4932 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007471/0.2569, allocations: 2.825 MB / 0.4959 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006863/0.2639, allocations: 1.775 MB / 0.4977 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.2663, allocations: 0.6474 MB / 0.4983 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0094/0.2757, allocations: 6.133 MB / 0.5043 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007054/0.2828, allocations: 3.83 MB / 0.508 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003911/0.2868, allocations: 1.389 MB / 0.5094 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005066/0.2919, allocations: 2.368 MB / 0.5117 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001641/0.2936, allocations: 256 kB / 0.512 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/0.2975, allocations: 1.19 MB / 0.5131 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003743/0.3013, allocations: 1.963 MB / 0.515 GB, free: 256 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005756/0.3071, allocations: 2.283 MB / 0.5173 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008432/0.3155, allocations: 6.206 MB / 0.5233 GB, free: 7.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3156, allocations: 4 kB / 0.5233 GB, free: 7.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.3156, allocations: 3.984 kB / 0.5233 GB, free: 7.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002409/0.3158, allocations: 0 / 0.5233 GB, free: 7.727 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.01418/0.33, allocations: 4.968 MB / 0.5282 GB, free: 2.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.3301, allocations: 8.031 kB / 0.5282 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01659/0.3467, allocations: 2.537 MB / 0.5307 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3508/0.6976, allocations: 2.697 MB / 0.5333 GB, free: 91.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003067/0.698, allocations: 256.1 kB / 0.5335 GB, free: 91.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.6994, allocations: 332.9 kB / 0.5339 GB, free: 91.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/0.7212, allocations: 10.45 MB / 0.5441 GB, free: 86.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/0.7214, allocations: 46.09 kB / 0.5441 GB, free: 86.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005156/0.7219, allocations: 159.8 kB / 0.5443 GB, free: 86.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003631/0.7255, allocations: 2.096 MB / 0.5463 GB, free: 86.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.7418, allocations: 8.729 MB / 0.5548 GB, free: 79.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04935/0.7912, allocations: 38.63 MB / 0.5926 GB, free: 40.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006129/0.7974, allocations: 3.064 MB / 0.5956 GB, free: 37.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/0.8, allocations: 1.743 MB / 0.5973 GB, free: 35.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004618/0.8005, allocations: 332.2 kB / 0.5976 GB, free: 34.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.8006, allocations: 59.5 kB / 0.5976 GB, free: 34.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=176): time 7.083e-06/0.8006, allocations: 7.922 kB / 0.5976 GB, free: 34.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=194): time 0.03523/0.8359, allocations: 14.75 MB / 0.612 GB, free: 19.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.836, allocations: 201.2 kB / 0.6122 GB, free: 19.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005894/0.8419, allocations: 3.847 MB / 0.616 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004397/0.8423, allocations: 53.7 kB / 0.616 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001922/0.8443, allocations: 3.186 MB / 0.6191 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.8454, allocations: 0.7366 MB / 0.6199 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002077/0.8475, allocations: 1.253 MB / 0.6211 GB, free: 10.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8476, allocations: 305.1 kB / 0.6214 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003166/0.8507, allocations: 2.257 MB / 0.6236 GB, free: 7.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004552/0.8553, allocations: 5.957 MB / 0.6294 GB, free: 192 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/0.8673, allocations: 8.831 MB / 0.638 GB, free: 5.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/0.8675, allocations: 36 kB / 0.6381 GB, free: 5.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.0184/0.8859, allocations: 8.478 MB / 0.6463 GB, free: 13.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003295/0.8863, allocations: 64.95 kB / 0.6464 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004762/0.8868, allocations: 136 kB / 0.6465 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/0.8893, allocations: 0.6814 MB / 0.6472 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006373/0.8957, allocations: 1.447 MB / 0.6486 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006394/0.9021, allocations: 4.079 MB / 0.6526 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006491/0.9086, allocations: 363.6 kB / 0.6529 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/0.9102, allocations: 372 kB / 0.6533 GB, free: 5.758 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.005917/0.9161, allocations: 2.236 MB / 0.6555 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/0.9174, allocations: 343.6 kB / 0.6558 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007676/0.9251, allocations: 3.256 MB / 0.659 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/0.9251, allocations: 20 kB / 0.659 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/0.9252, allocations: 4 kB / 0.659 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-05/0.9252, allocations: 11.97 kB / 0.659 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02036/0.9456, allocations: 8.17 MB / 0.667 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.9456, allocations: 0 / 0.667 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.9474, allocations: 347.5 kB / 0.6673 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.9489, allocations: 0.5002 MB / 0.6678 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/0.9491, allocations: 31.98 kB / 0.6678 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/0.9539, allocations: 3.636 MB / 0.6714 GB, free: 2.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.954, allocations: 4.062 kB / 0.6714 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.9644, allocations: 5.929 MB / 0.6772 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/0.9663, allocations: 0.6488 MB / 0.6778 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009309/0.9673, allocations: 24 kB / 0.6778 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/0.9693, allocations: 127.9 kB / 0.678 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004026/0.9697, allocations: 125.1 kB / 0.6781 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.9699, allocations: 55.92 kB / 0.6781 GB, free: 12.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005187/0.9751, allocations: 2.396 MB / 0.6805 GB, free: 9.645 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9751, allocations: 0 / 0.6805 GB, free: 9.645 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006716/0.9818, allocations: 1.022 MB / 0.6815 GB, free: 8.625 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.0007491/0.9826, allocations: 165.6 kB / 0.6816 GB, free: 8.457 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01067/0.9933, allocations: 5.346 MB / 0.6869 GB, free: 3.125 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.9933, allocations: 384 / 0.6869 GB, free: 3.125 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003306/0.9966, allocations: 1.724 MB / 0.6885 GB, free: 1.391 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/1.001, allocations: 401.1 kB / 0.6889 GB, free: 1.004 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/1.029, allocations: 12.29 MB / 0.7009 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007011/1.036, allocations: 3.443 MB / 0.7043 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/1.038, allocations: 303.4 kB / 0.7046 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of SimCode: time 2.094e-06/1.038, allocations: 0 / 0.7046 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of Templates: time 0.4133/1.451, allocations: 79.54 MB / 0.7823 GB, free: 117.7 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