Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000849/0.0008492, allocations: 89.2 kB / 17.58 MB, free: 5.465 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.001036/0.001036, allocations: 181.2 kB / 18.47 MB, free: 5.035 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.793/1.793, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0005062/0.0005063, allocations: 16 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1212, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.03274/0.1539, allocations: 31.37 MB / 360.4 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02172/0.1757, allocations: 7.436 MB / 367.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007367/0.1831, allocations: 147.6 kB / 367.9 MB, free: 13 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005797/0.189, allocations: 1.571 MB / 369.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01675/0.2057, allocations: 4.852 MB / 374.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.2089, allocations: 0.5109 MB / 374.9 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007173/0.2161, allocations: 3.802 MB / 378.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2891/0.5053, allocations: 2.958 MB / 381.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.5085, allocations: 1.042 MB / 382.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003429/0.512, allocations: 1.599 MB / 384.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005854/0.5126, allocations: 113.3 kB / 384.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.5151, allocations: 0.7974 MB / 385.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002585/0.5177, allocations: 1.396 MB / 386.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.5189, allocations: 0.7008 MB / 387.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007025/0.5259, allocations: 4.429 MB / 391.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.526, allocations: 1.469 kB / 391.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.526, allocations: 0 / 391.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002317/0.5262, allocations: 0 / 391.7 MB, free: 11.04 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01084/0.5371, allocations: 3.351 MB / 395.1 MB, free: 9.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.5372, allocations: 10 kB / 395.1 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007469/0.5446, allocations: 1.817 MB / 396.9 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006048/0.5507, allocations: 1.935 MB / 398.8 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.5509, allocations: 190.8 kB / 399 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006427/0.5516, allocations: 253.3 kB / 399.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.5666, allocations: 8.426 MB / 407.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.5667, allocations: 37.78 kB / 407.7 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/0.5671, allocations: 126.8 kB / 407.8 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002548/0.5697, allocations: 1.694 MB / 409.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.5831, allocations: 7.074 MB / 416.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04254/0.6257, allocations: 34.15 MB / 450.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00688/0.6326, allocations: 3.266 MB / 454 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/0.6349, allocations: 1.455 MB / 455.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007069/0.6419, allocations: 4.369 MB / 459.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.642, allocations: 45.28 kB / 459.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 3.727e-06/0.642, allocations: 0 / 459.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.02721/0.6692, allocations: 11.49 MB / 471.4 MB, free: 1.309 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.6694, allocations: 145.1 kB / 471.5 MB, free: 1.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005462/0.6749, allocations: 3.707 MB / 475.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.6751, allocations: 45.7 kB / 475.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002006/0.6771, allocations: 2.743 MB / 478 MB, free: 10.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/0.6777, allocations: 0.5254 MB / 478.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.6779, allocations: 108 kB / 478.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003447/0.6783, allocations: 0.5292 MB / 479.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.6808, allocations: 1.685 MB / 480.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/0.6856, allocations: 5.108 MB / 486 MB, free: 1.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.6896, allocations: 2.873 MB / 488.9 MB, free: 14.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.7e-05/0.6896, allocations: 36 kB / 488.9 MB, free: 14.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01083/0.7005, allocations: 6.689 MB / 495.6 MB, free: 8.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.7006, allocations: 56 kB / 495.6 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.7007, allocations: 120 kB / 495.7 MB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/0.7014, allocations: 345.1 kB / 496.1 MB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/0.7047, allocations: 1.245 MB / 497.3 MB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.7072, allocations: 2.279 MB / 499.6 MB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/0.711, allocations: 287.5 kB / 499.9 MB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004131/0.7115, allocations: 339.7 kB / 0.4885 GB, free: 3.348 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (668): * Single equations (assignments): 664 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003307/0.7148, allocations: 1.787 MB / 0.4902 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005823/0.7154, allocations: 308 kB / 0.4905 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004408/0.7198, allocations: 2.359 MB / 0.4928 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/0.7198, allocations: 16 kB / 0.4929 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.7198, allocations: 5.266 kB / 0.4929 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.7199, allocations: 7.969 kB / 0.4929 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.7308, allocations: 5.929 MB / 0.4987 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.7308, allocations: 4 kB / 0.4987 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.7315, allocations: 171.7 kB / 0.4988 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.7335, allocations: 0.7108 MB / 0.4995 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.7336, allocations: 24 kB / 0.4995 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005571/0.7391, allocations: 4.462 MB / 0.5039 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.7392, allocations: 5.781 kB / 0.5039 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006659/0.7458, allocations: 4.305 MB / 0.5081 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/0.7474, allocations: 0.5359 MB / 0.5086 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.7477, allocations: 19.95 kB / 0.5087 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/0.7487, allocations: 71.91 kB / 0.5087 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.7489, allocations: 73.03 kB / 0.5088 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.749, allocations: 32 kB / 0.5088 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004487/0.7535, allocations: 2.311 MB / 0.5111 GB, free: 11.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7535, allocations: 0 / 0.5111 GB, free: 11.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005498/0.759, allocations: 0.8201 MB / 0.5119 GB, free: 11.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004497/0.7595, allocations: 161.1 kB / 0.512 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007022/0.7665, allocations: 4.003 MB / 0.5159 GB, free: 7.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.7665, allocations: 4 kB / 0.5159 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.7681, allocations: 1.099 MB / 0.517 GB, free: 5.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.7705, allocations: 377.1 kB / 0.5174 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/0.7877, allocations: 9.018 MB / 0.5262 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003159/0.7909, allocations: 2.789 MB / 0.5289 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/0.7922, allocations: 247.4 kB / 0.5291 GB, free: 9.418 MB / 446.1 MB Notification: Performance of SimCode: time 1.833e-06/0.7922, allocations: 1.75 kB / 0.5291 GB, free: 9.418 MB / 446.1 MB Notification: Performance of Templates: time 0.3123/1.104, allocations: 63.48 MB / 0.5911 GB, free: 121.8 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstantCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.o] Error 1