Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009271/0.0009272, allocations: 88.03 kB / 17.63 MB, free: 6.133 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.0009137/0.0009137, allocations: 184.1 kB / 18.52 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.3 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2779/0.2779, allocations: 44.22 MB / 337.9 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 8 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1449, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.4252/0.5702, allocations: 66.38 MB / 0.5259 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04443/0.6147, allocations: 13.99 MB / 0.5396 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01959/0.6343, allocations: 327.6 kB / 0.5399 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01426/0.6486, allocations: 3.409 MB / 0.5433 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03952/0.6882, allocations: 10.21 MB / 0.5532 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007092/0.6953, allocations: 1.283 MB / 0.5545 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.09105/0.7864, allocations: 64.48 MB / 0.6174 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01229/0.7987, allocations: 6.376 MB / 0.6237 GB, free: 9.434 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005742/0.8045, allocations: 2.246 MB / 0.6259 GB, free: 7.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00713/0.8117, allocations: 3.65 MB / 0.6294 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002126/0.8139, allocations: 248 kB / 0.6297 GB, free: 3.277 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.8185, allocations: 1.202 MB / 0.6308 GB, free: 2.074 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005045/0.8236, allocations: 2.981 MB / 0.6337 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002963/0.8266, allocations: 1.306 MB / 0.635 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.8384, allocations: 8.51 MB / 0.6433 GB, free: 5.238 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8384, allocations: 0 / 0.6433 GB, free: 5.238 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.8385, allocations: 3.938 kB / 0.6433 GB, free: 5.234 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004013/0.8389, allocations: 0 / 0.6433 GB, free: 5.234 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.01814/0.857, allocations: 6.892 MB / 0.6501 GB, free: 14.26 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.8571, allocations: 12.03 kB / 0.6501 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02496/0.882, allocations: 3.762 MB / 0.6537 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/0.8963, allocations: 5.173 MB / 0.6588 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/0.8968, allocations: 377.4 kB / 0.6592 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002935/0.8997, allocations: 0.515 MB / 0.6597 GB, free: 4.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03471/0.9345, allocations: 16.25 MB / 0.6755 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003007/0.9348, allocations: 83.2 kB / 0.6756 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/0.9359, allocations: 235.8 kB / 0.6758 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004793/0.9407, allocations: 2.915 MB / 0.6787 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03198/0.9727, allocations: 13.69 MB / 0.6921 GB, free: 2.059 MB / 0.5137 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.4582/1.431, allocations: 64.7 MB / 0.7552 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02165/1.453, allocations: 7.919 MB / 0.763 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006152/1.459, allocations: 4.27 MB / 0.7671 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02838/1.487, allocations: 19.27 MB / 0.786 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/1.487, allocations: 68.03 kB / 0.786 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 5.64e-06/1.487, allocations: 0 / 0.786 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=366): time 0.1711/1.659, allocations: 52.47 MB / 0.8373 GB, free: 75.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/1.659, allocations: 273.8 kB / 0.8375 GB, free: 75.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/1.671, allocations: 6.008 MB / 0.8434 GB, free: 69.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001217/1.673, allocations: 81.7 kB / 0.8435 GB, free: 69.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003678/1.676, allocations: 4.677 MB / 0.848 GB, free: 64.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002488/1.679, allocations: 1.346 MB / 0.8494 GB, free: 63.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/1.68, allocations: 197 kB / 0.8495 GB, free: 63.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0008143/1.681, allocations: 0.7149 MB / 0.8502 GB, free: 62.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007285/1.688, allocations: 4.161 MB / 0.8543 GB, free: 58.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009937/1.698, allocations: 9.386 MB / 0.8635 GB, free: 46.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009014/1.707, allocations: 6.051 MB / 0.8694 GB, free: 40.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/1.708, allocations: 52 kB / 0.8694 GB, free: 40.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.03406/1.742, allocations: 17.5 MB / 0.8865 GB, free: 22.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003696/1.742, allocations: 84 kB / 0.8866 GB, free: 22.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004871/1.743, allocations: 180 kB / 0.8868 GB, free: 22.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/1.758, allocations: 4.674 MB / 0.8913 GB, free: 17.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009745/1.768, allocations: 2.121 MB / 0.8934 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3886/2.156, allocations: 23.7 MB / 0.9166 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01117/2.168, allocations: 0.5257 MB / 0.9171 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003354/2.171, allocations: 0.5377 MB / 0.9176 GB, free: 167.9 MB / 0.5294 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 (1130): * Single equations (assignments): 1125 * 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,(3,88.9%) 49} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0128/2.184, allocations: 3.115 MB / 0.9206 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002419/2.186, allocations: 0.567 MB / 0.9212 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02473/2.211, allocations: 10.72 MB / 0.9317 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.593e-05/2.211, allocations: 35.38 kB / 0.9317 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.562e-05/2.211, allocations: 19.81 kB / 0.9317 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.336e-05/2.211, allocations: 15.19 kB / 0.9317 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0428/2.254, allocations: 20.49 MB / 0.9517 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.719e-05/2.254, allocations: 1.969 kB / 0.9517 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/2.257, allocations: 0.527 MB / 0.9522 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/2.27, allocations: 4.271 MB / 0.9564 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008024/2.27, allocations: 64.61 kB / 0.9565 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02712/2.298, allocations: 21.54 MB / 0.9775 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/2.298, allocations: 4.812 kB / 0.9775 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02659/2.324, allocations: 15.57 MB / 0.9927 GB, free: 114.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/2.327, allocations: 0.5989 MB / 0.9933 GB, free: 114 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/2.329, allocations: 56 kB / 0.9934 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003847/2.333, allocations: 228.4 kB / 0.9936 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008996/2.334, allocations: 226.1 kB / 0.9938 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/2.334, allocations: 101.8 kB / 0.9939 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005889/2.34, allocations: 3.74 MB / 0.9975 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/2.34, allocations: 0 / 0.9975 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01099/2.351, allocations: 1.919 MB / 0.9994 GB, free: 107.8 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 (266): * Single equations (assignments): 261 * 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.001125/2.352, allocations: 223 kB / 0.9996 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01669/2.369, allocations: 10.4 MB / 1.01 GB, free: 97.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/2.369, allocations: 4 kB / 1.01 GB, free: 97.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005824/2.375, allocations: 4.08 MB / 1.014 GB, free: 93.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005104/2.38, allocations: 0.7373 MB / 1.014 GB, free: 92.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03125/2.411, allocations: 19.5 MB / 1.034 GB, free: 72.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005966/2.417, allocations: 4.823 MB / 1.038 GB, free: 68.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/2.419, allocations: 443.4 kB / 1.039 GB, free: 67.68 MB / 0.5294 GB Notification: Performance of SimCode: time 1.633e-06/2.419, allocations: 0 / 1.039 GB, free: 67.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.571/2.99, allocations: 152.3 MB / 1.187 GB, free: 125.3 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2CalcHelperMain.o] Error 1