Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009484/0.0009482, allocations: 91.23 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001003, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.662/1.662, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002882, allocations: 8 kB / 307.3 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.3542/0.4932, allocations: 50.26 MB / 409.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03935/0.5327, allocations: 11.34 MB / 420.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01951/0.5522, allocations: 239.4 kB / 420.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0131/0.5654, allocations: 2.57 MB / 423.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03335/0.5988, allocations: 7.696 MB / 430.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006736/0.6056, allocations: 0.9135 MB / 431.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.08847/0.6941, allocations: 62.04 MB / 493.8 MB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01183/0.706, allocations: 6.558 MB / 0.4887 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004772/0.7109, allocations: 1.643 MB / 0.4903 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005986/0.7169, allocations: 2.543 MB / 0.4928 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.7184, allocations: 184 kB / 0.4929 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.7222, allocations: 1.178 MB / 0.4941 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003661/0.7259, allocations: 2.19 MB / 0.4962 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002553/0.7284, allocations: 1.034 MB / 0.4972 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.7397, allocations: 7.423 MB / 0.5045 GB, free: 13.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.7397, allocations: 0 / 0.5045 GB, free: 13.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.7398, allocations: 0 / 0.5045 GB, free: 13.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003359/0.7401, allocations: 0 / 0.5045 GB, free: 13.88 MB / 430.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.015/0.7551, allocations: 5.003 MB / 0.5094 GB, free: 8.805 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.7552, allocations: 8.031 kB / 0.5094 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.7668, allocations: 2.59 MB / 0.5119 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009937/0.7768, allocations: 3.648 MB / 0.5155 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004362/0.7773, allocations: 299.9 kB / 0.5158 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002768/0.7801, allocations: 439.6 kB / 0.5162 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03328/0.8134, allocations: 12.41 MB / 0.5283 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002242/0.8137, allocations: 47.59 kB / 0.5283 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009699/0.8146, allocations: 191.9 kB / 0.5285 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003417/0.8181, allocations: 2.039 MB / 0.5305 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3529/1.171, allocations: 10.54 MB / 0.5408 GB, free: 145.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08103/1.252, allocations: 44.34 MB / 0.5841 GB, free: 111.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/1.264, allocations: 4.884 MB / 0.5889 GB, free: 106.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002577/1.266, allocations: 2.006 MB / 0.5908 GB, free: 104.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/1.277, allocations: 7.195 MB / 0.5979 GB, free: 97.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.655e-05/1.277, allocations: 55.56 kB / 0.5979 GB, free: 97.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 6.943e-06/1.277, allocations: 0 / 0.5979 GB, free: 97.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05945/1.337, allocations: 19.58 MB / 0.617 GB, free: 77.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/1.337, allocations: 201.9 kB / 0.6172 GB, free: 77.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006028/1.343, allocations: 4.434 MB / 0.6216 GB, free: 72.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005664/1.343, allocations: 57.7 kB / 0.6216 GB, free: 72.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002226/1.346, allocations: 3.511 MB / 0.625 GB, free: 69.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.347, allocations: 0.8461 MB / 0.6259 GB, free: 68.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/1.347, allocations: 133.2 kB / 0.626 GB, free: 68.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003474/1.348, allocations: 0.5831 MB / 0.6266 GB, free: 67.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003464/1.351, allocations: 2.348 MB / 0.6289 GB, free: 65.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005514/1.357, allocations: 6.132 MB / 0.6348 GB, free: 57.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005782/1.362, allocations: 3.72 MB / 0.6385 GB, free: 53.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.556e-05/1.363, allocations: 39.95 kB / 0.6385 GB, free: 53.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.0193/1.382, allocations: 9.497 MB / 0.6478 GB, free: 44.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.382, allocations: 63.98 kB / 0.6478 GB, free: 44.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/1.382, allocations: 136 kB / 0.648 GB, free: 44.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003735/1.386, allocations: 1.39 MB / 0.6493 GB, free: 42.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005155/1.391, allocations: 1.478 MB / 0.6508 GB, free: 41.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/1.401, allocations: 7.959 MB / 0.6585 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006304/1.408, allocations: 359.3 kB / 0.6589 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.409, allocations: 388.8 kB / 0.6593 GB, free: 32.34 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.005177/1.414, allocations: 2.495 MB / 0.6617 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.416, allocations: 402.8 kB / 0.6621 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00823/1.424, allocations: 4.114 MB / 0.6661 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.331e-05/1.424, allocations: 24 kB / 0.6661 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.432e-05/1.424, allocations: 4 kB / 0.6661 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.062e-05/1.424, allocations: 11.97 kB / 0.6661 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/1.445, allocations: 10.36 MB / 0.6763 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/1.445, allocations: 6.531 kB / 0.6763 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.447, allocations: 351.5 kB / 0.6766 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003225/1.45, allocations: 1.144 MB / 0.6777 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003505/1.451, allocations: 49.31 kB / 0.6778 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008885/1.459, allocations: 6.665 MB / 0.6843 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.46, allocations: 11.94 kB / 0.6843 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/1.471, allocations: 6.893 MB / 0.691 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/1.473, allocations: 459.8 kB / 0.6915 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008164/1.474, allocations: 43.95 kB / 0.6915 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/1.476, allocations: 117 kB / 0.6916 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003929/1.476, allocations: 141.1 kB / 0.6917 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.476, allocations: 65 kB / 0.6918 GB, free: 14.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005695/1.482, allocations: 2.775 MB / 0.6945 GB, free: 11.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.91e-07/1.482, allocations: 0 / 0.6945 GB, free: 11.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00783/1.49, allocations: 1.215 MB / 0.6957 GB, free: 10.64 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 (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.0007593/1.491, allocations: 204 kB / 0.6959 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01103/1.502, allocations: 5.728 MB / 0.7015 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.502, allocations: 0 / 0.7015 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003261/1.505, allocations: 1.88 MB / 0.7033 GB, free: 2.836 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/1.509, allocations: 0.513 MB / 0.7038 GB, free: 2.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2907/1.799, allocations: 13.58 MB / 0.7171 GB, free: 146.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/1.811, allocations: 3.843 MB / 0.7208 GB, free: 145.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/1.813, allocations: 319.4 kB / 0.7211 GB, free: 145.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.703e-06/1.813, allocations: 0 / 0.7211 GB, free: 145.6 MB / 462.1 MB Notification: Performance of Templates: time 0.1554/1.969, allocations: 89.48 MB / 0.8085 GB, free: 69.94 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.o] Error 1