Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_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.0009504/0.0009505, allocations: 86.33 kB / 17.63 MB, free: 5.715 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.001187/0.001187, allocations: 184 kB / 18.52 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.2 MB / 242.5 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 44.22 MB / 337.9 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 61.93 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.4293/0.587, allocations: 46.94 MB / 0.507 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03397/0.621, allocations: 10.36 MB / 0.5171 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0145/0.6356, allocations: 215 kB / 0.5173 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.6472, allocations: 2.482 MB / 0.5197 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03043/0.6777, allocations: 7.304 MB / 0.5268 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004468/0.6822, allocations: 0.6023 MB / 0.5274 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04383/0.726, allocations: 32.1 MB / 0.5588 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008066/0.7341, allocations: 4.234 MB / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.7379, allocations: 1.115 MB / 0.564 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003936/0.7419, allocations: 1.764 MB / 0.5657 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008832/0.7428, allocations: 132 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.7457, allocations: 0.9369 MB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00223/0.7479, allocations: 1.592 MB / 0.5683 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.7493, allocations: 0.7893 MB / 0.5691 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007804/0.7571, allocations: 5.402 MB / 0.5744 GB, free: 8.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.7572, allocations: 0 / 0.5744 GB, free: 8.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7572, allocations: 1.312 kB / 0.5744 GB, free: 8.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002375/0.7574, allocations: 0 / 0.5744 GB, free: 8.52 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: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.00958/0.767, allocations: 3.759 MB / 0.578 GB, free: 5.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.7671, allocations: 8.562 kB / 0.578 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/0.7809, allocations: 2.525 MB / 0.5805 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006331/0.7872, allocations: 2.461 MB / 0.5829 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.7874, allocations: 233.2 kB / 0.5831 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008732/0.7883, allocations: 301.3 kB / 0.5834 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.8056, allocations: 9.29 MB / 0.5925 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/0.8057, allocations: 39.66 kB / 0.5925 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004301/0.8062, allocations: 145.5 kB / 0.5927 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003185/0.8094, allocations: 1.836 MB / 0.5945 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/0.8263, allocations: 7.678 MB / 0.602 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04842/0.8747, allocations: 34.88 MB / 0.636 GB, free: 9.324 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004723/0.8795, allocations: 2.451 MB / 0.6384 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.8813, allocations: 1.292 MB / 0.6397 GB, free: 5.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/0.8816, allocations: 325 kB / 0.64 GB, free: 5.062 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.8817, allocations: 56.25 kB / 0.6401 GB, free: 5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 3.337e-06/0.8817, allocations: 0 / 0.6401 GB, free: 5 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.0273/0.909, allocations: 11.91 MB / 0.6517 GB, free: 8.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.9092, allocations: 201.6 kB / 0.6519 GB, free: 8.711 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005126/0.9143, allocations: 3.609 MB / 0.6554 GB, free: 5.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003262/0.9146, allocations: 48.55 kB / 0.6554 GB, free: 5.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002097/0.9168, allocations: 2.938 MB / 0.6583 GB, free: 2.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007821/0.9175, allocations: 0.562 MB / 0.6589 GB, free: 1.578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.9178, allocations: 106.8 kB / 0.659 GB, free: 1.477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003161/0.9181, allocations: 0.5373 MB / 0.6595 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/0.921, allocations: 1.827 MB / 0.6613 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006657/0.9277, allocations: 5.249 MB / 0.6664 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005015/0.9327, allocations: 3.014 MB / 0.6693 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-05/0.9328, allocations: 36 kB / 0.6694 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01441/0.9473, allocations: 7.309 MB / 0.6765 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.905e-05/0.9474, allocations: 56 kB / 0.6766 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.9475, allocations: 128 kB / 0.6767 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.9492, allocations: 0.7021 MB / 0.6774 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004164/0.9534, allocations: 1.268 MB / 0.6786 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005075/0.9584, allocations: 4.042 MB / 0.6826 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003953/0.9624, allocations: 323.7 kB / 0.6829 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007907/0.9632, allocations: 340 kB / 0.6832 GB, free: 6.781 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (672): * Single equations (assignments): 668 * 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.003511/0.9667, allocations: 2.047 MB / 0.6852 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006215/0.9674, allocations: 304.1 kB / 0.6855 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/0.9716, allocations: 2.299 MB / 0.6877 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/0.9716, allocations: 20 kB / 0.6878 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.9717, allocations: 4 kB / 0.6878 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.9717, allocations: 3.984 kB / 0.6878 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.983, allocations: 6.327 MB / 0.6939 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.9831, allocations: 3.938 kB / 0.6939 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.9842, allocations: 227.7 kB / 0.6942 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.9856, allocations: 0.5057 MB / 0.6947 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.9857, allocations: 30.95 kB / 0.6947 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004759/0.9904, allocations: 3.63 MB / 0.6982 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9905, allocations: 4.031 kB / 0.6982 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007934/0.9984, allocations: 4.458 MB / 0.7026 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.9997, allocations: 369.2 kB / 0.7029 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/1, allocations: 22.34 kB / 0.703 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.001, allocations: 99.95 kB / 0.7031 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/1.001, allocations: 104.4 kB / 0.7032 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.001, allocations: 43.94 kB / 0.7032 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.3326/1.334, allocations: 2.228 MB / 0.7054 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.233e-06/1.334, allocations: 0 / 0.7054 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007194/1.341, allocations: 0.888 MB / 0.7062 GB, free: 187.6 MB / 0.5294 GB 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 (107): * Single equations (assignments): 103 * 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.0004943/1.342, allocations: 154.5 kB / 0.7064 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009425/1.351, allocations: 4.332 MB / 0.7106 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.351, allocations: 1.906 kB / 0.7106 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002397/1.354, allocations: 1.257 MB / 0.7118 GB, free: 187 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.357, allocations: 390.4 kB / 0.7122 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/1.377, allocations: 10.3 MB / 0.7223 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00382/1.381, allocations: 3.154 MB / 0.7254 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.382, allocations: 252 kB / 0.7256 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.834e-06/1.382, allocations: 0 / 0.7256 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.09816/1.48, allocations: 69.11 MB / 0.7931 GB, free: 120.7 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForcesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForcesCalcHelperMain.o] Error 1