Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 88.81 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.001384/0.001384, 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.604/1.604, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002818, allocations: 8 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.3487/0.4776, allocations: 66.39 MB / 425.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04854/0.5262, allocations: 14.04 MB / 439.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02422/0.5505, allocations: 319.2 kB / 439.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01765/0.5682, allocations: 3.413 MB / 443 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04608/0.6143, allocations: 10.19 MB / 453.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0092/0.6236, allocations: 1.287 MB / 454.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.09915/0.7228, allocations: 64.71 MB / 0.507 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01716/0.74, allocations: 6.367 MB / 0.5132 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008564/0.7486, allocations: 2.246 MB / 0.5154 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.759, allocations: 3.673 MB / 0.519 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003707/0.7628, allocations: 248 kB / 0.5192 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006568/0.7694, allocations: 1.19 MB / 0.5204 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007702/0.7772, allocations: 2.984 MB / 0.5233 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00569/0.7829, allocations: 1.306 MB / 0.5246 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01758/0.8005, allocations: 8.53 MB / 0.5329 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.8006, allocations: 0 / 0.5329 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.422e-06/0.8007, allocations: 0 / 0.5329 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007981/0.8015, allocations: 0 / 0.5329 GB, free: 0.7227 MB / 446.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.311/1.113, allocations: 6.913 MB / 0.5396 GB, free: 153 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.113, allocations: 8.344 kB / 0.5397 GB, free: 153 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02646/1.139, allocations: 3.765 MB / 0.5433 GB, free: 152.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/1.153, allocations: 5.079 MB / 0.5483 GB, free: 149.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004317/1.154, allocations: 370.7 kB / 0.5486 GB, free: 149.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/1.156, allocations: 0.514 MB / 0.5491 GB, free: 149.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03497/1.191, allocations: 16.29 MB / 0.565 GB, free: 136 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003181/1.192, allocations: 84 kB / 0.5651 GB, free: 135.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/1.193, allocations: 238.5 kB / 0.5654 GB, free: 135.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003991/1.197, allocations: 2.921 MB / 0.5682 GB, free: 132.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02977/1.227, allocations: 13.73 MB / 0.5816 GB, free: 119.1 MB / 446.1 MB 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.08776/1.314, allocations: 64.79 MB / 0.6449 GB, free: 52.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/1.334, allocations: 7.978 MB / 0.6527 GB, free: 44.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004989/1.339, allocations: 4.33 MB / 0.6569 GB, free: 40.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02492/1.364, allocations: 19.45 MB / 0.6759 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/1.364, allocations: 68.5 kB / 0.676 GB, free: 20.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 5.29e-06/1.364, allocations: 0 / 0.676 GB, free: 20.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.4161/1.78, allocations: 50.51 MB / 0.7253 GB, free: 132.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/1.78, allocations: 271.8 kB / 0.7255 GB, free: 131.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009157/1.79, allocations: 6.02 MB / 0.7314 GB, free: 127.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001188/1.791, allocations: 81.7 kB / 0.7315 GB, free: 127.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003442/1.794, allocations: 4.661 MB / 0.7361 GB, free: 122.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002331/1.797, allocations: 1.375 MB / 0.7374 GB, free: 121.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005536/1.797, allocations: 192 kB / 0.7376 GB, free: 121.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004005/1.798, allocations: 0.7112 MB / 0.7383 GB, free: 120.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005417/1.803, allocations: 4.196 MB / 0.7424 GB, free: 116.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007923/1.811, allocations: 9.434 MB / 0.7516 GB, free: 104.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008392/1.819, allocations: 6.084 MB / 0.7575 GB, free: 98.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.97e-05/1.819, allocations: 52 kB / 0.7576 GB, free: 98.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03417/1.854, allocations: 17.53 MB / 0.7747 GB, free: 80.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/1.854, allocations: 87.03 kB / 0.7748 GB, free: 80.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003136/1.854, allocations: 188 kB / 0.775 GB, free: 80.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01396/1.868, allocations: 4.601 MB / 0.7795 GB, free: 75.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008352/1.877, allocations: 2.137 MB / 0.7815 GB, free: 73.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03253/1.909, allocations: 23.72 MB / 0.8047 GB, free: 49.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009131/1.918, allocations: 0.5306 MB / 0.8052 GB, free: 49.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002214/1.921, allocations: 0.55 MB / 0.8058 GB, free: 48.77 MB / 446.1 MB 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.007605/1.928, allocations: 3.123 MB / 0.8088 GB, free: 45.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001895/1.93, allocations: 0.567 MB / 0.8094 GB, free: 45.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02008/1.95, allocations: 10.74 MB / 0.8199 GB, free: 34.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.616e-05/1.95, allocations: 45.12 kB / 0.8199 GB, free: 34.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-05/1.95, allocations: 20 kB / 0.8199 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.591e-05/1.95, allocations: 19.92 kB / 0.8199 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03756/1.988, allocations: 20.53 MB / 0.84 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-05/1.988, allocations: 0 / 0.84 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002859/1.991, allocations: 0.5421 MB / 0.8405 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01193/2.003, allocations: 4.217 MB / 0.8446 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/2.004, allocations: 67.73 kB / 0.8447 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3341/2.338, allocations: 21.53 MB / 0.8657 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.338, allocations: 1.375 kB / 0.8657 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03151/2.37, allocations: 15.67 MB / 0.881 GB, free: 134.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/2.372, allocations: 0.593 MB / 0.8816 GB, free: 134.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/2.374, allocations: 64.78 kB / 0.8817 GB, free: 134.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003945/2.378, allocations: 222.8 kB / 0.8819 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/2.379, allocations: 225.1 kB / 0.8821 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003324/2.379, allocations: 97.67 kB / 0.8822 GB, free: 134.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007532/2.387, allocations: 3.738 MB / 0.8858 GB, free: 132.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/2.387, allocations: 3.938 kB / 0.8858 GB, free: 132.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01067/2.398, allocations: 1.935 MB / 0.8877 GB, free: 132.6 MB / 462.1 MB 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.0009499/2.399, allocations: 210.4 kB / 0.8879 GB, free: 132.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01678/2.416, allocations: 10.48 MB / 0.8982 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/2.416, allocations: 0 / 0.8982 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006783/2.422, allocations: 4.13 MB / 0.9022 GB, free: 124.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007662/2.43, allocations: 0.7442 MB / 0.9029 GB, free: 124 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03773/2.468, allocations: 19.57 MB / 0.922 GB, free: 105.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006725/2.475, allocations: 4.834 MB / 0.9268 GB, free: 100.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002358/2.477, allocations: 447.4 kB / 0.9272 GB, free: 99.98 MB / 462.1 MB Notification: Performance of SimCode: time 2.004e-06/2.477, allocations: 0 / 0.9272 GB, free: 99.98 MB / 462.1 MB Notification: Performance of Templates: time 0.5208/2.998, allocations: 152.4 MB / 1.076 GB, free: 128.5 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.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 OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.o] Error 1