Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0009599/0.0009597, allocations: 94.78 kB / 17.58 MB, free: 6.168 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.001167/0.001167, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.751/1.751, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0004578/0.0004578, allocations: 15.92 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1106, allocations: 47.58 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.04564/0.1563, allocations: 48.43 MB / 377.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3046/0.461, allocations: 10.63 MB / 388 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01315/0.4742, allocations: 231.2 kB / 388.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.4851, allocations: 2.51 MB / 390.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0257/0.5109, allocations: 7.603 MB / 398.4 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.5153, allocations: 0.8585 MB / 399.2 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04827/0.5636, allocations: 36.63 MB / 435.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008772/0.5725, allocations: 5.027 MB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/0.5771, allocations: 1.903 MB / 442.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007758/0.5849, allocations: 3.123 MB / 445.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002534/0.5875, allocations: 236 kB / 446.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.5926, allocations: 1.111 MB / 447.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003873/0.5965, allocations: 2.58 MB / 449.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.5983, allocations: 1.198 MB / 451 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00983/0.6082, allocations: 7.962 MB / 459 MB, free: 14.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.6082, allocations: 0 / 459 MB, free: 14.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6082, allocations: 0 / 459 MB, free: 14.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003767/0.6086, allocations: 0 / 459 MB, free: 14.69 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01537/0.624, allocations: 6.137 MB / 465.1 MB, free: 8.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.6241, allocations: 8.031 kB / 465.2 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/0.6394, allocations: 4.045 MB / 469.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.6498, allocations: 4.136 MB / 473.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003011/0.6501, allocations: 315.7 kB / 473.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002079/0.6522, allocations: 434.4 kB / 474.1 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02982/0.682, allocations: 15.7 MB / 489.8 MB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001842/0.6823, allocations: 67.41 kB / 489.8 MB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008042/0.6831, allocations: 209.7 kB / 490 MB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004754/0.6879, allocations: 3.22 MB / 493.3 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0275/0.7154, allocations: 14.08 MB / 0.4954 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.329/1.044, allocations: 57.75 MB / 0.5518 GB, free: 126.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/1.059, allocations: 6.552 MB / 0.5582 GB, free: 125.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005047/1.064, allocations: 3.669 MB / 0.5618 GB, free: 125.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02052/1.085, allocations: 14.65 MB / 0.5761 GB, free: 118.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/1.085, allocations: 74.47 kB / 0.5762 GB, free: 118.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 4.96e-06/1.085, allocations: 0 / 0.5762 GB, free: 118.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.1218/1.207, allocations: 42.62 MB / 0.6178 GB, free: 84.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/1.207, allocations: 217.3 kB / 0.618 GB, free: 84.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00738/1.214, allocations: 5.474 MB / 0.6234 GB, free: 78.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001067/1.215, allocations: 75.03 kB / 0.6235 GB, free: 78.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002428/1.218, allocations: 4.352 MB / 0.6277 GB, free: 74.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001661/1.22, allocations: 1.253 MB / 0.6289 GB, free: 73.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/1.22, allocations: 177.6 kB / 0.6291 GB, free: 73.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003428/1.22, allocations: 0.6944 MB / 0.6298 GB, free: 72.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005767/1.226, allocations: 4.769 MB / 0.6344 GB, free: 67.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007993/1.234, allocations: 9.779 MB / 0.644 GB, free: 55.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008378/1.243, allocations: 6.669 MB / 0.6505 GB, free: 48.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.99e-05/1.243, allocations: 49.41 kB / 0.6505 GB, free: 48.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.03681/1.28, allocations: 19.51 MB / 0.6696 GB, free: 29.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.28, allocations: 83.12 kB / 0.6697 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/1.28, allocations: 179.4 kB / 0.6698 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01911/1.299, allocations: 5.992 MB / 0.6757 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007553/1.307, allocations: 2.109 MB / 0.6778 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03113/1.338, allocations: 24.76 MB / 0.7019 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008736/1.347, allocations: 0.5626 MB / 0.7025 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002259/1.349, allocations: 0.5169 MB / 0.703 GB, free: 10.8 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.008813/1.358, allocations: 3.088 MB / 0.706 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001711/1.359, allocations: 0.5014 MB / 0.7065 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2721/1.632, allocations: 12.93 MB / 0.7191 GB, free: 160.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001461/1.632, allocations: 55.27 kB / 0.7192 GB, free: 160.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-05/1.632, allocations: 10.44 kB / 0.7192 GB, free: 160.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.492e-05/1.632, allocations: 13.69 kB / 0.7192 GB, free: 160.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04809/1.68, allocations: 24.63 MB / 0.7432 GB, free: 151.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.938e-05/1.68, allocations: 11.86 kB / 0.7432 GB, free: 151.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003082/1.683, allocations: 0.57 MB / 0.7438 GB, free: 151.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01609/1.699, allocations: 5.008 MB / 0.7487 GB, free: 148.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000753/1.7, allocations: 55.53 kB / 0.7488 GB, free: 148.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02237/1.722, allocations: 20 MB / 0.7683 GB, free: 132.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.722, allocations: 6.703 kB / 0.7683 GB, free: 132.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03258/1.755, allocations: 17.44 MB / 0.7853 GB, free: 115.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003774/1.759, allocations: 1.252 MB / 0.7865 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002198/1.761, allocations: 59.16 kB / 0.7866 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004047/1.765, allocations: 261.2 kB / 0.7868 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001089/1.766, allocations: 196 kB / 0.787 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006386/1.767, allocations: 94.45 kB / 0.7871 GB, free: 113.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007018/1.774, allocations: 3.387 MB / 0.7904 GB, free: 110.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.774, allocations: 4 kB / 0.7904 GB, free: 110.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01031/1.784, allocations: 1.76 MB / 0.7921 GB, free: 108.6 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.001173/1.786, allocations: 214.4 kB / 0.7924 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01689/1.802, allocations: 10.88 MB / 0.803 GB, free: 97.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.802, allocations: 2.938 kB / 0.803 GB, free: 97.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006088/1.809, allocations: 4.086 MB / 0.807 GB, free: 93.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006618/1.815, allocations: 0.5948 MB / 0.8076 GB, free: 92.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03363/1.849, allocations: 19.2 MB / 0.8263 GB, free: 73.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00678/1.856, allocations: 4.595 MB / 0.8308 GB, free: 69.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002165/1.858, allocations: 419.4 kB / 0.8312 GB, free: 68.77 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/1.858, allocations: 0 / 0.8312 GB, free: 68.77 MB / 462.1 MB Notification: Performance of Templates: time 0.4207/2.279, allocations: 148.9 MB / 0.9766 GB, free: 71.03 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2CalcHelperMain.o] Error 1