Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008481/0.0008482, allocations: 93.55 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009034/0.0009034, allocations: 201.6 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2535/0.2535, allocations: 45.93 MB / 344.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002853, allocations: 11.98 kB / 418.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 63.46 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3994/0.5643, allocations: 57.97 MB / 0.5274 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03849/0.6029, allocations: 12.47 MB / 0.5396 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01741/0.6203, allocations: 283.6 kB / 0.5399 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0152/0.6356, allocations: 2.98 MB / 0.5428 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03282/0.6684, allocations: 8.841 MB / 0.5514 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00602/0.6745, allocations: 1.011 MB / 0.5524 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08639/0.7609, allocations: 62.57 MB / 0.6135 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01117/0.7721, allocations: 5.55 MB / 0.6189 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005044/0.7772, allocations: 1.833 MB / 0.6207 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006329/0.7835, allocations: 2.843 MB / 0.6235 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001908/0.7855, allocations: 204 kB / 0.6237 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/0.79, allocations: 1.143 MB / 0.6248 GB, free: 6.043 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004938/0.795, allocations: 2.392 MB / 0.6271 GB, free: 3.645 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003243/0.7983, allocations: 1.092 MB / 0.6282 GB, free: 2.543 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.8127, allocations: 7.205 MB / 0.6352 GB, free: 11.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.8127, allocations: 4 kB / 0.6353 GB, free: 11.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.881e-06/0.8128, allocations: 4 kB / 0.6353 GB, free: 11.31 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005084/0.8133, allocations: 0 / 0.6353 GB, free: 11.31 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01807/0.8314, allocations: 5.673 MB / 0.6408 GB, free: 5.562 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.8314, allocations: 8.031 kB / 0.6408 GB, free: 5.555 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02308/0.8545, allocations: 3.382 MB / 0.6441 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.8672, allocations: 3.969 MB / 0.648 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004568/0.8677, allocations: 304 kB / 0.6483 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/0.8702, allocations: 427.5 kB / 0.6487 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03579/0.906, allocations: 13.83 MB / 0.6622 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003712/0.9064, allocations: 63.42 kB / 0.6622 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/0.9086, allocations: 195.8 kB / 0.6624 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004811/0.9134, allocations: 2.527 MB / 0.6649 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03166/0.9451, allocations: 11.8 MB / 0.6764 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4777/1.423, allocations: 53.72 MB / 0.7289 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/1.442, allocations: 5.941 MB / 0.7347 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007843/1.45, allocations: 3.576 MB / 0.7382 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02931/1.479, allocations: 15.53 MB / 0.7534 GB, free: 143 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.824e-05/1.48, allocations: 65.03 kB / 0.7534 GB, free: 143 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 4.338e-06/1.48, allocations: 0 / 0.7534 GB, free: 143 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.08529/1.565, allocations: 28.7 MB / 0.7814 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.565, allocations: 260.8 kB / 0.7817 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008871/1.574, allocations: 5.041 MB / 0.7866 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006737/1.575, allocations: 65.7 kB / 0.7867 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002538/1.577, allocations: 3.884 MB / 0.7905 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.579, allocations: 1.004 MB / 0.7914 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007782/1.579, allocations: 152 kB / 0.7916 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004767/1.58, allocations: 0.6285 MB / 0.7922 GB, free: 109 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00459/1.584, allocations: 2.986 MB / 0.7951 GB, free: 106 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006838/1.591, allocations: 7.32 MB / 0.8023 GB, free: 96.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006692/1.598, allocations: 4.538 MB / 0.8067 GB, free: 92.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000163/1.598, allocations: 44 kB / 0.8067 GB, free: 92.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02082/1.619, allocations: 11.14 MB / 0.8176 GB, free: 81.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/1.619, allocations: 72 kB / 0.8177 GB, free: 80.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002517/1.62, allocations: 148 kB / 0.8178 GB, free: 80.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/1.622, allocations: 1.241 MB / 0.819 GB, free: 79.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006078/1.628, allocations: 1.836 MB / 0.8208 GB, free: 77.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008005/1.636, allocations: 7.772 MB / 0.8284 GB, free: 69.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006223/1.643, allocations: 436.7 kB / 0.8288 GB, free: 69.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.644, allocations: 452 kB / 0.8293 GB, free: 68.85 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (954): * Single equations (assignments): 949 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005706/1.65, allocations: 2.637 MB / 0.8318 GB, free: 66.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/1.651, allocations: 466 kB / 0.8323 GB, free: 65.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00916/1.66, allocations: 5.227 MB / 0.8374 GB, free: 60.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/1.661, allocations: 28 kB / 0.8374 GB, free: 60.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/1.661, allocations: 4 kB / 0.8374 GB, free: 60.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/1.661, allocations: 11.95 kB / 0.8374 GB, free: 60.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02305/1.684, allocations: 11.75 MB / 0.8489 GB, free: 48.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/1.684, allocations: 7.938 kB / 0.8489 GB, free: 48.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/1.686, allocations: 0.5018 MB / 0.8494 GB, free: 48.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002331/1.688, allocations: 0.977 MB / 0.8504 GB, free: 47.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002978/1.689, allocations: 51.98 kB / 0.8504 GB, free: 47.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006972/1.696, allocations: 7.109 MB / 0.8574 GB, free: 39.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.696, allocations: 8.062 kB / 0.8574 GB, free: 39.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/1.707, allocations: 8.718 MB / 0.8659 GB, free: 30.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/1.709, allocations: 0.499 MB / 0.8664 GB, free: 30.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/1.71, allocations: 43.95 kB / 0.8664 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/1.713, allocations: 188.6 kB / 0.8666 GB, free: 30.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/1.714, allocations: 145.7 kB / 0.8667 GB, free: 30.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/1.714, allocations: 72.69 kB / 0.8668 GB, free: 30.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00557/1.719, allocations: 3.134 MB / 0.8699 GB, free: 26.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.719, allocations: 0 / 0.8699 GB, free: 26.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0078/1.727, allocations: 1.367 MB / 0.8712 GB, free: 25.54 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008574/1.728, allocations: 191.5 kB / 0.8714 GB, free: 25.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01388/1.742, allocations: 7.279 MB / 0.8785 GB, free: 18.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.742, allocations: 0 / 0.8785 GB, free: 18.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004328/1.746, allocations: 2.555 MB / 0.881 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005745/1.752, allocations: 0.5707 MB / 0.8815 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/1.781, allocations: 15.51 MB / 0.8967 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008089/1.789, allocations: 4.082 MB / 0.9007 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00215/1.791, allocations: 375.4 kB / 0.901 GB, free: 10.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.973e-06/1.791, allocations: 4 kB / 0.901 GB, free: 10.89 MB / 0.545 GB Notification: Performance of Templates: time 0.4995/2.291, allocations: 123.8 MB / 1.022 GB, free: 94.13 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMassCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMassCalcHelperMain.o] Error 1