Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008905/0.0008901, allocations: 90.38 kB / 16.95 MB, free: 5.676 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.001104/0.001104, allocations: 188.7 kB / 17.85 MB, free: 5.32 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.605/1.605, allocations: 223.2 MB / 241.9 MB, free: 364 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 8 kB / 301.5 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1506, allocations: 50.42 MB / 351.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.3695/0.5202, allocations: 68.34 MB / 420.2 MB, free: 444 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04678/0.5671, allocations: 14.27 MB / 434.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01934/0.5865, allocations: 335.1 kB / 434.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01386/0.6004, allocations: 3.565 MB / 438.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03496/0.6354, allocations: 10.45 MB / 448.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006055/0.6414, allocations: 0.9948 MB / 449.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1214/0.7629, allocations: 91.51 MB / 0.5287 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01103/0.774, allocations: 6.603 MB / 0.5351 GB, free: 436 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3463/1.12, allocations: 2 MB / 0.5371 GB, free: 91.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008558/1.129, allocations: 3.149 MB / 0.5401 GB, free: 91.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001958/1.131, allocations: 217.2 kB / 0.5403 GB, free: 91.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004703/1.136, allocations: 1.105 MB / 0.5414 GB, free: 91.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005424/1.141, allocations: 2.597 MB / 0.544 GB, free: 91.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003484/1.145, allocations: 1.213 MB / 0.5451 GB, free: 91.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/1.16, allocations: 7.935 MB / 0.5529 GB, free: 91.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.16, allocations: 3.812 kB / 0.5529 GB, free: 91.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.276e-06/1.16, allocations: 0 / 0.5529 GB, free: 91.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005159/1.16, allocations: 0 / 0.5529 GB, free: 91.08 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: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.02028/1.18, allocations: 6.372 MB / 0.5591 GB, free: 88.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/1.18, allocations: 8.656 kB / 0.5591 GB, free: 88.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/1.196, allocations: 3.241 MB / 0.5623 GB, free: 86.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/1.209, allocations: 4.626 MB / 0.5668 GB, free: 85.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004306/1.21, allocations: 342.9 kB / 0.5671 GB, free: 85.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002871/1.213, allocations: 471.8 kB / 0.5676 GB, free: 85.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/1.246, allocations: 14.56 MB / 0.5818 GB, free: 76.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005807/1.247, allocations: 72.27 kB / 0.5819 GB, free: 76.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002787/1.25, allocations: 214.8 kB / 0.5821 GB, free: 76.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005144/1.255, allocations: 2.836 MB / 0.5848 GB, free: 74.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02917/1.284, allocations: 13.18 MB / 0.5977 GB, free: 64.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08174/1.366, allocations: 58.48 MB / 0.6548 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01658/1.383, allocations: 7.729 MB / 0.6624 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006345/1.389, allocations: 5.038 MB / 0.6673 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02731/1.416, allocations: 12.81 MB / 0.6798 GB, free: 2.879 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.944e-05/1.416, allocations: 71.23 kB / 0.6799 GB, free: 2.801 MB / 462.1 MB Notification: Performance of pre-optimization done (n=326): time 8.766e-06/1.417, allocations: 0 / 0.6799 GB, free: 2.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=572): time 2.102/3.518, allocations: 407.2 MB / 1.078 GB, free: 40.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/3.518, allocations: 273.6 kB / 1.078 GB, free: 40.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/3.529, allocations: 5.419 MB / 1.083 GB, free: 34.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002817/3.532, allocations: 113.7 kB / 1.083 GB, free: 34.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003466/3.536, allocations: 3.935 MB / 1.087 GB, free: 30.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004198/3.54, allocations: 2.013 MB / 1.089 GB, free: 28.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002559/3.542, allocations: 193.4 kB / 1.089 GB, free: 28.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0008227/3.543, allocations: 0.719 MB / 1.09 GB, free: 27.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3356/3.879, allocations: 11.02 MB / 1.101 GB, free: 172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0237/3.903, allocations: 15.21 MB / 1.115 GB, free: 162.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01991/3.923, allocations: 12.88 MB / 1.128 GB, free: 156.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/3.923, allocations: 44 kB / 1.128 GB, free: 156.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.3267/4.25, allocations: 140.9 MB / 1.266 GB, free: 38.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002877/4.25, allocations: 64.94 kB / 1.266 GB, free: 37.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003635/4.25, allocations: 136 kB / 1.266 GB, free: 37.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3883/4.639, allocations: 34.8 MB / 1.3 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005422/4.644, allocations: 1.57 MB / 1.301 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5891/5.233, allocations: 190.5 MB / 1.487 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01557/5.249, allocations: 1.719 MB / 1.489 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003989/5.253, allocations: 0.5401 MB / 1.49 GB, free: 142.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (840): * Single equations (assignments): 833 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(20,40.5%) 164,(17,42.9%) 101,(2,100.0%) 7} * Non-linear torn systems: 1 {12 76} Notification: Performance of prepare postOptimizeDAE: time 0.01121/5.264, allocations: 3.09 MB / 1.493 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002541/5.267, allocations: 0.5728 MB / 1.493 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2973/5.564, allocations: 136.6 MB / 1.627 GB, free: 41.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001223/5.564, allocations: 56 kB / 1.627 GB, free: 41.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002307/5.564, allocations: 60 kB / 1.627 GB, free: 41.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001466/5.564, allocations: 27.62 kB / 1.627 GB, free: 41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6941/6.259, allocations: 206.1 MB / 1.828 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001559/6.259, allocations: 8 kB / 1.828 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/6.261, allocations: 327.5 kB / 1.828 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.4337/6.694, allocations: 33.9 MB / 1.861 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00287/6.697, allocations: 103.5 kB / 1.862 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6043/7.302, allocations: 173.4 MB / 2.031 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.397e-05/7.302, allocations: 9.969 kB / 2.031 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3109/7.613, allocations: 152.4 MB / 2.18 GB, free: 38.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002543/7.615, allocations: 0.6296 MB / 2.18 GB, free: 38.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003796/7.619, allocations: 105.3 kB / 2.181 GB, free: 38.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009944/7.629, allocations: 1.486 MB / 2.182 GB, free: 36.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004417/7.633, allocations: 0.4944 MB / 2.182 GB, free: 36.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001278/7.635, allocations: 140 kB / 2.183 GB, free: 36.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006528/7.641, allocations: 3.436 MB / 2.186 GB, free: 32.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.122e-06/7.641, allocations: 3.75 kB / 2.186 GB, free: 32.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.3287/7.97, allocations: 3.852 MB / 2.19 GB, free: 144.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (j1.phi,j1.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 (165): * Single equations (assignments): 158 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(20,40.5%) 157,(16,51.6%) 99,(2,100.0%) 7} * Non-linear torn systems: 1 {12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.002276/7.972, allocations: 249.3 kB / 2.19 GB, free: 144.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.06831/8.041, allocations: 33.65 MB / 2.223 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/8.041, allocations: 0 / 2.223 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04078/8.081, allocations: 20.51 MB / 2.243 GB, free: 137.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01163/8.093, allocations: 0.7538 MB / 2.244 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05642/8.15, allocations: 30.26 MB / 2.273 GB, free: 112.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0152/8.165, allocations: 5.058 MB / 2.278 GB, free: 108.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/8.167, allocations: 351.1 kB / 2.278 GB, free: 107.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.643e-06/8.167, allocations: 0 / 2.278 GB, free: 107.9 MB / 494.1 MB Notification: Performance of Templates: time 0.6934/8.86, allocations: 254.8 MB / 2.527 GB, free: 12.43 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.o] Error 1