Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009908/0.000991, allocations: 95.92 kB / 16.96 MB, free: 5.559 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.001111/0.001112, allocations: 188.2 kB / 17.85 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.2 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003144, allocations: 7.984 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.3513/0.4992, allocations: 31.36 MB / 383.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02583/0.5251, allocations: 7.438 MB / 390.7 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01169/0.5369, allocations: 150.5 kB / 390.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008198/0.5451, allocations: 1.571 MB / 392.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02194/0.5671, allocations: 4.854 MB / 397.2 MB, free: 2.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003928/0.5711, allocations: 0.5042 MB / 397.7 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008282/0.5794, allocations: 3.771 MB / 401.5 MB, free: 280 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006112/0.5855, allocations: 2.956 MB / 404.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003099/0.5887, allocations: 1.039 MB / 405.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003554/0.5923, allocations: 1.588 MB / 407.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006978/0.593, allocations: 115.9 kB / 407.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.5955, allocations: 0.814 MB / 408 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001908/0.5975, allocations: 1.395 MB / 409.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.5986, allocations: 0.7026 MB / 410.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.6045, allocations: 4.424 MB / 414.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.6045, allocations: 0 / 414.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.6046, allocations: 0 / 414.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002231/0.6048, allocations: 0 / 414.6 MB, free: 5.879 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.008932/0.6137, allocations: 3.351 MB / 417.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/0.6138, allocations: 8.031 kB / 417.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00673/0.6205, allocations: 1.82 MB / 419.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/0.6259, allocations: 1.869 MB / 421.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.6261, allocations: 192.8 kB / 421.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007043/0.6268, allocations: 251.8 kB / 422 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.6438, allocations: 8.423 MB / 430.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.644, allocations: 35.69 kB / 430.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003506/0.6443, allocations: 135.8 kB / 430.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002802/0.6471, allocations: 1.695 MB / 432.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/0.6628, allocations: 7.075 MB / 439.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05417/0.7171, allocations: 34.14 MB / 473.5 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009118/0.7262, allocations: 3.27 MB / 476.8 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/0.7293, allocations: 1.457 MB / 478.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/0.7415, allocations: 4.354 MB / 482.6 MB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.16e-05/0.7416, allocations: 43.06 kB / 482.7 MB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 5.38e-06/0.7417, allocations: 3.938 kB / 482.7 MB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.0366/0.7783, allocations: 11.47 MB / 494.1 MB, free: 3.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.7785, allocations: 141.2 kB / 494.3 MB, free: 3.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009878/0.7884, allocations: 3.701 MB / 498 MB, free: 92 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004811/0.7889, allocations: 45.7 kB / 498 MB, free: 40 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003267/0.7922, allocations: 2.74 MB / 0.489 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.7933, allocations: 0.5249 MB / 0.4895 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.7937, allocations: 104 kB / 0.4896 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004358/0.7941, allocations: 0.5292 MB / 0.4902 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/0.7971, allocations: 1.685 MB / 0.4918 GB, free: 10.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006235/0.8033, allocations: 5.116 MB / 0.4968 GB, free: 3.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005794/0.8092, allocations: 2.878 MB / 0.4996 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/0.8094, allocations: 32 kB / 0.4996 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0145/0.8239, allocations: 6.686 MB / 0.5062 GB, free: 9.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.8241, allocations: 56 kB / 0.5062 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002606/0.8244, allocations: 124 kB / 0.5063 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007698/0.8252, allocations: 337.1 kB / 0.5067 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/0.8294, allocations: 1.244 MB / 0.5079 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003103/0.8326, allocations: 2.282 MB / 0.5101 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/0.8372, allocations: 287.5 kB / 0.5104 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007929/0.838, allocations: 336 kB / 0.5107 GB, free: 5.164 MB / 430.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.004811/0.8428, allocations: 1.787 MB / 0.5124 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/0.8439, allocations: 308 kB / 0.5127 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006066/0.8499, allocations: 2.359 MB / 0.515 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.692e-05/0.85, allocations: 19.95 kB / 0.5151 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/0.85, allocations: 4.125 kB / 0.5151 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.8501, allocations: 3.984 kB / 0.5151 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/0.8692, allocations: 5.938 MB / 0.5209 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/0.8693, allocations: 0 / 0.5209 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/0.8702, allocations: 171.8 kB / 0.521 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/0.8726, allocations: 0.7147 MB / 0.5217 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.8728, allocations: 23.98 kB / 0.5217 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007039/0.8799, allocations: 4.466 MB / 0.5261 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8799, allocations: 0 / 0.5261 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00886/0.8888, allocations: 4.309 MB / 0.5303 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/0.8905, allocations: 372.9 kB / 0.5307 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009645/0.8915, allocations: 23.98 kB / 0.5307 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/0.8934, allocations: 63.92 kB / 0.5308 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.8937, allocations: 68.62 kB / 0.5308 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.8938, allocations: 39.98 kB / 0.5309 GB, free: 224 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.3231/1.217, allocations: 2.291 MB / 0.5331 GB, free: 147 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.217, allocations: 0 / 0.5331 GB, free: 147 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00606/1.223, allocations: 0.8232 MB / 0.5339 GB, free: 147 MB / 446.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.0004911/1.224, allocations: 156.6 kB / 0.5341 GB, free: 146.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007387/1.231, allocations: 4.01 MB / 0.538 GB, free: 146.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.231, allocations: 3.562 kB / 0.538 GB, free: 146.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.233, allocations: 1.104 MB / 0.539 GB, free: 145.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/1.236, allocations: 368.8 kB / 0.5394 GB, free: 145.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/1.252, allocations: 9.007 MB / 0.5482 GB, free: 141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002815/1.255, allocations: 2.788 MB / 0.5509 GB, free: 139.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.256, allocations: 252.2 kB / 0.5512 GB, free: 139.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/1.256, allocations: 0 / 0.5512 GB, free: 139.8 MB / 446.1 MB Notification: Performance of Templates: time 0.08414/1.34, allocations: 63.42 MB / 0.6131 GB, free: 84.26 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.o] Error 1