Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0009984/0.0009983, allocations: 90.3 kB / 17.58 MB, free: 5.758 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.0008984/0.0008984, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.742/1.742, allocations: 205.4 MB / 224.6 MB, free: 13.09 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.0004928/0.0004928, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.3233/0.4462, allocations: 68.42 MB / 397.4 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03966/0.486, allocations: 14.3 MB / 411.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01898/0.505, allocations: 336.1 kB / 412 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01352/0.5186, allocations: 3.563 MB / 415.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03414/0.5528, allocations: 10.47 MB / 426.1 MB, free: 128 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006326/0.5591, allocations: 1.054 MB / 427.1 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.06998/0.6292, allocations: 51.72 MB / 478.9 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01324/0.6425, allocations: 6.625 MB / 485.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00589/0.6484, allocations: 2.032 MB / 487.5 MB, free: 8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006529/0.655, allocations: 3.17 MB / 490.7 MB, free: 4.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002018/0.657, allocations: 216 kB / 490.9 MB, free: 4.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/0.6616, allocations: 1.089 MB / 492 MB, free: 3.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004925/0.6665, allocations: 2.606 MB / 494.6 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003443/0.67, allocations: 1.217 MB / 495.8 MB, free: 15.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.6821, allocations: 7.953 MB / 0.4919 GB, free: 7.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.6821, allocations: 8 kB / 0.492 GB, free: 7.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.361e-06/0.6822, allocations: 0 / 0.492 GB, free: 7.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004032/0.6826, allocations: 3.938 kB / 0.492 GB, free: 7.695 MB / 398.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.01782/0.7004, allocations: 6.393 MB / 0.4982 GB, free: 1.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.7005, allocations: 8.031 kB / 0.4982 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01448/0.715, allocations: 3.248 MB / 0.5014 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.7268, allocations: 4.787 MB / 0.5061 GB, free: 9.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.7271, allocations: 336.7 kB / 0.5064 GB, free: 8.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/0.7284, allocations: 467.5 kB / 0.5068 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02751/0.756, allocations: 14.56 MB / 0.521 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002202/0.7562, allocations: 75.27 kB / 0.5211 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005705/0.7568, allocations: 211.8 kB / 0.5213 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004991/0.7618, allocations: 2.836 MB / 0.5241 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02765/0.7895, allocations: 13.2 MB / 0.537 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3249/1.114, allocations: 58.5 MB / 0.5941 GB, free: 126.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/1.129, allocations: 7.71 MB / 0.6016 GB, free: 121.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004722/1.134, allocations: 5.044 MB / 0.6066 GB, free: 116.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01522/1.149, allocations: 12.8 MB / 0.6191 GB, free: 104.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/1.149, allocations: 72.64 kB / 0.6191 GB, free: 104 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 5.411e-06/1.149, allocations: 0 / 0.6191 GB, free: 104 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 1.884/3.033, allocations: 407.3 MB / 1.017 GB, free: 38.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/3.034, allocations: 265.7 kB / 1.017 GB, free: 38.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006726/3.04, allocations: 5.459 MB / 1.022 GB, free: 32.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002059/3.042, allocations: 109.7 kB / 1.023 GB, free: 32.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002275/3.045, allocations: 3.942 MB / 1.026 GB, free: 28.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002987/3.048, allocations: 2.01 MB / 1.028 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009705/3.049, allocations: 195.8 kB / 1.029 GB, free: 26.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003719/3.049, allocations: 0.719 MB / 1.029 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2608/3.31, allocations: 11.02 MB / 1.04 GB, free: 146.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02066/3.33, allocations: 15.2 MB / 1.055 GB, free: 137.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01812/3.349, allocations: 12.89 MB / 1.067 GB, free: 131.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/3.349, allocations: 39.06 kB / 1.067 GB, free: 131.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5865/3.935, allocations: 140.9 MB / 1.205 GB, free: 129.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/3.935, allocations: 73.64 kB / 1.205 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/3.936, allocations: 135.7 kB / 1.205 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07298/4.009, allocations: 34.8 MB / 1.239 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005029/4.014, allocations: 1.571 MB / 1.241 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5108/4.524, allocations: 190.5 MB / 1.427 GB, free: 87.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01326/4.538, allocations: 1.719 MB / 1.429 GB, free: 86.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00308/4.541, allocations: 0.5373 MB / 1.429 GB, free: 85.64 MB / 446.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.009689/4.551, allocations: 3.101 MB / 1.432 GB, free: 83.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002318/4.553, allocations: 0.5756 MB / 1.433 GB, free: 82.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.575/5.128, allocations: 136.6 MB / 1.566 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001252/5.128, allocations: 56 kB / 1.566 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002454/5.128, allocations: 67.94 kB / 1.566 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001632/5.129, allocations: 25.66 kB / 1.566 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6285/5.757, allocations: 206.1 MB / 1.767 GB, free: 93.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.959e-05/5.757, allocations: 4 kB / 1.767 GB, free: 93.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/5.759, allocations: 330.3 kB / 1.768 GB, free: 93.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0671/5.826, allocations: 33.91 MB / 1.801 GB, free: 63.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002029/5.828, allocations: 99.98 kB / 1.801 GB, free: 63.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4731/6.301, allocations: 173.4 MB / 1.97 GB, free: 53.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/6.301, allocations: 7.844 kB / 1.97 GB, free: 53.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5779/6.879, allocations: 152.5 MB / 2.119 GB, free: 63.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006801/6.886, allocations: 3.009 MB / 2.122 GB, free: 60.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001912/6.888, allocations: 104 kB / 2.122 GB, free: 60.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007649/6.895, allocations: 1.485 MB / 2.124 GB, free: 58.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003248/6.899, allocations: 0.49 MB / 2.124 GB, free: 58.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008716/6.9, allocations: 144.8 kB / 2.124 GB, free: 58.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00531/6.905, allocations: 3.464 MB / 2.128 GB, free: 54.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/6.905, allocations: 0 / 2.128 GB, free: 54.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01539/6.92, allocations: 3.861 MB / 2.132 GB, free: 51.01 MB / 462.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.001416/6.922, allocations: 245.1 kB / 2.132 GB, free: 50.78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2827/7.204, allocations: 33.66 MB / 2.165 GB, free: 139.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/7.204, allocations: 2.906 kB / 2.165 GB, free: 139.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04408/7.249, allocations: 20.5 MB / 2.185 GB, free: 138.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008382/7.257, allocations: 0.7585 MB / 2.185 GB, free: 138.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04713/7.304, allocations: 30.29 MB / 2.215 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006189/7.31, allocations: 5.074 MB / 2.22 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/7.312, allocations: 358.3 kB / 2.22 GB, free: 124.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.913e-06/7.312, allocations: 0 / 2.22 GB, free: 124.2 MB / 462.1 MB Notification: Performance of Templates: time 0.5822/7.894, allocations: 255.1 MB / 2.469 GB, free: 19.52 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.o] Error 1