Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,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.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,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.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009923/0.0009927, allocations: 90.33 kB / 17.58 MB, free: 5.477 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.001038/0.001038, allocations: 184.2 kB / 18.48 MB, free: 5.043 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.769/1.769, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.000464/0.000464, allocations: 8 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1063, allocations: 47.59 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04293/0.1493, allocations: 46.02 MB / 375 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2698/0.4192, allocations: 10.36 MB / 385.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01146/0.4307, allocations: 221.8 kB / 385.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009462/0.4402, allocations: 2.391 MB / 388 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02408/0.4643, allocations: 7.118 MB / 395.1 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004801/0.4691, allocations: 0.6995 MB / 395.8 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04364/0.5128, allocations: 34.14 MB / 429.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009157/0.522, allocations: 4.692 MB / 434.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004358/0.5264, allocations: 1.417 MB / 436 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004609/0.5311, allocations: 2.222 MB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.5325, allocations: 152 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.5359, allocations: 0.9421 MB / 439.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003504/0.5394, allocations: 1.916 MB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003101/0.5425, allocations: 0.9149 MB / 442.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.5534, allocations: 6.138 MB / 448.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.5534, allocations: 1.75 kB / 448.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.5534, allocations: 4 kB / 448.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002976/0.5537, allocations: 0 / 448.3 MB, free: 6.867 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01093/0.5647, allocations: 4.483 MB / 452.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5647, allocations: 11.97 kB / 452.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02066/0.5854, allocations: 3.267 MB / 456.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.5957, allocations: 3.611 MB / 459.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/0.596, allocations: 246.7 kB / 459.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/0.5975, allocations: 338.8 kB / 460.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.6173, allocations: 10.34 MB / 470.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.6175, allocations: 46.53 kB / 470.6 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.6179, allocations: 155.3 kB / 470.8 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003703/0.6216, allocations: 2.031 MB / 472.8 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/0.6406, allocations: 8.873 MB / 481.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05999/0.7007, allocations: 39.84 MB / 0.5093 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009095/0.7098, allocations: 4.062 MB / 0.5133 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.713, allocations: 2.228 MB / 0.5155 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007031/0.7138, allocations: 0.6482 MB / 0.5161 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.7138, allocations: 59.5 kB / 0.5161 GB, free: 9.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 5.721e-06/0.7138, allocations: 0 / 0.5161 GB, free: 9.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.05825/0.7721, allocations: 22.93 MB / 0.5385 GB, free: 2.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/0.7723, allocations: 260.6 kB / 0.5388 GB, free: 2.359 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2802/1.053, allocations: 4.235 MB / 0.5429 GB, free: 164.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006426/1.053, allocations: 55.55 kB / 0.543 GB, free: 164.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002985/1.056, allocations: 3.198 MB / 0.5461 GB, free: 163.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001315/1.058, allocations: 0.7986 MB / 0.5469 GB, free: 162.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/1.058, allocations: 126 kB / 0.547 GB, free: 162.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004437/1.058, allocations: 0.5733 MB / 0.5476 GB, free: 162.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004849/1.063, allocations: 2.527 MB / 0.55 GB, free: 161.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007096/1.07, allocations: 6.105 MB / 0.556 GB, free: 155.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006668/1.077, allocations: 3.844 MB / 0.5597 GB, free: 154.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/1.077, allocations: 37.91 kB / 0.5598 GB, free: 154.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02151/1.099, allocations: 10.7 MB / 0.5702 GB, free: 150.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/1.099, allocations: 62.64 kB / 0.5703 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/1.099, allocations: 126.3 kB / 0.5704 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00635/1.105, allocations: 2.62 MB / 0.573 GB, free: 150.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004535/1.11, allocations: 1.35 MB / 0.5743 GB, free: 149.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/1.129, allocations: 17.26 MB / 0.5911 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005504/1.134, allocations: 383.2 kB / 0.5915 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009208/1.135, allocations: 376 kB / 0.5919 GB, free: 131.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],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 (731): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 35,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.003627/1.139, allocations: 2.218 MB / 0.594 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007987/1.14, allocations: 375.1 kB / 0.5944 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008075/1.148, allocations: 5.141 MB / 0.5994 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.956e-05/1.148, allocations: 27.11 kB / 0.5994 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.148, allocations: 8 kB / 0.5994 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/1.148, allocations: 11.95 kB / 0.5995 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/1.165, allocations: 11.1 MB / 0.6103 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.165, allocations: 4 kB / 0.6103 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.167, allocations: 303.5 kB / 0.6106 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004317/1.171, allocations: 1.851 MB / 0.6124 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002286/1.171, allocations: 35.98 kB / 0.6124 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/1.182, allocations: 9.696 MB / 0.6219 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.182, allocations: 4 kB / 0.6219 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.193, allocations: 8.318 MB / 0.63 GB, free: 92.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/1.195, allocations: 0.7772 MB / 0.6308 GB, free: 91.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000584/1.196, allocations: 38.38 kB / 0.6308 GB, free: 91.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/1.197, allocations: 147.8 kB / 0.631 GB, free: 91.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/1.198, allocations: 121.1 kB / 0.6311 GB, free: 91.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/1.198, allocations: 52.09 kB / 0.6311 GB, free: 91.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004048/1.202, allocations: 2.668 MB / 0.6337 GB, free: 88.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.202, allocations: 0 / 0.6337 GB, free: 88.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007428/1.209, allocations: 1.213 MB / 0.6349 GB, free: 87.4 MB / 446.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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005385/1.21, allocations: 168.5 kB / 0.6351 GB, free: 87.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009427/1.219, allocations: 6.6 MB / 0.6415 GB, free: 80.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.219, allocations: 2.625 kB / 0.6415 GB, free: 80.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002906/1.222, allocations: 2.227 MB / 0.6437 GB, free: 78.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/1.226, allocations: 0.5361 MB / 0.6442 GB, free: 77.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/1.245, allocations: 12.92 MB / 0.6568 GB, free: 64.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/1.248, allocations: 3.504 MB / 0.6603 GB, free: 61.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/1.25, allocations: 295.4 kB / 0.6605 GB, free: 61.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/1.25, allocations: 4 kB / 0.6606 GB, free: 61.04 MB / 446.1 MB Notification: Performance of Templates: time 0.3344/1.584, allocations: 104.1 MB / 0.7622 GB, free: 117.5 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTipCalcHelperMain.o] Error 1