Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001116/0.001116, allocations: 95.55 kB / 17.96 MB, free: 5.426 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.001426/0.001426, allocations: 176.3 kB / 18.86 MB, free: 4.637 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.978/1.978, allocations: 205.4 MB / 225 MB, free: 12.91 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.0004866/0.0004866, allocations: 14.81 kB / 282 MB, free: 3.379 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1287, allocations: 47.58 MB / 329.6 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.3858/0.5145, allocations: 54.04 MB / 383.6 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03734/0.5519, allocations: 11.84 MB / 395.5 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02113/0.5731, allocations: 239.4 kB / 395.7 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.5761, allocations: 499.7 kB / 396.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009033/0.5852, allocations: 2.036 MB / 398.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004204/0.5894, allocations: 1.009 MB / 399.3 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01367/0.6031, allocations: 8.21 MB / 407.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01343/0.6166, allocations: 7.395 MB / 414.9 MB, free: 380 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005347/0.622, allocations: 1.533 MB / 416.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005708/0.6277, allocations: 2.575 MB / 419 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.6293, allocations: 188 kB / 419.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004667/0.634, allocations: 1.403 MB / 420.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00445/0.6384, allocations: 2.228 MB / 422.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005066/0.6435, allocations: 2.49 MB / 425.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.6545, allocations: 7.442 MB / 432.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.6545, allocations: 0 / 432.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6545, allocations: 0 / 432.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003791/0.6549, allocations: 0 / 432.7 MB, free: 0.6797 MB / 334.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.01533/0.6703, allocations: 4.935 MB / 437.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.6703, allocations: 8.031 kB / 437.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/0.6828, allocations: 2.598 MB / 440.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.6932, allocations: 3.849 MB / 444.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.6936, allocations: 309.1 kB / 444.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.6952, allocations: 448 kB / 444.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02793/0.7231, allocations: 12.44 MB / 457.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/0.7235, allocations: 47.59 kB / 457.3 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001814/0.7254, allocations: 190.4 kB / 457.5 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003843/0.7292, allocations: 2.033 MB / 459.5 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02737/0.7566, allocations: 10.59 MB / 470.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07304/0.8297, allocations: 44.37 MB / 0.5024 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/0.8446, allocations: 4.887 MB / 0.5072 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003671/0.8484, allocations: 2.006 MB / 0.5092 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01474/0.8632, allocations: 7.121 MB / 0.5161 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.879e-05/0.8633, allocations: 63.5 kB / 0.5162 GB, free: 14.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.83e-06/0.8633, allocations: 0 / 0.5162 GB, free: 14.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.3572/1.22, allocations: 19.73 MB / 0.5355 GB, free: 163 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.221, allocations: 209.9 kB / 0.5357 GB, free: 162.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008942/1.23, allocations: 4.486 MB / 0.54 GB, free: 161.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005634/1.23, allocations: 57.64 kB / 0.5401 GB, free: 161.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002858/1.233, allocations: 3.52 MB / 0.5435 GB, free: 158.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.234, allocations: 0.8439 MB / 0.5444 GB, free: 158.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008578/1.235, allocations: 0.5756 MB / 0.5449 GB, free: 158 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/1.235, allocations: 302 kB / 0.5452 GB, free: 157.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003935/1.239, allocations: 2.368 MB / 0.5475 GB, free: 156.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005505/1.245, allocations: 6.159 MB / 0.5535 GB, free: 151 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008974/1.254, allocations: 9.172 MB / 0.5625 GB, free: 143.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/1.254, allocations: 38.5 kB / 0.5625 GB, free: 143.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01629/1.27, allocations: 9.552 MB / 0.5719 GB, free: 138.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/1.27, allocations: 64 kB / 0.5719 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.27, allocations: 132 kB / 0.572 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003874/1.274, allocations: 1.372 MB / 0.5734 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004537/1.279, allocations: 1.474 MB / 0.5748 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/1.29, allocations: 7.973 MB / 0.5826 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00674/1.296, allocations: 348.3 kB / 0.5829 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.298, allocations: 393.2 kB / 0.5833 GB, free: 126.8 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006782/1.305, allocations: 2.5 MB / 0.5858 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/1.306, allocations: 398.8 kB / 0.5861 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008923/1.315, allocations: 4.122 MB / 0.5902 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.036e-05/1.315, allocations: 27.69 kB / 0.5902 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-05/1.315, allocations: 11.94 kB / 0.5902 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/1.315, allocations: 8.484 kB / 0.5902 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02243/1.338, allocations: 10.38 MB / 0.6003 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/1.338, allocations: 5.062 kB / 0.6003 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.34, allocations: 351.4 kB / 0.6007 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003765/1.343, allocations: 1.144 MB / 0.6018 GB, free: 107.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000281/1.344, allocations: 49 kB / 0.6018 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008822/1.353, allocations: 6.664 MB / 0.6083 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.353, allocations: 11.94 kB / 0.6084 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.363, allocations: 6.909 MB / 0.6151 GB, free: 93.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002403/1.366, allocations: 0.7417 MB / 0.6158 GB, free: 93.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/1.367, allocations: 39.98 kB / 0.6159 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002951/1.37, allocations: 111.9 kB / 0.616 GB, free: 93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000511/1.371, allocations: 149 kB / 0.6161 GB, free: 92.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/1.371, allocations: 67.27 kB / 0.6162 GB, free: 92.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00614/1.377, allocations: 2.818 MB / 0.6189 GB, free: 89.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.7e-07/1.377, allocations: 0 / 0.6189 GB, free: 89.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007432/1.384, allocations: 1.219 MB / 0.6201 GB, free: 88.75 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007984/1.385, allocations: 224.2 kB / 0.6203 GB, free: 88.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008858/1.394, allocations: 5.749 MB / 0.626 GB, free: 82.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/1.394, allocations: 0 / 0.626 GB, free: 82.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002512/1.397, allocations: 1.873 MB / 0.6278 GB, free: 80.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00646/1.403, allocations: 0.509 MB / 0.6283 GB, free: 80.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/1.423, allocations: 14.15 MB / 0.6421 GB, free: 66.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003785/1.426, allocations: 3.855 MB / 0.6459 GB, free: 62.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/1.428, allocations: 311.4 kB / 0.6462 GB, free: 61.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/1.428, allocations: 0 / 0.6462 GB, free: 61.97 MB / 446.1 MB Notification: Performance of Templates: time 0.4007/1.829, allocations: 89.39 MB / 0.7335 GB, free: 119.1 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.o] Error 1