Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, 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.001329/0.00133, 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.827/1.827, 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.00136/0.00136, allocations: 55.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1454, allocations: 46.63 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.04327/0.1888, allocations: 38.41 MB / 365.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02879/0.2176, allocations: 8.668 MB / 374.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01247/0.2302, allocations: 171.5 kB / 374.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007278/0.2376, allocations: 2.178 MB / 376.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008152/0.2458, allocations: 1.748 MB / 378.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.248, allocations: 0.6942 MB / 379.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.335/0.583, allocations: 6.715 MB / 385.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005482/0.5885, allocations: 2.821 MB / 388.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/0.5921, allocations: 1.312 MB / 390 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004226/0.5964, allocations: 2.196 MB / 392.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008719/0.5973, allocations: 196.2 kB / 392.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.6005, allocations: 1.143 MB / 393.5 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002379/0.6029, allocations: 1.783 MB / 395.3 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002684/0.6056, allocations: 1.977 MB / 397.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006333/0.612, allocations: 5.231 MB / 402.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.612, allocations: 6.312 kB / 402.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.612, allocations: 0 / 402.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002059/0.6122, allocations: 0 / 402.5 MB, free: 6.797 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01277/0.625, allocations: 4.678 MB / 407.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.101e-05/0.6251, allocations: 9.812 kB / 407.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02343/0.6485, allocations: 3.079 MB / 410.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009416/0.658, allocations: 3.38 MB / 413.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.6583, allocations: 194.5 kB / 413.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.6593, allocations: 280.7 kB / 414.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/0.6778, allocations: 8.853 MB / 423 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000162/0.678, allocations: 50.66 kB / 423 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/0.6784, allocations: 130.9 kB / 423.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003228/0.6817, allocations: 1.767 MB / 424.9 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/0.6985, allocations: 7.784 MB / 432.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06314/0.7617, allocations: 36.04 MB / 468.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009558/0.7714, allocations: 3.824 MB / 472.6 MB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003262/0.7747, allocations: 2.153 MB / 474.7 MB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005219/0.7752, allocations: 335 kB / 475 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/0.7753, allocations: 51.55 kB / 475.1 MB, free: 2.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=160): time 5.33e-06/0.7753, allocations: 0 / 475.1 MB, free: 2.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=190): time 0.06593/0.8412, allocations: 21.43 MB / 496.5 MB, free: 13.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000273/0.8416, allocations: 250.8 kB / 496.8 MB, free: 13.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008079/0.8497, allocations: 3.955 MB / 0.489 GB, free: 9.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004315/0.8501, allocations: 55.81 kB / 0.489 GB, free: 9.152 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002342/0.8525, allocations: 2.781 MB / 0.4918 GB, free: 6.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009672/0.8535, allocations: 0.7175 MB / 0.4925 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001689/0.8552, allocations: 1.184 MB / 0.4936 GB, free: 4.469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8553, allocations: 305.1 kB / 0.4939 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003357/0.8587, allocations: 2.381 MB / 0.4962 GB, free: 1.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006149/0.8648, allocations: 5.639 MB / 0.5017 GB, free: 10.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/0.8776, allocations: 8.578 MB / 0.5101 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.8777, allocations: 36 kB / 0.5101 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.02115/0.8989, allocations: 9.616 MB / 0.5195 GB, free: 7.883 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.899, allocations: 56.19 kB / 0.5196 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000251/0.8993, allocations: 116 kB / 0.5197 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005873/0.9052, allocations: 2.014 MB / 0.5217 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005088/0.9103, allocations: 1.283 MB / 0.5229 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/0.9277, allocations: 10.59 MB / 0.5333 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006822/0.9346, allocations: 347.4 kB / 0.5336 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001898/0.9365, allocations: 336 kB / 0.5339 GB, free: 9.016 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (688): * Single equations (assignments): 684 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006622/0.9432, allocations: 1.947 MB / 0.5358 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/0.9446, allocations: 347.5 kB / 0.5361 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.9559, allocations: 4.899 MB / 0.5409 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.794e-05/0.956, allocations: 20 kB / 0.5409 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-05/0.956, allocations: 8 kB / 0.541 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.412e-05/0.9561, allocations: 7.969 kB / 0.541 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.319/1.275, allocations: 10.04 MB / 0.5508 GB, free: 173.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.373e-05/1.275, allocations: 2.844 kB / 0.5508 GB, free: 173.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.277, allocations: 268.6 kB / 0.551 GB, free: 173.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006801/1.284, allocations: 1.845 MB / 0.5528 GB, free: 173 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/1.284, allocations: 36.11 kB / 0.5529 GB, free: 173 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/1.299, allocations: 9.708 MB / 0.5623 GB, free: 168.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.299, allocations: 7.906 kB / 0.5623 GB, free: 168.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.312, allocations: 7.944 MB / 0.5701 GB, free: 165.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.314, allocations: 0.7265 MB / 0.5708 GB, free: 165.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004342/1.315, allocations: 29 kB / 0.5708 GB, free: 165.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.317, allocations: 141.8 kB / 0.571 GB, free: 165.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004245/1.317, allocations: 112.2 kB / 0.5711 GB, free: 165.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.317, allocations: 54.28 kB / 0.5711 GB, free: 165.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003941/1.321, allocations: 2.499 MB / 0.5736 GB, free: 164.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.321, allocations: 3.719 kB / 0.5736 GB, free: 164.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004519/1.326, allocations: 1.071 MB / 0.5746 GB, free: 164.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (136): * Single equations (assignments): 132 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004562/1.326, allocations: 155.4 kB / 0.5748 GB, free: 164.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008308/1.334, allocations: 5.815 MB / 0.5805 GB, free: 160.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.334, allocations: 0 / 0.5805 GB, free: 160.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002613/1.337, allocations: 2.096 MB / 0.5825 GB, free: 158.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.341, allocations: 449 kB / 0.5829 GB, free: 158.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/1.359, allocations: 11.64 MB / 0.5943 GB, free: 146.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002912/1.362, allocations: 3.068 MB / 0.5973 GB, free: 143.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.363, allocations: 275.4 kB / 0.5975 GB, free: 143.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.843e-06/1.363, allocations: 0 / 0.5975 GB, free: 143.3 MB / 462.1 MB Notification: Performance of Templates: time 0.09715/1.46, allocations: 74.03 MB / 0.6698 GB, free: 69.13 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.Elementary.DoublePendulumCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.o] Error 1