Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008874/0.0008873, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.649/1.649, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2598/0.2598, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 11.98 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 63.47 MB / 482.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.03482/0.1807, allocations: 31.52 MB / 0.5016 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3705/0.5512, allocations: 7.489 MB / 0.5089 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01136/0.5627, allocations: 149.2 kB / 0.5091 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.5734, allocations: 1.585 MB / 0.5106 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02443/0.5979, allocations: 4.883 MB / 0.5154 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.6024, allocations: 0.5859 MB / 0.5159 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05986/0.6623, allocations: 32.09 MB / 0.5473 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006831/0.6692, allocations: 2.976 MB / 0.5502 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.6728, allocations: 1.122 MB / 0.5513 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004517/0.6774, allocations: 1.799 MB / 0.553 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008617/0.6783, allocations: 124 kB / 0.5532 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.6814, allocations: 0.9413 MB / 0.5541 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002372/0.6837, allocations: 1.497 MB / 0.5555 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.6852, allocations: 0.7229 MB / 0.5563 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008153/0.6934, allocations: 4.684 MB / 0.5608 GB, free: 2.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.6934, allocations: 0 / 0.5608 GB, free: 2.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6934, allocations: 0 / 0.5608 GB, free: 2.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002332/0.6937, allocations: 0 / 0.5608 GB, free: 2.16 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01225/0.706, allocations: 3.551 MB / 0.5643 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.706, allocations: 8.031 kB / 0.5643 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/0.7203, allocations: 2.499 MB / 0.5667 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006876/0.7272, allocations: 2.32 MB / 0.569 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.7275, allocations: 196.1 kB / 0.5692 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/0.7291, allocations: 271.6 kB / 0.5695 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.7499, allocations: 8.597 MB / 0.5778 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003374/0.7503, allocations: 43.14 kB / 0.5779 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001567/0.7519, allocations: 129.4 kB / 0.578 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003358/0.7552, allocations: 1.737 MB / 0.5797 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.7734, allocations: 7.29 MB / 0.5868 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05608/0.8295, allocations: 34.18 MB / 0.6202 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009088/0.8387, allocations: 3.529 MB / 0.6236 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/0.8417, allocations: 1.711 MB / 0.6253 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01409/0.8558, allocations: 7.516 MB / 0.6327 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.8559, allocations: 57.19 kB / 0.6327 GB, free: 10.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 5.029e-06/0.8559, allocations: 0 / 0.6327 GB, free: 10.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.06866/0.9246, allocations: 19.99 MB / 0.6522 GB, free: 6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.9248, allocations: 201.2 kB / 0.6524 GB, free: 5.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009343/0.9342, allocations: 3.715 MB / 0.6561 GB, free: 2.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005668/0.9348, allocations: 53.7 kB / 0.6561 GB, free: 1.996 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003249/0.938, allocations: 2.811 MB / 0.6588 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/0.9395, allocations: 0.7134 MB / 0.6595 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008433/0.9404, allocations: 122.2 kB / 0.6597 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0007614/0.9412, allocations: 0.5542 MB / 0.6602 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004774/0.9459, allocations: 2.194 MB / 0.6623 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008989/0.955, allocations: 5.755 MB / 0.668 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006975/0.962, allocations: 3.467 MB / 0.6714 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000163/0.9622, allocations: 36 kB / 0.6714 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02428/0.9865, allocations: 9.185 MB / 0.6804 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.9868, allocations: 56 kB / 0.6804 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004594/0.9873, allocations: 128 kB / 0.6805 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006517/0.9938, allocations: 1.702 MB / 0.6822 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005564/0.9994, allocations: 1.329 MB / 0.6835 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/1.018, allocations: 9.316 MB / 0.6926 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00542/1.023, allocations: 315.5 kB / 0.6929 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/1.025, allocations: 364 kB / 0.6932 GB, free: 10.07 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (714): * Single equations (assignments): 710 * 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%) 43} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005638/1.03, allocations: 1.896 MB / 0.6951 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.031, allocations: 331.7 kB / 0.6954 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.043, allocations: 4.175 MB / 0.6995 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.689e-05/1.043, allocations: 23.95 kB / 0.6995 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.482e-05/1.043, allocations: 8 kB / 0.6995 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-05/1.043, allocations: 7.969 kB / 0.6995 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02233/1.065, allocations: 8.594 MB / 0.7079 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/1.065, allocations: 4 kB / 0.7079 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.067, allocations: 263.6 kB / 0.7082 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005363/1.072, allocations: 1.447 MB / 0.7096 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/1.073, allocations: 31.98 kB / 0.7096 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/1.088, allocations: 8.598 MB / 0.718 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/1.088, allocations: 4.031 kB / 0.718 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.383/1.471, allocations: 6.77 MB / 0.7246 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.472, allocations: 379.5 kB / 0.725 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/1.473, allocations: 26.91 kB / 0.725 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.474, allocations: 97.66 kB / 0.7251 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003912/1.474, allocations: 113.1 kB / 0.7252 GB, free: 193.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.475, allocations: 53.38 kB / 0.7253 GB, free: 193.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004825/1.479, allocations: 2.309 MB / 0.7275 GB, free: 192.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.432e-06/1.479, allocations: 0 / 0.7275 GB, free: 192.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006751/1.486, allocations: 0.9951 MB / 0.7285 GB, free: 192.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005293/1.487, allocations: 160.4 kB / 0.7286 GB, free: 192.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.498, allocations: 5.406 MB / 0.7339 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/1.498, allocations: 0 / 0.7339 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00313/1.501, allocations: 1.811 MB / 0.7357 GB, free: 189.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/1.504, allocations: 374.1 kB / 0.736 GB, free: 189.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/1.519, allocations: 10.4 MB / 0.7462 GB, free: 184.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003084/1.523, allocations: 2.952 MB / 0.7491 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.524, allocations: 272.5 kB / 0.7493 GB, free: 183.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.422e-06/1.524, allocations: 0 / 0.7493 GB, free: 183.5 MB / 0.545 GB Notification: Performance of Templates: time 0.09513/1.619, allocations: 68.64 MB / 0.8164 GB, free: 120 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMassesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMassesCalcHelperMain.o] Error 1