Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.00129, allocations: 92.55 kB / 16.96 MB, free: 6.453 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.001924/0.001924, allocations: 183.3 kB / 17.85 MB, free: 6 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.582/1.582, allocations: 223.3 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002655, allocations: 4.656 kB / 301.5 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 50.42 MB / 351.9 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.336/0.4662, allocations: 50.23 MB / 402.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03324/0.4994, allocations: 11.3 MB / 413.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01556/0.5151, allocations: 246.4 kB / 413.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009917/0.525, allocations: 2.566 MB / 416.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02425/0.5493, allocations: 7.714 MB / 423.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004787/0.5541, allocations: 0.9096 MB / 424.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.07759/0.6317, allocations: 61.92 MB / 486.8 MB, free: 13.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/0.6433, allocations: 6.573 MB / 493.3 MB, free: 7.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/0.6475, allocations: 1.643 MB / 495 MB, free: 5.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004772/0.6523, allocations: 2.543 MB / 497.5 MB, free: 2.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.6538, allocations: 188 kB / 497.7 MB, free: 2.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003792/0.6576, allocations: 1.194 MB / 498.9 MB, free: 1.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00377/0.6614, allocations: 2.182 MB / 0.4893 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002415/0.6638, allocations: 1.038 MB / 0.4903 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.6739, allocations: 7.419 MB / 0.4976 GB, free: 6.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.6739, allocations: 4 kB / 0.4976 GB, free: 6.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6739, allocations: 0 / 0.4976 GB, free: 6.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003465/0.6743, allocations: 0 / 0.4976 GB, free: 6.844 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01294/0.6873, allocations: 4.995 MB / 0.5025 GB, free: 1.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6873, allocations: 8.031 kB / 0.5025 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.6982, allocations: 2.594 MB / 0.505 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00907/0.7073, allocations: 3.675 MB / 0.5086 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.7078, allocations: 307.9 kB / 0.5089 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/0.7102, allocations: 435.5 kB / 0.5093 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03142/0.7416, allocations: 12.41 MB / 0.5214 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000343/0.742, allocations: 55.58 kB / 0.5215 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001702/0.7437, allocations: 191.9 kB / 0.5217 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003504/0.7472, allocations: 2.031 MB / 0.5236 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02475/0.772, allocations: 10.54 MB / 0.5339 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3854/1.157, allocations: 44.34 MB / 0.5772 GB, free: 120.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/1.171, allocations: 4.882 MB / 0.582 GB, free: 118.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00389/1.175, allocations: 2.004 MB / 0.584 GB, free: 117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01525/1.19, allocations: 7.112 MB / 0.5909 GB, free: 111.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.739e-05/1.19, allocations: 51.55 kB / 0.591 GB, free: 111.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 8.716e-06/1.19, allocations: 7.938 kB / 0.591 GB, free: 111.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06606/1.256, allocations: 19.69 MB / 0.6102 GB, free: 91.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/1.257, allocations: 213.9 kB / 0.6104 GB, free: 91.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/1.267, allocations: 4.437 MB / 0.6147 GB, free: 86.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006372/1.267, allocations: 57.7 kB / 0.6148 GB, free: 86.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002948/1.27, allocations: 3.52 MB / 0.6182 GB, free: 83.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/1.272, allocations: 0.8305 MB / 0.619 GB, free: 82.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008923/1.273, allocations: 136.5 kB / 0.6192 GB, free: 82.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0006262/1.273, allocations: 0.5831 MB / 0.6197 GB, free: 81.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00435/1.278, allocations: 2.332 MB / 0.622 GB, free: 79.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006802/1.285, allocations: 6.14 MB / 0.628 GB, free: 71.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006879/1.292, allocations: 3.712 MB / 0.6316 GB, free: 67.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002072/1.292, allocations: 40 kB / 0.6317 GB, free: 67.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02298/1.315, allocations: 9.486 MB / 0.6409 GB, free: 57.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003187/1.315, allocations: 67.41 kB / 0.641 GB, free: 57.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000373/1.316, allocations: 132.5 kB / 0.6411 GB, free: 57.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004558/1.32, allocations: 1.394 MB / 0.6425 GB, free: 56.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006139/1.326, allocations: 1.466 MB / 0.6439 GB, free: 54.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/1.339, allocations: 7.972 MB / 0.6517 GB, free: 46.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/1.345, allocations: 355.5 kB / 0.652 GB, free: 46.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/1.346, allocations: 391.9 kB / 0.6524 GB, free: 46 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007263/1.353, allocations: 2.484 MB / 0.6548 GB, free: 43.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001692/1.355, allocations: 406.8 kB / 0.6552 GB, free: 43.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009376/1.364, allocations: 4.106 MB / 0.6592 GB, free: 38.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.881e-05/1.365, allocations: 27.95 kB / 0.6593 GB, free: 38.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.971e-05/1.365, allocations: 8 kB / 0.6593 GB, free: 38.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/1.365, allocations: 7.969 kB / 0.6593 GB, free: 38.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02761/1.392, allocations: 10.35 MB / 0.6694 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.115e-05/1.392, allocations: 4 kB / 0.6694 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/1.394, allocations: 351.4 kB / 0.6697 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003464/1.397, allocations: 1.152 MB / 0.6708 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000376/1.398, allocations: 47.98 kB / 0.6709 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009332/1.407, allocations: 6.65 MB / 0.6774 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/1.407, allocations: 4 kB / 0.6774 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/1.42, allocations: 6.9 MB / 0.6841 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/1.422, allocations: 459.8 kB / 0.6846 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/1.423, allocations: 40 kB / 0.6846 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.426, allocations: 112.8 kB / 0.6847 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/1.426, allocations: 145 kB / 0.6849 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.426, allocations: 70.59 kB / 0.6849 GB, free: 12.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005643/1.432, allocations: 2.779 MB / 0.6876 GB, free: 9.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.432, allocations: 0 / 0.6876 GB, free: 9.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007928/1.44, allocations: 1.215 MB / 0.6888 GB, free: 8.324 MB / 446.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 (173): * Single equations (assignments): 169 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001025/1.441, allocations: 210.7 kB / 0.689 GB, free: 8.121 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01146/1.452, allocations: 5.71 MB / 0.6946 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/1.452, allocations: 4.062 kB / 0.6946 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00303/1.455, allocations: 1.865 MB / 0.6964 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00488/1.46, allocations: 0.5168 MB / 0.6969 GB, free: 28 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2814/1.742, allocations: 13.57 MB / 0.7102 GB, free: 139.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006382/1.748, allocations: 3.848 MB / 0.7139 GB, free: 138.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/1.75, allocations: 317.7 kB / 0.7142 GB, free: 138.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.674e-06/1.75, allocations: 3.172 kB / 0.7142 GB, free: 138.3 MB / 446.1 MB Notification: Performance of Templates: time 0.123/1.873, allocations: 89.59 MB / 0.8017 GB, free: 58.32 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analyticCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.o] Error 1