Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, 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.00163/0.00163, 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.835/1.835, 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.001543/0.001543, allocations: 47.92 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1399, allocations: 46.63 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.3913/0.5313, allocations: 81.46 MB / 408.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05251/0.5839, allocations: 16.63 MB / 425.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02893/0.6129, allocations: 371 kB / 425.7 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01437/0.6274, allocations: 6.307 MB / 432 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0126/0.64, allocations: 2.707 MB / 434.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006581/0.6467, allocations: 2.192 MB / 436.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0201/0.6668, allocations: 12.69 MB / 449.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.6789, allocations: 8.272 MB / 457.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006968/0.6859, allocations: 2.85 MB / 460.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/0.6988, allocations: 4.456 MB / 465.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004528/0.7035, allocations: 0.4922 MB / 465.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008624/0.7121, allocations: 1.771 MB / 467.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008877/0.721, allocations: 3.639 MB / 471.1 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009559/0.7306, allocations: 3.927 MB / 475 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01779/0.7485, allocations: 10.63 MB / 485.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.7485, allocations: 0 / 485.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7485, allocations: 0 / 485.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006835/0.7492, allocations: 0 / 485.6 MB, free: 7.613 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.03738/0.7866, allocations: 8.942 MB / 494.6 MB, free: 14.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.7867, allocations: 8.031 kB / 494.6 MB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04672/0.8335, allocations: 4.847 MB / 499.4 MB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01986/0.8534, allocations: 6.584 MB / 0.4941 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006457/0.8541, allocations: 431.7 kB / 0.4946 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003369/0.8575, allocations: 0.5858 MB / 0.4951 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04668/0.9042, allocations: 17.06 MB / 0.5118 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006945/0.9049, allocations: 79.31 kB / 0.5119 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003574/0.9085, allocations: 271.8 kB / 0.5121 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005558/0.9141, allocations: 2.662 MB / 0.5147 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03951/0.9537, allocations: 14.79 MB / 0.5292 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.537/1.491, allocations: 64.62 MB / 0.5923 GB, free: 119.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02143/1.512, allocations: 8.783 MB / 0.6009 GB, free: 113.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005657/1.518, allocations: 5.065 MB / 0.6058 GB, free: 108.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02833/1.546, allocations: 18.64 MB / 0.624 GB, free: 89.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/1.546, allocations: 68.5 kB / 0.6241 GB, free: 89.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 6.212e-06/1.546, allocations: 0 / 0.6241 GB, free: 89.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=374): time 0.2417/1.788, allocations: 74.06 MB / 0.6964 GB, free: 15.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/1.788, allocations: 380.6 kB / 0.6968 GB, free: 15.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/1.799, allocations: 6.423 MB / 0.703 GB, free: 8.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001438/1.801, allocations: 89.7 kB / 0.7031 GB, free: 8.836 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002859/1.804, allocations: 4.757 MB / 0.7078 GB, free: 4.016 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002236/1.806, allocations: 1.384 MB / 0.7091 GB, free: 2.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00298/1.809, allocations: 1.974 MB / 0.711 GB, free: 0.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/1.809, allocations: 301.1 kB / 0.7113 GB, free: 336 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2919/2.101, allocations: 5.985 MB / 0.7172 GB, free: 152.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01542/2.116, allocations: 11.02 MB / 0.7279 GB, free: 143.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02161/2.138, allocations: 17.96 MB / 0.7455 GB, free: 131 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003131/2.138, allocations: 50.84 kB / 0.7455 GB, free: 131 MB / 446.1 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04903/2.187, allocations: 23.34 MB / 0.7683 GB, free: 115.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004141/2.188, allocations: 80 kB / 0.7684 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005085/2.188, allocations: 172 kB / 0.7686 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0222/2.21, allocations: 7.454 MB / 0.7758 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008161/2.219, allocations: 2.183 MB / 0.778 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04652/2.265, allocations: 35.56 MB / 0.8127 GB, free: 69.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/2.276, allocations: 0.7539 MB / 0.8134 GB, free: 68.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002494/2.279, allocations: 0.5234 MB / 0.8139 GB, free: 68.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1084 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.007745/2.287, allocations: 3.444 MB / 0.8173 GB, free: 65.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001738/2.288, allocations: 0.5735 MB / 0.8179 GB, free: 64.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03006/2.319, allocations: 16.96 MB / 0.8344 GB, free: 47.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001014/2.319, allocations: 44 kB / 0.8345 GB, free: 47.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.643e-05/2.319, allocations: 20 kB / 0.8345 GB, free: 47.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/2.319, allocations: 19.94 kB / 0.8345 GB, free: 47.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05317/2.372, allocations: 32.16 MB / 0.8659 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.227e-05/2.372, allocations: 4.25 kB / 0.8659 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00334/2.376, allocations: 0.6084 MB / 0.8665 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3334/2.709, allocations: 7.114 MB / 0.8735 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001302/2.71, allocations: 62.23 kB / 0.8735 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04817/2.758, allocations: 33.85 MB / 0.9066 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/2.758, allocations: 10.34 kB / 0.9066 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06149/2.82, allocations: 24.6 MB / 0.9306 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006111/2.826, allocations: 1.656 MB / 0.9322 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00438/2.831, allocations: 67.98 kB / 0.9323 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007937/2.839, allocations: 439.3 kB / 0.9327 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002579/2.841, allocations: 254.2 kB / 0.9329 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001174/2.842, allocations: 92 kB / 0.933 GB, free: 104.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01008/2.853, allocations: 4.084 MB / 0.937 GB, free: 100.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/2.853, allocations: 0 / 0.937 GB, free: 100.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01668/2.869, allocations: 2.296 MB / 0.9393 GB, free: 98.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002322/2.872, allocations: 271.7 kB / 0.9395 GB, free: 98.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02646/2.898, allocations: 14.85 MB / 0.954 GB, free: 83.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-05/2.898, allocations: 0 / 0.954 GB, free: 83.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01158/2.91, allocations: 6.711 MB / 0.9606 GB, free: 76.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/2.921, allocations: 0.8311 MB / 0.9614 GB, free: 75.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04823/2.969, allocations: 24.15 MB / 0.985 GB, free: 51.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0105/2.98, allocations: 5.225 MB / 0.9901 GB, free: 46.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003065/2.983, allocations: 447.4 kB / 0.9905 GB, free: 45.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/2.983, allocations: 0 / 0.9905 GB, free: 45.88 MB / 446.1 MB Notification: Performance of Templates: time 0.5517/3.535, allocations: 209.1 MB / 1.195 GB, free: 3.84 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.PlanarFourbarCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbarCalcHelperMain.o] Error 1