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.0009005/0.0009005, allocations: 94.22 kB / 17.96 MB, free: 5.418 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: 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.972/1.972, allocations: 205.4 MB / 225 MB, free: 12.84 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.0005122/0.0005122, allocations: 12 kB / 282 MB, free: 3.367 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 47.58 MB / 329.6 MB, free: 3.715 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.3665/0.4942, allocations: 52.06 MB / 381.7 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03877/0.533, allocations: 11.15 MB / 392.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0173/0.5504, allocations: 231.8 kB / 393.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.5542, allocations: 0.6012 MB / 393.7 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.5658, allocations: 2.427 MB / 396.1 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.5694, allocations: 0.9112 MB / 397 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01953/0.589, allocations: 9.442 MB / 406.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0133/0.6023, allocations: 5.729 MB / 412.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005832/0.6082, allocations: 1.755 MB / 413.9 MB, free: 284 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00786/0.6161, allocations: 3.146 MB / 417.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002419/0.6186, allocations: 236 kB / 417.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005988/0.6246, allocations: 1.325 MB / 418.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00584/0.6305, allocations: 2.64 MB / 421.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008507/0.639, allocations: 2.976 MB / 424.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.6523, allocations: 7.955 MB / 432.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.6523, allocations: 0 / 432.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6523, allocations: 0 / 432.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005209/0.6529, allocations: 0 / 432.2 MB, free: 15.86 MB / 350.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.02118/0.6741, allocations: 6.062 MB / 438.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.536e-05/0.6742, allocations: 8.031 kB / 438.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/0.6939, allocations: 4.035 MB / 442.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.7047, allocations: 4.216 MB / 446.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.705, allocations: 315.2 kB / 446.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.7062, allocations: 435 kB / 447.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03174/0.7379, allocations: 15.74 MB / 463 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002522/0.7383, allocations: 59.47 kB / 463.1 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008372/0.7391, allocations: 199 kB / 463.2 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005575/0.7447, allocations: 3.224 MB / 466.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/0.7764, allocations: 14.14 MB / 480.6 MB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09996/0.8764, allocations: 57.78 MB / 0.5258 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.892, allocations: 6.57 MB / 0.5322 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006157/0.8982, allocations: 3.688 MB / 0.5358 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3243/1.223, allocations: 14.65 MB / 0.5501 GB, free: 174.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.908e-05/1.223, allocations: 65.59 kB / 0.5502 GB, free: 174.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=289): time 7.283e-06/1.223, allocations: 1.094 kB / 0.5502 GB, free: 174.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1539/1.377, allocations: 42.66 MB / 0.5918 GB, free: 150.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.377, allocations: 213.9 kB / 0.592 GB, free: 150.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/1.387, allocations: 5.498 MB / 0.5974 GB, free: 145 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001032/1.388, allocations: 66.56 kB / 0.5975 GB, free: 144.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002558/1.39, allocations: 4.353 MB / 0.6017 GB, free: 140.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001958/1.392, allocations: 1.268 MB / 0.6029 GB, free: 139.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/1.394, allocations: 0.7768 MB / 0.6037 GB, free: 138.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/1.394, allocations: 309.1 kB / 0.604 GB, free: 138.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006185/1.4, allocations: 4.8 MB / 0.6087 GB, free: 133.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008853/1.409, allocations: 9.811 MB / 0.6183 GB, free: 121.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01723/1.426, allocations: 15.57 MB / 0.6335 GB, free: 103.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000199/1.426, allocations: 52 kB / 0.6335 GB, free: 103.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04409/1.47, allocations: 19.57 MB / 0.6526 GB, free: 83.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.47, allocations: 76 kB / 0.6527 GB, free: 83.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001963/1.471, allocations: 176.8 kB / 0.6529 GB, free: 83.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02205/1.493, allocations: 5.97 MB / 0.6587 GB, free: 77.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008131/1.501, allocations: 2.113 MB / 0.6608 GB, free: 75.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02908/1.53, allocations: 24.8 MB / 0.685 GB, free: 50.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009374/1.539, allocations: 0.5539 MB / 0.6855 GB, free: 49.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002123/1.542, allocations: 0.5164 MB / 0.686 GB, free: 48.96 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009311/1.551, allocations: 3.092 MB / 0.6891 GB, free: 45.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002053/1.553, allocations: 497.5 kB / 0.6895 GB, free: 45.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03306/1.586, allocations: 12.96 MB / 0.7022 GB, free: 32.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001471/1.586, allocations: 57.55 kB / 0.7023 GB, free: 32.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.592e-05/1.586, allocations: 8 kB / 0.7023 GB, free: 32.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001356/1.587, allocations: 19.94 kB / 0.7023 GB, free: 32.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3636/1.95, allocations: 24.64 MB / 0.7263 GB, free: 156.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.176e-05/1.95, allocations: 4.906 kB / 0.7263 GB, free: 156.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/1.954, allocations: 0.5813 MB / 0.7269 GB, free: 156.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0198/1.974, allocations: 5.008 MB / 0.7318 GB, free: 155.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001048/1.975, allocations: 59.25 kB / 0.7319 GB, free: 155.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/2.003, allocations: 20 MB / 0.7514 GB, free: 145.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/2.003, allocations: 3.938 kB / 0.7514 GB, free: 145.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04312/2.046, allocations: 17.47 MB / 0.7685 GB, free: 130.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00569/2.052, allocations: 1.265 MB / 0.7697 GB, free: 129.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00307/2.055, allocations: 52 kB / 0.7697 GB, free: 129.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006836/2.062, allocations: 265 kB / 0.77 GB, free: 129 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002071/2.064, allocations: 197.1 kB / 0.7702 GB, free: 128.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001075/2.065, allocations: 81.41 kB / 0.7703 GB, free: 128.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01106/2.076, allocations: 3.418 MB / 0.7736 GB, free: 125.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.543e-06/2.076, allocations: 0 / 0.7736 GB, free: 125.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01232/2.089, allocations: 1.764 MB / 0.7753 GB, free: 123.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/2.09, allocations: 207.8 kB / 0.7755 GB, free: 123.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01824/2.108, allocations: 10.92 MB / 0.7862 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/2.108, allocations: 4 kB / 0.7862 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006559/2.115, allocations: 4.11 MB / 0.7902 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009923/2.125, allocations: 0.5797 MB / 0.7908 GB, free: 107.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03659/2.162, allocations: 19.85 MB / 0.8102 GB, free: 88.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005252/2.167, allocations: 4.604 MB / 0.8147 GB, free: 83.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/2.169, allocations: 427.4 kB / 0.8151 GB, free: 83.05 MB / 462.1 MB Notification: Performance of SimCode: time 1.383e-06/2.169, allocations: 0 / 0.8151 GB, free: 83.05 MB / 462.1 MB Notification: Performance of Templates: time 0.4065/2.576, allocations: 148.5 MB / 0.9601 GB, free: 81.3 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++ -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.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