Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.0009259, allocations: 93.22 kB / 17.96 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 179.6 kB / 18.86 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.4 MB / 225 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000577/0.0005768, allocations: 12 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1404, allocations: 47.6 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.3773/0.5178, allocations: 71.43 MB / 401.1 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04982/0.5677, allocations: 14.63 MB / 415.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02329/0.591, allocations: 326.3 kB / 416 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003498/0.5945, allocations: 0.6292 MB / 416.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.6058, allocations: 2.613 MB / 419.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004027/0.6098, allocations: 1.357 MB / 420.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01785/0.6277, allocations: 11.45 MB / 432 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01251/0.6403, allocations: 7.112 MB / 439.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005638/0.6459, allocations: 2.088 MB / 441.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008961/0.6549, allocations: 3.703 MB / 445 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002017/0.657, allocations: 248 kB / 445.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004132/0.6611, allocations: 1.403 MB / 446.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003891/0.665, allocations: 3.043 MB / 449.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005046/0.6701, allocations: 3.3 MB / 452.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.6823, allocations: 8.538 MB / 461.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.6823, allocations: 3.938 kB / 461.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.6823, allocations: 0 / 461.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000431/0.6828, allocations: 0 / 461.5 MB, free: 14.28 MB / 366.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.01942/0.7022, allocations: 6.827 MB / 468.3 MB, free: 7.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.7023, allocations: 8.031 kB / 468.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0321/0.7344, allocations: 3.762 MB / 472.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.749, allocations: 5.491 MB / 477.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.7495, allocations: 369.8 kB / 477.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/0.752, allocations: 0.5134 MB / 478.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03699/0.789, allocations: 16.3 MB / 494.7 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002869/0.7894, allocations: 79.3 kB / 494.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007741/0.7902, allocations: 237.4 kB / 495.1 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004977/0.7952, allocations: 2.921 MB / 498 MB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03466/0.8298, allocations: 13.76 MB / 0.4997 GB, free: 11.19 MB / 414.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.4181/1.248, allocations: 64.84 MB / 0.5631 GB, free: 123 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02489/1.273, allocations: 7.974 MB / 0.5709 GB, free: 122.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008478/1.281, allocations: 4.341 MB / 0.5751 GB, free: 120.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04216/1.324, allocations: 19.38 MB / 0.594 GB, free: 109.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/1.324, allocations: 72.84 kB / 0.5941 GB, free: 109.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 1.004e-05/1.324, allocations: 1.875 kB / 0.5941 GB, free: 109.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.1758/1.5, allocations: 50.58 MB / 0.6435 GB, free: 60.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.5, allocations: 269.8 kB / 0.6437 GB, free: 60.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01186/1.512, allocations: 6.094 MB / 0.6497 GB, free: 54.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001209/1.513, allocations: 81.7 kB / 0.6498 GB, free: 54.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003789/1.517, allocations: 4.675 MB / 0.6543 GB, free: 49.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00241/1.519, allocations: 1.37 MB / 0.6557 GB, free: 48.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002451/1.522, allocations: 0.8223 MB / 0.6565 GB, free: 47.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.983e-05/1.522, allocations: 301.1 kB / 0.6568 GB, free: 47.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007155/1.529, allocations: 4.224 MB / 0.6609 GB, free: 42.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01155/1.541, allocations: 9.46 MB / 0.6701 GB, free: 31.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01978/1.56, allocations: 14.63 MB / 0.6844 GB, free: 13.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003032/1.561, allocations: 52 kB / 0.6845 GB, free: 13.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04245/1.603, allocations: 17.6 MB / 0.7017 GB, free: 12.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000339/1.604, allocations: 84 kB / 0.7017 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000561/1.604, allocations: 180 kB / 0.7019 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0173/1.622, allocations: 4.585 MB / 0.7064 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00924/1.631, allocations: 2.129 MB / 0.7085 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3263/1.957, allocations: 23.75 MB / 0.7317 GB, free: 151.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009416/1.967, allocations: 0.5323 MB / 0.7322 GB, free: 151.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002324/1.969, allocations: 0.5389 MB / 0.7327 GB, free: 151.2 MB / 462.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008937/1.978, allocations: 3.119 MB / 0.7358 GB, free: 150.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00203/1.98, allocations: 0.5653 MB / 0.7363 GB, free: 150.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02522/2.005, allocations: 10.76 MB / 0.7468 GB, free: 146.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-05/2.005, allocations: 38.89 kB / 0.7468 GB, free: 146.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.948e-05/2.006, allocations: 22.12 kB / 0.7469 GB, free: 146.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001163/2.006, allocations: 18.66 kB / 0.7469 GB, free: 146.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04741/2.053, allocations: 20.55 MB / 0.767 GB, free: 132.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-05/2.053, allocations: 4 kB / 0.767 GB, free: 132.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/2.056, allocations: 0.5458 MB / 0.7675 GB, free: 132.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01343/2.07, allocations: 4.226 MB / 0.7716 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/2.071, allocations: 67.83 kB / 0.7717 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02963/2.1, allocations: 21.56 MB / 0.7927 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.101, allocations: 0 / 0.7927 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02884/2.129, allocations: 15.67 MB / 0.808 GB, free: 90.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004139/2.134, allocations: 1.189 MB / 0.8092 GB, free: 89.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002384/2.136, allocations: 60.78 kB / 0.8093 GB, free: 89.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004776/2.141, allocations: 220.8 kB / 0.8095 GB, free: 89.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/2.142, allocations: 222.2 kB / 0.8097 GB, free: 89.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006795/2.143, allocations: 103.8 kB / 0.8098 GB, free: 88.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008104/2.151, allocations: 3.805 MB / 0.8135 GB, free: 85.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/2.151, allocations: 0 / 0.8135 GB, free: 85.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01212/2.163, allocations: 1.932 MB / 0.8154 GB, free: 83.21 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/2.165, allocations: 227.6 kB / 0.8156 GB, free: 82.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.018/2.183, allocations: 10.51 MB / 0.8259 GB, free: 72.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/2.183, allocations: 0 / 0.8259 GB, free: 72.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007303/2.19, allocations: 4.119 MB / 0.8299 GB, free: 68.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01077/2.201, allocations: 0.7349 MB / 0.8306 GB, free: 67.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04186/2.243, allocations: 20.33 MB / 0.8505 GB, free: 47.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009029/2.252, allocations: 4.848 MB / 0.8552 GB, free: 42.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002679/2.255, allocations: 443.4 kB / 0.8556 GB, free: 42.03 MB / 462.1 MB Notification: Performance of SimCode: time 1.543e-06/2.255, allocations: 0 / 0.8556 GB, free: 42.03 MB / 462.1 MB Notification: Performance of Templates: time 0.6135/2.868, allocations: 152.3 MB / 1.004 GB, free: 39.23 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.o] Error 1