Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008551/0.0008552, allocations: 91.23 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.001051/0.001051, allocations: 197.1 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.581/1.581, 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.2719/0.2719, allocations: 45.9 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 11.98 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1537, allocations: 63.47 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.4266/0.5803, allocations: 66.41 MB / 0.5357 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04747/0.6279, allocations: 14.03 MB / 0.5494 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02269/0.6506, allocations: 322.9 kB / 0.5497 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.015/0.6656, allocations: 3.41 MB / 0.553 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04125/0.7069, allocations: 10.19 MB / 0.563 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006928/0.7139, allocations: 1.287 MB / 0.5642 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.09499/0.8089, allocations: 64.73 MB / 0.6274 GB, free: 3.363 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0136/0.8226, allocations: 6.372 MB / 0.6337 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006901/0.8295, allocations: 2.25 MB / 0.6359 GB, free: 10.67 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007565/0.8371, allocations: 3.677 MB / 0.6394 GB, free: 6.984 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00191/0.8391, allocations: 248 kB / 0.6397 GB, free: 6.742 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.8438, allocations: 1.182 MB / 0.6408 GB, free: 5.559 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005067/0.8489, allocations: 2.984 MB / 0.6438 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003019/0.8519, allocations: 1.306 MB / 0.645 GB, free: 1.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.8655, allocations: 8.526 MB / 0.6534 GB, free: 8.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.537e-05/0.8656, allocations: 0 / 0.6534 GB, free: 8.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.8656, allocations: 3.844 kB / 0.6534 GB, free: 8.699 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005122/0.8662, allocations: 4 kB / 0.6534 GB, free: 8.695 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01973/0.8859, allocations: 6.916 MB / 0.6601 GB, free: 1.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.886, allocations: 12.03 kB / 0.6601 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02539/0.9114, allocations: 3.758 MB / 0.6638 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/0.9279, allocations: 5.091 MB / 0.6688 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005035/0.9285, allocations: 369.5 kB / 0.6691 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00262/0.9311, allocations: 0.5073 MB / 0.6696 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/0.967, allocations: 16.28 MB / 0.6855 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003036/0.9674, allocations: 75.31 kB / 0.6856 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007946/0.9682, allocations: 243.7 kB / 0.6858 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004776/0.973, allocations: 2.919 MB / 0.6887 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/1.004, allocations: 13.72 MB / 0.7021 GB, free: 5.531 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.416/1.42, allocations: 64.79 MB / 0.7653 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/1.439, allocations: 7.971 MB / 0.7731 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005405/1.445, allocations: 4.334 MB / 0.7774 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02737/1.472, allocations: 19.45 MB / 0.7964 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/1.472, allocations: 60.5 kB / 0.7964 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=290): time 6.793e-06/1.472, allocations: 3.984 kB / 0.7964 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=372): time 0.1528/1.625, allocations: 50.52 MB / 0.8457 GB, free: 58.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/1.625, allocations: 277.8 kB / 0.846 GB, free: 58.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008967/1.634, allocations: 6.011 MB / 0.8519 GB, free: 52.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/1.636, allocations: 81.7 kB / 0.852 GB, free: 52.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003409/1.639, allocations: 4.665 MB / 0.8565 GB, free: 47.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002407/1.641, allocations: 1.374 MB / 0.8579 GB, free: 46.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005469/1.642, allocations: 196 kB / 0.858 GB, free: 45.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000536/1.643, allocations: 0.7073 MB / 0.8587 GB, free: 45.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006208/1.649, allocations: 4.2 MB / 0.8628 GB, free: 40.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007817/1.657, allocations: 9.43 MB / 0.872 GB, free: 28.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009275/1.666, allocations: 6.075 MB / 0.878 GB, free: 22.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001444/1.666, allocations: 52 kB / 0.878 GB, free: 22.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03881/1.705, allocations: 17.53 MB / 0.8952 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003016/1.705, allocations: 80 kB / 0.8952 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000369/1.706, allocations: 184 kB / 0.8954 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01404/1.72, allocations: 4.6 MB / 0.8999 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009024/1.729, allocations: 2.144 MB / 0.902 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4112/2.14, allocations: 23.72 MB / 0.9252 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008833/2.149, allocations: 0.5326 MB / 0.9257 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002415/2.151, allocations: 0.5395 MB / 0.9262 GB, free: 175.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1136): * Single equations (assignments): 1131 * 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%) 44,(2,100.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008341/2.16, allocations: 3.118 MB / 0.9293 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/2.161, allocations: 0.5626 MB / 0.9298 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02203/2.183, allocations: 10.74 MB / 0.9403 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.208e-05/2.183, allocations: 40.28 kB / 0.9403 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.878e-05/2.183, allocations: 20.41 kB / 0.9404 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-05/2.183, allocations: 19.27 kB / 0.9404 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03662/2.22, allocations: 20.55 MB / 0.9604 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/2.22, allocations: 0 / 0.9604 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002809/2.223, allocations: 0.5429 MB / 0.961 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01156/2.235, allocations: 4.221 MB / 0.9651 GB, free: 159.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007622/2.235, allocations: 63.98 kB / 0.9652 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/2.262, allocations: 21.52 MB / 0.9862 GB, free: 137.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/2.262, allocations: 4 kB / 0.9862 GB, free: 137.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0256/2.287, allocations: 15.67 MB / 1.001 GB, free: 122.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/2.289, allocations: 0.5992 MB / 1.002 GB, free: 121.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001811/2.291, allocations: 60.98 kB / 1.002 GB, free: 121.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003287/2.295, allocations: 227.7 kB / 1.002 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009054/2.296, allocations: 226.2 kB / 1.003 GB, free: 121.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/2.296, allocations: 96.62 kB / 1.003 GB, free: 121.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006131/2.302, allocations: 3.745 MB / 1.006 GB, free: 117.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/2.302, allocations: 0 / 1.006 GB, free: 117.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01114/2.313, allocations: 1.929 MB / 1.008 GB, free: 115.4 MB / 0.545 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 (272): * Single equations (assignments): 267 * 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%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009369/2.314, allocations: 210.6 kB / 1.008 GB, free: 115.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01609/2.33, allocations: 10.48 MB / 1.019 GB, free: 104.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/2.33, allocations: 0 / 1.019 GB, free: 104.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005818/2.336, allocations: 4.142 MB / 1.023 GB, free: 100.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005218/2.341, allocations: 0.741 MB / 1.023 GB, free: 99.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02968/2.371, allocations: 19.57 MB / 1.043 GB, free: 80.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004997/2.376, allocations: 4.827 MB / 1.047 GB, free: 75.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/2.378, allocations: 447.4 kB / 1.048 GB, free: 75.11 MB / 0.545 GB Notification: Performance of SimCode: time 1.813e-06/2.378, allocations: 0 / 1.048 GB, free: 75.11 MB / 0.545 GB Notification: Performance of Templates: time 0.5535/2.932, allocations: 152.4 MB / 1.196 GB, free: 121.2 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMassesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMassesCalcHelperMain.o] Error 1