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.001537/0.001536, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.00144/0.00144, allocations: 197.9 kB / 18.73 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.844/1.844, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.00123/0.00123, allocations: 43.94 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 46.63 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.3679/0.4952, allocations: 73.22 MB / 400.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0545/0.5497, allocations: 14.69 MB / 415.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02868/0.5786, allocations: 327.2 kB / 415.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01285/0.5915, allocations: 4.349 MB / 419.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.6035, allocations: 2.616 MB / 422.5 MB, free: 364 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005298/0.6088, allocations: 1.348 MB / 423.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02029/0.6291, allocations: 11.44 MB / 435.2 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009809/0.639, allocations: 5.298 MB / 440.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006488/0.6455, allocations: 2.419 MB / 443 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008303/0.6539, allocations: 4.114 MB / 447.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003162/0.6571, allocations: 388 kB / 447.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006116/0.6632, allocations: 1.536 MB / 449 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006603/0.6699, allocations: 3.242 MB / 452.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01093/0.6808, allocations: 3.515 MB / 455.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01459/0.6955, allocations: 8.737 MB / 464.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.6955, allocations: 0 / 464.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6955, allocations: 4 kB / 464.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005545/0.6961, allocations: 0 / 464.5 MB, free: 10.5 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.03348/0.7296, allocations: 8.236 MB / 472.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.7297, allocations: 12.03 kB / 472.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0299/0.7596, allocations: 3.676 MB / 476.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01834/0.7779, allocations: 5.488 MB / 481.9 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005486/0.7785, allocations: 363.4 kB / 482.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003411/0.782, allocations: 0.5125 MB / 482.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03765/0.8197, allocations: 16.24 MB / 499 MB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002681/0.82, allocations: 79.22 kB / 499.1 MB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008692/0.8208, allocations: 244 kB / 499.3 MB, free: 6.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004987/0.8258, allocations: 2.922 MB / 0.4905 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03386/0.8597, allocations: 13.71 MB / 0.5039 GB, free: 6.312 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.3902/1.25, allocations: 64.83 MB / 0.5672 GB, free: 123.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02506/1.275, allocations: 7.874 MB / 0.5749 GB, free: 121.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00663/1.282, allocations: 4.345 MB / 0.5791 GB, free: 119.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02817/1.31, allocations: 19.37 MB / 0.598 GB, free: 108.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/1.31, allocations: 66.19 kB / 0.5981 GB, free: 108.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 6.232e-06/1.31, allocations: 0 / 0.5981 GB, free: 108.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.1682/1.478, allocations: 49.9 MB / 0.6468 GB, free: 60.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/1.479, allocations: 273.3 kB / 0.6471 GB, free: 60.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009075/1.488, allocations: 6.094 MB / 0.653 GB, free: 54.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001169/1.489, allocations: 81.7 kB / 0.6531 GB, free: 53.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003073/1.492, allocations: 4.671 MB / 0.6577 GB, free: 49.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002757/1.495, allocations: 1.37 MB / 0.659 GB, free: 47.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003949/1.499, allocations: 1.92 MB / 0.6609 GB, free: 46.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/1.499, allocations: 305.1 kB / 0.6612 GB, free: 45.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006394/1.505, allocations: 4.224 MB / 0.6653 GB, free: 41.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009657/1.515, allocations: 9.452 MB / 0.6745 GB, free: 29.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01913/1.534, allocations: 14.62 MB / 0.6888 GB, free: 12.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004171/1.535, allocations: 59.88 kB / 0.6889 GB, free: 12.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04826/1.583, allocations: 17.55 MB / 0.706 GB, free: 10.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000529/1.584, allocations: 84 kB / 0.7061 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005794/1.584, allocations: 180 kB / 0.7063 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01762/1.602, allocations: 4.551 MB / 0.7107 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008998/1.611, allocations: 2.129 MB / 0.7128 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.371/1.982, allocations: 23.65 MB / 0.7359 GB, free: 150.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01117/1.993, allocations: 0.5218 MB / 0.7364 GB, free: 150.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002446/1.996, allocations: 0.5452 MB / 0.7369 GB, free: 150.6 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.008814/2.005, allocations: 3.118 MB / 0.74 GB, free: 149.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001868/2.006, allocations: 0.5639 MB / 0.7405 GB, free: 149.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02233/2.029, allocations: 10.72 MB / 0.751 GB, free: 146.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.263e-05/2.029, allocations: 38.06 kB / 0.751 GB, free: 146.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.193e-05/2.029, allocations: 19.56 kB / 0.751 GB, free: 146.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.126e-05/2.029, allocations: 18.28 kB / 0.7511 GB, free: 146.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04421/2.073, allocations: 20.52 MB / 0.7711 GB, free: 131.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.463e-05/2.073, allocations: 0 / 0.7711 GB, free: 131.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/2.076, allocations: 0.5359 MB / 0.7716 GB, free: 131.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01305/2.089, allocations: 4.188 MB / 0.7757 GB, free: 126.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001057/2.091, allocations: 60 kB / 0.7758 GB, free: 126.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02859/2.119, allocations: 21.48 MB / 0.7967 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/2.119, allocations: 8.625 kB / 0.7967 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02726/2.147, allocations: 15.64 MB / 0.812 GB, free: 89.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004214/2.151, allocations: 1.177 MB / 0.8132 GB, free: 88.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/2.152, allocations: 62 kB / 0.8132 GB, free: 88.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/2.155, allocations: 215.7 kB / 0.8134 GB, free: 88.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009119/2.156, allocations: 230.1 kB / 0.8136 GB, free: 88.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002871/2.156, allocations: 101.3 kB / 0.8137 GB, free: 88.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005916/2.162, allocations: 3.801 MB / 0.8175 GB, free: 84.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/2.162, allocations: 0 / 0.8175 GB, free: 84.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01103/2.173, allocations: 1.928 MB / 0.8193 GB, free: 82.34 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.001024/2.174, allocations: 223.8 kB / 0.8195 GB, free: 82.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01806/2.192, allocations: 10.5 MB / 0.8298 GB, free: 71.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.192, allocations: 0 / 0.8298 GB, free: 71.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00724/2.199, allocations: 4.116 MB / 0.8338 GB, free: 67.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009691/2.209, allocations: 0.7319 MB / 0.8345 GB, free: 66.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04152/2.251, allocations: 20.24 MB / 0.8543 GB, free: 46.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006634/2.257, allocations: 4.844 MB / 0.859 GB, free: 41.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002497/2.26, allocations: 447.4 kB / 0.8595 GB, free: 41.29 MB / 462.1 MB Notification: Performance of SimCode: time 2.635e-06/2.26, allocations: 0 / 0.8595 GB, free: 41.29 MB / 462.1 MB Notification: Performance of Templates: time 0.5458/2.806, allocations: 153.6 MB / 1.009 GB, free: 38.24 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