Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009462/0.0009462, allocations: 95.62 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 201 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2718/0.2718, allocations: 45.92 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002946, allocations: 12 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 63.47 MB / 482.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3922/0.5468, allocations: 46.96 MB / 0.5167 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03174/0.5786, allocations: 10.39 MB / 0.5268 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01395/0.5926, allocations: 216 kB / 0.527 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.6038, allocations: 2.479 MB / 0.5295 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02744/0.6312, allocations: 7.291 MB / 0.5366 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004925/0.6362, allocations: 0.6046 MB / 0.5372 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04665/0.6828, allocations: 32.16 MB / 0.5686 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007139/0.69, allocations: 4.213 MB / 0.5727 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.6926, allocations: 1.129 MB / 0.5738 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.695, allocations: 1.764 MB / 0.5755 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.6954, allocations: 132 kB / 0.5756 GB, free: 8.582 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.6977, allocations: 0.9167 MB / 0.5765 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002177/0.6999, allocations: 1.601 MB / 0.5781 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.7011, allocations: 0.7882 MB / 0.5789 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009201/0.7103, allocations: 5.393 MB / 0.5841 GB, free: 15.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.7104, allocations: 0 / 0.5841 GB, free: 15.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.9e-06/0.7104, allocations: 0 / 0.5841 GB, free: 15.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000315/0.7108, allocations: 0 / 0.5841 GB, free: 15.86 MB / 430.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.01016/0.7209, allocations: 3.772 MB / 0.5878 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.721, allocations: 8.031 kB / 0.5878 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/0.7352, allocations: 2.604 MB / 0.5904 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006442/0.7417, allocations: 2.437 MB / 0.5927 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.7419, allocations: 221.8 kB / 0.593 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007089/0.7426, allocations: 307.8 kB / 0.5933 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/0.7599, allocations: 9.29 MB / 0.6023 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.7601, allocations: 35.66 kB / 0.6024 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003875/0.7605, allocations: 147.9 kB / 0.6025 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003083/0.7636, allocations: 1.841 MB / 0.6043 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.7788, allocations: 7.674 MB / 0.6118 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04648/0.8253, allocations: 34.87 MB / 0.6458 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005246/0.8306, allocations: 2.458 MB / 0.6482 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.8327, allocations: 1.294 MB / 0.6495 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004581/0.8332, allocations: 323.8 kB / 0.6498 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/0.8333, allocations: 47.06 kB / 0.6499 GB, free: 10.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 5.26e-06/0.8333, allocations: 0 / 0.6499 GB, free: 10.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02862/0.8619, allocations: 11.86 MB / 0.6614 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.8621, allocations: 196.5 kB / 0.6616 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005318/0.8674, allocations: 3.622 MB / 0.6652 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003013/0.8677, allocations: 41.7 kB / 0.6652 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002186/0.8699, allocations: 2.938 MB / 0.6681 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007706/0.8707, allocations: 0.5517 MB / 0.6686 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.8709, allocations: 112 kB / 0.6687 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000345/0.8713, allocations: 0.5373 MB / 0.6693 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002985/0.8743, allocations: 1.822 MB / 0.671 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005372/0.8797, allocations: 5.257 MB / 0.6762 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004874/0.8846, allocations: 3.017 MB / 0.6791 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-05/0.8847, allocations: 36 kB / 0.6791 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01434/0.899, allocations: 7.31 MB / 0.6863 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.8992, allocations: 56 kB / 0.6863 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/0.8993, allocations: 120.1 kB / 0.6865 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.901, allocations: 0.6955 MB / 0.6871 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004219/0.9052, allocations: 1.263 MB / 0.6884 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005346/0.9106, allocations: 4.055 MB / 0.6923 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005077/0.9157, allocations: 311.7 kB / 0.6926 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000987/0.9167, allocations: 340 kB / 0.6929 GB, free: 12.19 MB / 0.5294 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.00436/0.9211, allocations: 2.041 MB / 0.6949 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007805/0.9218, allocations: 308 kB / 0.6952 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/0.9263, allocations: 2.3 MB / 0.6975 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.9264, allocations: 12.38 kB / 0.6975 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.9264, allocations: 4 kB / 0.6975 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.9264, allocations: 11.98 kB / 0.6975 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.9389, allocations: 6.341 MB / 0.7037 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.9389, allocations: 7.891 kB / 0.7037 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.94, allocations: 227.7 kB / 0.7039 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.9413, allocations: 0.5041 MB / 0.7044 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.742e-05/0.9414, allocations: 19.98 kB / 0.7044 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004361/0.9458, allocations: 3.638 MB / 0.708 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.9458, allocations: 4.062 kB / 0.708 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00705/0.9529, allocations: 4.46 MB / 0.7123 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.9542, allocations: 364.9 kB / 0.7127 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.9545, allocations: 23.95 kB / 0.7127 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.9556, allocations: 95.97 kB / 0.7128 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.9559, allocations: 92.5 kB / 0.7129 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.956, allocations: 43.97 kB / 0.7129 GB, free: 7.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003827/0.9598, allocations: 2.238 MB / 0.7151 GB, free: 5.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9598, allocations: 0 / 0.7151 GB, free: 5.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005671/0.9655, allocations: 0.8828 MB / 0.716 GB, free: 4.32 MB / 0.545 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.0004454/0.966, allocations: 151 kB / 0.7161 GB, free: 4.164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3221/1.288, allocations: 4.338 MB / 0.7204 GB, free: 198.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.288, allocations: 0.7812 kB / 0.7204 GB, free: 198.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002961/1.291, allocations: 1.25 MB / 0.7216 GB, free: 198.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/1.294, allocations: 386.7 kB / 0.722 GB, free: 198.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.315, allocations: 10.3 MB / 0.732 GB, free: 194.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005068/1.32, allocations: 3.145 MB / 0.7351 GB, free: 192.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.321, allocations: 262.1 kB / 0.7353 GB, free: 192.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.613e-06/1.321, allocations: 1.031 kB / 0.7353 GB, free: 192.8 MB / 0.545 GB Notification: Performance of Templates: time 0.103/1.424, allocations: 69.11 MB / 0.8028 GB, free: 135.5 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForcesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForcesCalcHelperMain.o] Error 1