Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009885/0.0009886, allocations: 91.28 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.001241/0.001241, allocations: 185.4 kB / 17.85 MB, free: 5.316 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.531/1.531, allocations: 223.2 MB / 241.8 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.000299, allocations: 4 kB / 301.4 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1513, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.3658/0.5172, allocations: 48.39 MB / 400.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03544/0.5527, allocations: 10.63 MB / 410.9 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01496/0.5677, allocations: 227.6 kB / 411.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.5793, allocations: 2.509 MB / 413.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02716/0.6065, allocations: 7.592 MB / 421.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004999/0.6115, allocations: 0.862 MB / 422.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.08556/0.6971, allocations: 62.84 MB / 484.9 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/0.7075, allocations: 5.022 MB / 489.9 MB, free: 10.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00577/0.7133, allocations: 1.88 MB / 491.8 MB, free: 8.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006022/0.7194, allocations: 3.112 MB / 494.9 MB, free: 5.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001493/0.7209, allocations: 236 kB / 495.2 MB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.7242, allocations: 1.135 MB / 496.3 MB, free: 3.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003372/0.7276, allocations: 2.571 MB / 498.9 MB, free: 1.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002181/0.7298, allocations: 1.189 MB / 0.4883 GB, free: 184 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.7424, allocations: 7.953 MB / 0.4961 GB, free: 8.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.7425, allocations: 0 / 0.4961 GB, free: 8.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7425, allocations: 4 kB / 0.4961 GB, free: 8.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004065/0.7429, allocations: 0 / 0.4961 GB, free: 8.203 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.0183/0.7612, allocations: 6.125 MB / 0.5021 GB, free: 1.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/0.7613, allocations: 8.031 kB / 0.5021 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/0.778, allocations: 4.039 MB / 0.5061 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.7888, allocations: 4.025 MB / 0.51 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.7892, allocations: 324 kB / 0.5103 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/0.7915, allocations: 431.6 kB / 0.5107 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03229/0.8238, allocations: 15.71 MB / 0.526 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/0.8241, allocations: 59.47 kB / 0.5261 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008006/0.8249, allocations: 207.8 kB / 0.5263 GB, free: 8.207 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005074/0.8299, allocations: 3.216 MB / 0.5294 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3258/1.156, allocations: 14.08 MB / 0.5432 GB, free: 146.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07323/1.229, allocations: 57.77 MB / 0.5996 GB, free: 100.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/1.241, allocations: 6.552 MB / 0.606 GB, free: 93.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004323/1.246, allocations: 3.668 MB / 0.6096 GB, free: 89.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02051/1.266, allocations: 14.66 MB / 0.6239 GB, free: 74.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/1.266, allocations: 64.48 kB / 0.624 GB, free: 74.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 5.51e-06/1.266, allocations: 0 / 0.624 GB, free: 74.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.1241/1.39, allocations: 42.58 MB / 0.6655 GB, free: 31.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.39, allocations: 217.9 kB / 0.6658 GB, free: 31.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007203/1.398, allocations: 5.439 MB / 0.6711 GB, free: 26.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009633/1.399, allocations: 70.88 kB / 0.6711 GB, free: 26.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002496/1.401, allocations: 4.363 MB / 0.6754 GB, free: 21.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001743/1.403, allocations: 1.257 MB / 0.6766 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00047/1.403, allocations: 178.1 kB / 0.6768 GB, free: 20.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003841/1.404, allocations: 0.6904 MB / 0.6775 GB, free: 19.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005895/1.41, allocations: 4.773 MB / 0.6821 GB, free: 14.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008609/1.418, allocations: 9.767 MB / 0.6917 GB, free: 2.754 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009905/1.428, allocations: 6.667 MB / 0.6982 GB, free: 12.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/1.428, allocations: 48 kB / 0.6982 GB, free: 12.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.3631/1.792, allocations: 19.5 MB / 0.7173 GB, free: 144.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/1.792, allocations: 81.31 kB / 0.7173 GB, free: 144.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003819/1.792, allocations: 174 kB / 0.7175 GB, free: 144.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02203/1.814, allocations: 5.993 MB / 0.7234 GB, free: 144.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00885/1.823, allocations: 2.115 MB / 0.7254 GB, free: 144.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03003/1.853, allocations: 24.76 MB / 0.7496 GB, free: 132.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008445/1.862, allocations: 0.5588 MB / 0.7502 GB, free: 132.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/1.863, allocations: 0.5104 MB / 0.7507 GB, free: 132.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1098): * Single equations (assignments): 1090 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005928/1.869, allocations: 3.096 MB / 0.7537 GB, free: 130.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/1.87, allocations: 496.5 kB / 0.7541 GB, free: 130.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0259/1.896, allocations: 12.93 MB / 0.7668 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.85e-05/1.896, allocations: 56.69 kB / 0.7668 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/1.896, allocations: 8 kB / 0.7668 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.208e-05/1.897, allocations: 19.75 kB / 0.7669 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04142/1.938, allocations: 24.62 MB / 0.7909 GB, free: 92.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.818e-05/1.938, allocations: 4 kB / 0.7909 GB, free: 92.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002987/1.941, allocations: 0.5811 MB / 0.7915 GB, free: 91.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01626/1.957, allocations: 4.996 MB / 0.7964 GB, free: 86.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008095/1.958, allocations: 61.23 kB / 0.7964 GB, free: 86.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/1.98, allocations: 20 MB / 0.8159 GB, free: 66.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.98, allocations: 4 kB / 0.8159 GB, free: 66.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03035/2.01, allocations: 17.44 MB / 0.833 GB, free: 49.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/2.012, allocations: 0.5461 MB / 0.8335 GB, free: 48.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/2.013, allocations: 58.73 kB / 0.8336 GB, free: 48.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/2.016, allocations: 264.8 kB / 0.8338 GB, free: 48.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006137/2.016, allocations: 194.2 kB / 0.834 GB, free: 48.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/2.017, allocations: 84.61 kB / 0.8341 GB, free: 48.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004887/2.022, allocations: 3.371 MB / 0.8374 GB, free: 44.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/2.022, allocations: 0 / 0.8374 GB, free: 44.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009459/2.031, allocations: 1.757 MB / 0.8391 GB, free: 43.08 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009385/2.032, allocations: 213 kB / 0.8393 GB, free: 42.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01603/2.048, allocations: 10.88 MB / 0.8499 GB, free: 32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/2.048, allocations: 0 / 0.8499 GB, free: 32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005782/2.054, allocations: 4.096 MB / 0.8539 GB, free: 27.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006047/2.06, allocations: 0.6036 MB / 0.8545 GB, free: 27.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03716/2.097, allocations: 19.18 MB / 0.8732 GB, free: 8.012 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2692/2.366, allocations: 4.592 MB / 0.8777 GB, free: 145.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002642/2.369, allocations: 413.1 kB / 0.8781 GB, free: 145.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/2.369, allocations: 0 / 0.8781 GB, free: 145.1 MB / 462.1 MB Notification: Performance of Templates: time 0.2381/2.607, allocations: 148.8 MB / 1.023 GB, free: 20.35 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.Fourbar2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2CalcHelperMain.o] Error 1