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.0009128/0.0009128, 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.001187/0.001187, 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.979/1.979, allocations: 205.4 MB / 225 MB, free: 12.94 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.0006322/0.0006321, allocations: 12 kB / 282 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1269, allocations: 47.58 MB / 329.6 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.3796/0.5066, allocations: 79.48 MB / 409.1 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04984/0.5565, allocations: 16.56 MB / 425.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02353/0.5801, allocations: 372.3 kB / 426 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.5835, allocations: 0.6774 MB / 426.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.5935, allocations: 2.712 MB / 429.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.5977, allocations: 1.348 MB / 430.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01822/0.6159, allocations: 12.68 MB / 443.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02144/0.6374, allocations: 11.91 MB / 455.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006651/0.6441, allocations: 2.245 MB / 457.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008408/0.6526, allocations: 3.691 MB / 461.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002199/0.6548, allocations: 248 kB / 461.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005398/0.6602, allocations: 1.521 MB / 463 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005527/0.6658, allocations: 3.272 MB / 466.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008516/0.6743, allocations: 3.484 MB / 469.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.6886, allocations: 10.37 MB / 480.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.6887, allocations: 0 / 480.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.6887, allocations: 0 / 480.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007347/0.6894, allocations: 0 / 480.2 MB, free: 15.75 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.02312/0.7126, allocations: 7.328 MB / 487.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.7126, allocations: 8.031 kB / 487.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05108/0.7637, allocations: 4.969 MB / 492.5 MB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0202/0.784, allocations: 6.576 MB / 499.1 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005512/0.7846, allocations: 431.7 kB / 499.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003152/0.7877, allocations: 0.5819 MB / 0.4883 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04116/0.8289, allocations: 17.12 MB / 0.5051 GB, free: 9.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005629/0.8295, allocations: 79.27 kB / 0.5051 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002881/0.8324, allocations: 267.8 kB / 0.5054 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005322/0.8378, allocations: 2.662 MB / 0.508 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03783/0.8757, allocations: 14.84 MB / 0.5225 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5951/1.471, allocations: 64.62 MB / 0.5856 GB, free: 119.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02204/1.493, allocations: 8.834 MB / 0.5942 GB, free: 115.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005175/1.498, allocations: 5.059 MB / 0.5992 GB, free: 113.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02218/1.52, allocations: 18.64 MB / 0.6174 GB, free: 95.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/1.52, allocations: 67.94 kB / 0.6174 GB, free: 95.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 5.32e-06/1.52, allocations: 2.5 kB / 0.6174 GB, free: 95.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=374): time 0.2503/1.771, allocations: 75.12 MB / 0.6908 GB, free: 20.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/1.771, allocations: 380.6 kB / 0.6911 GB, free: 20.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/1.783, allocations: 6.423 MB / 0.6974 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00118/1.784, allocations: 85.7 kB / 0.6975 GB, free: 13.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003194/1.787, allocations: 4.755 MB / 0.7021 GB, free: 8.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00207/1.789, allocations: 1.382 MB / 0.7035 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002242/1.791, allocations: 0.8159 MB / 0.7043 GB, free: 6.777 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/1.792, allocations: 301.1 kB / 0.7046 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00857/1.8, allocations: 5.989 MB / 0.7104 GB, free: 496 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2822/2.082, allocations: 11.02 MB / 0.7212 GB, free: 146.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02554/2.108, allocations: 17.95 MB / 0.7387 GB, free: 133.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003199/2.108, allocations: 48.38 kB / 0.7388 GB, free: 133.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.05422/2.163, allocations: 23.37 MB / 0.7616 GB, free: 121 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005863/2.163, allocations: 80 kB / 0.7617 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007176/2.164, allocations: 172 kB / 0.7618 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02383/2.188, allocations: 7.483 MB / 0.7691 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009064/2.197, allocations: 2.187 MB / 0.7713 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04658/2.243, allocations: 35.64 MB / 0.8061 GB, free: 75.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/2.255, allocations: 0.7501 MB / 0.8068 GB, free: 74.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002855/2.257, allocations: 0.5273 MB / 0.8073 GB, free: 73.98 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.009086/2.267, allocations: 3.44 MB / 0.8107 GB, free: 70.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002254/2.269, allocations: 0.5751 MB / 0.8112 GB, free: 70.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0355/2.304, allocations: 16.98 MB / 0.8278 GB, free: 53.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/2.305, allocations: 44 kB / 0.8279 GB, free: 53.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.741e-05/2.305, allocations: 16.14 kB / 0.8279 GB, free: 53.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001276/2.305, allocations: 27.91 kB / 0.8279 GB, free: 53.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06641/2.371, allocations: 32.19 MB / 0.8594 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.278e-05/2.371, allocations: 4 kB / 0.8594 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/2.375, allocations: 0.6012 MB / 0.8599 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02117/2.396, allocations: 7.145 MB / 0.8669 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001203/2.397, allocations: 66.73 kB / 0.867 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3426/2.74, allocations: 33.91 MB / 0.9001 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/2.74, allocations: 7.531 kB / 0.9001 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0441/2.784, allocations: 24.63 MB / 0.9241 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004997/2.789, allocations: 1.67 MB / 0.9258 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002051/2.791, allocations: 61.25 kB / 0.9258 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005432/2.797, allocations: 443.3 kB / 0.9263 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/2.798, allocations: 259.2 kB / 0.9265 GB, free: 109.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003391/2.798, allocations: 93.17 kB / 0.9266 GB, free: 109.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005933/2.804, allocations: 4.08 MB / 0.9306 GB, free: 105.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/2.804, allocations: 2.438 kB / 0.9306 GB, free: 105.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01302/2.817, allocations: 2.297 MB / 0.9328 GB, free: 103 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.002064/2.819, allocations: 272.7 kB / 0.9331 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02476/2.844, allocations: 14.85 MB / 0.9476 GB, free: 88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/2.844, allocations: 0 / 0.9476 GB, free: 88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01172/2.856, allocations: 6.697 MB / 0.9541 GB, free: 81.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01205/2.868, allocations: 0.8321 MB / 0.9549 GB, free: 80.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04111/2.909, allocations: 24.21 MB / 0.9786 GB, free: 56.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00661/2.916, allocations: 5.229 MB / 0.9837 GB, free: 50.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/2.919, allocations: 447.3 kB / 0.9841 GB, free: 50.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.203e-06/2.919, allocations: 0 / 0.9841 GB, free: 50.54 MB / 446.1 MB Notification: Performance of Templates: time 0.5777/3.496, allocations: 207.6 MB / 1.187 GB, free: 8.184 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