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.001498/0.001498, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.002083/0.002083, allocations: 194 kB / 18.72 MB, free: 4.762 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.839/1.839, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001211/0.001211, allocations: 51.88 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1356, allocations: 46.63 MB / 327.2 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.3691/0.5048, allocations: 53.46 MB / 380.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03403/0.5389, allocations: 11.23 MB / 391.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01808/0.557, allocations: 233.6 kB / 392.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008295/0.5654, allocations: 3.13 MB / 395.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.5758, allocations: 2.409 MB / 397.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00394/0.5797, allocations: 0.9152 MB / 398.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0185/0.5983, allocations: 9.43 MB / 408 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007085/0.6054, allocations: 4.27 MB / 412.3 MB, free: 472 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.6108, allocations: 1.973 MB / 414.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006971/0.6178, allocations: 3.435 MB / 417.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.6192, allocations: 328 kB / 418 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00443/0.6237, allocations: 1.424 MB / 419.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003414/0.6271, allocations: 2.756 MB / 422.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004356/0.6315, allocations: 3.122 MB / 425.3 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.6422, allocations: 8.146 MB / 433.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.6422, allocations: 4 kB / 433.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6422, allocations: 0 / 433.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003974/0.6427, allocations: 0 / 433.5 MB, free: 13.6 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.01995/0.6626, allocations: 7.302 MB / 440.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/0.6627, allocations: 8.031 kB / 440.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/0.6799, allocations: 3.941 MB / 444.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.6933, allocations: 4.21 MB / 449 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004936/0.6938, allocations: 320.8 kB / 449.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003278/0.6971, allocations: 426.1 kB / 449.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04186/0.739, allocations: 15.71 MB / 465.4 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004412/0.7395, allocations: 71.42 kB / 465.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002727/0.7422, allocations: 200 kB / 465.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006511/0.7488, allocations: 3.212 MB / 468.9 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03713/0.786, allocations: 14.13 MB / 483 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.107/0.893, allocations: 57.78 MB / 0.5281 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/0.911, allocations: 6.562 MB / 0.5345 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008237/0.9194, allocations: 3.688 MB / 0.5381 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4046/1.324, allocations: 14.64 MB / 0.5524 GB, free: 123.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.959e-05/1.324, allocations: 62.22 kB / 0.5525 GB, free: 123.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=289): time 8.175e-06/1.324, allocations: 0.5625 kB / 0.5525 GB, free: 123.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1401/1.464, allocations: 42.39 MB / 0.5939 GB, free: 104.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.464, allocations: 216.1 kB / 0.5941 GB, free: 104.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007353/1.472, allocations: 5.499 MB / 0.5994 GB, free: 98.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009982/1.473, allocations: 69.7 kB / 0.5995 GB, free: 98.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002464/1.475, allocations: 4.36 MB / 0.6038 GB, free: 94.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001782/1.477, allocations: 1.257 MB / 0.605 GB, free: 93.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002581/1.48, allocations: 1.853 MB / 0.6068 GB, free: 91.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/1.48, allocations: 301.1 kB / 0.6071 GB, free: 90.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005893/1.486, allocations: 4.808 MB / 0.6118 GB, free: 86.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009137/1.495, allocations: 9.807 MB / 0.6214 GB, free: 73.94 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01818/1.513, allocations: 15.57 MB / 0.6366 GB, free: 56.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002053/1.513, allocations: 48 kB / 0.6366 GB, free: 56.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04657/1.56, allocations: 19.57 MB / 0.6557 GB, free: 38.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000288/1.56, allocations: 80 kB / 0.6558 GB, free: 37.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004028/1.561, allocations: 172 kB / 0.656 GB, free: 37.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02121/1.582, allocations: 5.94 MB / 0.6618 GB, free: 31.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00879/1.591, allocations: 2.108 MB / 0.6638 GB, free: 29.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03102/1.622, allocations: 24.76 MB / 0.688 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009718/1.632, allocations: 0.5609 MB / 0.6886 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002293/1.634, allocations: 0.5117 MB / 0.6891 GB, free: 3.75 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.008137/1.642, allocations: 3.102 MB / 0.6921 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001948/1.644, allocations: 0.4936 MB / 0.6926 GB, free: 136 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03471/1.679, allocations: 12.93 MB / 0.7052 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001173/1.679, allocations: 59.98 kB / 0.7053 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.34e-05/1.679, allocations: 8 kB / 0.7053 GB, free: 3.066 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001109/1.679, allocations: 15.95 kB / 0.7053 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4008/2.08, allocations: 24.58 MB / 0.7293 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.001e-05/2.08, allocations: 6.75 kB / 0.7293 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003462/2.084, allocations: 0.5801 MB / 0.7299 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01848/2.102, allocations: 4.968 MB / 0.7347 GB, free: 137.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008715/2.103, allocations: 53.47 kB / 0.7348 GB, free: 137.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02461/2.128, allocations: 19.98 MB / 0.7543 GB, free: 128.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/2.128, allocations: 10.28 kB / 0.7543 GB, free: 128.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0352/2.163, allocations: 17.45 MB / 0.7713 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004031/2.167, allocations: 1.243 MB / 0.7725 GB, free: 116.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002178/2.169, allocations: 60.78 kB / 0.7726 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004126/2.173, allocations: 255.6 kB / 0.7728 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001219/2.175, allocations: 195.8 kB / 0.773 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000617/2.175, allocations: 91.73 kB / 0.7731 GB, free: 116.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007006/2.182, allocations: 3.418 MB / 0.7765 GB, free: 112.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/2.182, allocations: 0 / 0.7765 GB, free: 112.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01221/2.194, allocations: 1.754 MB / 0.7782 GB, free: 111 MB / 494.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.001233/2.196, allocations: 210.5 kB / 0.7784 GB, free: 110.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01676/2.212, allocations: 10.94 MB / 0.789 GB, free: 100.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/2.213, allocations: 0 / 0.789 GB, free: 100.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005575/2.218, allocations: 4.092 MB / 0.793 GB, free: 96.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006476/2.225, allocations: 0.5927 MB / 0.7936 GB, free: 95.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03589/2.26, allocations: 19.81 MB / 0.813 GB, free: 76.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005104/2.266, allocations: 4.606 MB / 0.8175 GB, free: 71.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/2.268, allocations: 415.4 kB / 0.8179 GB, free: 71.13 MB / 494.1 MB Notification: Performance of SimCode: time 1.673e-06/2.268, allocations: 5.312 kB / 0.8179 GB, free: 71.12 MB / 494.1 MB Notification: Performance of Templates: time 0.4087/2.677, allocations: 149.7 MB / 0.9641 GB, free: 132.9 MB / 494.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