Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008972/0.0008974, allocations: 94.11 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009235/0.0009235, allocations: 198.6 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002467, allocations: 8 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2932/0.4179, allocations: 31.38 MB / 390.2 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02602/0.444, allocations: 7.461 MB / 397.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01076/0.4548, allocations: 146.2 kB / 397.8 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008504/0.4634, allocations: 1.57 MB / 399.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02269/0.4861, allocations: 4.841 MB / 404.2 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.4903, allocations: 0.5042 MB / 404.7 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008763/0.4991, allocations: 3.838 MB / 408.5 MB, free: 9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005923/0.505, allocations: 2.967 MB / 411.5 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002787/0.5079, allocations: 1.043 MB / 412.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002852/0.5107, allocations: 1.589 MB / 414.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005239/0.5113, allocations: 112 kB / 414.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.5134, allocations: 0.788 MB / 415 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.5152, allocations: 1.391 MB / 416.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.5162, allocations: 0.6987 MB / 417.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006419/0.5226, allocations: 4.428 MB / 421.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.098e-06/0.5227, allocations: 0 / 421.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5227, allocations: 0 / 421.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001956/0.5229, allocations: 0 / 421.5 MB, free: 13.11 MB / 334.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.008585/0.5315, allocations: 3.363 MB / 424.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5315, allocations: 8.031 kB / 424.9 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006613/0.5382, allocations: 1.82 MB / 426.7 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/0.5433, allocations: 1.845 MB / 428.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.5435, allocations: 192.8 kB / 428.8 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006193/0.5441, allocations: 251.9 kB / 429 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01753/0.5617, allocations: 8.439 MB / 437.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.5619, allocations: 39.69 kB / 437.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004078/0.5623, allocations: 131.8 kB / 437.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003134/0.5654, allocations: 1.692 MB / 439.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.5819, allocations: 7.087 MB / 446.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06179/0.6437, allocations: 34.13 MB / 480.5 MB, free: 316 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008404/0.6522, allocations: 3.294 MB / 483.8 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.6547, allocations: 1.462 MB / 485.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009554/0.6643, allocations: 4.456 MB / 489.7 MB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.6645, allocations: 43.06 kB / 489.8 MB, free: 6.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 5.651e-06/0.6646, allocations: 0 / 489.8 MB, free: 6.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.03188/0.6964, allocations: 11.53 MB / 0.4896 GB, free: 10.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.6967, allocations: 145.2 kB / 0.4897 GB, free: 10.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006669/0.7034, allocations: 3.698 MB / 0.4933 GB, free: 7.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002895/0.7037, allocations: 41.7 kB / 0.4934 GB, free: 7.059 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002743/0.7064, allocations: 2.744 MB / 0.496 GB, free: 4.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008313/0.7073, allocations: 0.5248 MB / 0.4965 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.7075, allocations: 104 kB / 0.4966 GB, free: 3.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004246/0.7079, allocations: 0.5292 MB / 0.4972 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002929/0.7109, allocations: 1.693 MB / 0.4988 GB, free: 1.406 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006498/0.7174, allocations: 5.116 MB / 0.5038 GB, free: 10.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004862/0.7223, allocations: 2.888 MB / 0.5066 GB, free: 7.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.631e-05/0.7224, allocations: 36 kB / 0.5067 GB, free: 7.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01458/0.737, allocations: 6.686 MB / 0.5132 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.7372, allocations: 56 kB / 0.5132 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/0.7374, allocations: 127.9 kB / 0.5134 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007524/0.7381, allocations: 341.3 kB / 0.5137 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/0.7424, allocations: 1.244 MB / 0.5149 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.7456, allocations: 2.279 MB / 0.5171 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/0.7502, allocations: 287.5 kB / 0.5174 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007085/0.7509, allocations: 340 kB / 0.5177 GB, free: 12.16 MB / 446.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.003782/0.7547, allocations: 1.791 MB / 0.5195 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007391/0.7555, allocations: 312 kB / 0.5198 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/0.7608, allocations: 2.363 MB / 0.5221 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-05/0.7609, allocations: 19.94 kB / 0.5221 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.7609, allocations: 4 kB / 0.5221 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.7609, allocations: 3.984 kB / 0.5221 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.7743, allocations: 5.938 MB / 0.5279 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/0.7743, allocations: 7.938 kB / 0.5279 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009028/0.7753, allocations: 183.8 kB / 0.5281 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/0.7775, allocations: 0.7068 MB / 0.5288 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.7777, allocations: 23.98 kB / 0.5288 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3362/1.114, allocations: 4.453 MB / 0.5332 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.114, allocations: 1.891 kB / 0.5332 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/1.124, allocations: 4.338 MB / 0.5374 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/1.126, allocations: 369.5 kB / 0.5378 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006139/1.127, allocations: 18.64 kB / 0.5378 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/1.128, allocations: 68.59 kB / 0.5378 GB, free: 139.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/1.128, allocations: 68.97 kB / 0.5379 GB, free: 139.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.128, allocations: 41.22 kB / 0.5379 GB, free: 139.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005063/1.134, allocations: 2.304 MB / 0.5402 GB, free: 138.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.134, allocations: 0 / 0.5402 GB, free: 138.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007776/1.141, allocations: 0.8137 MB / 0.541 GB, free: 138.6 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.0006184/1.142, allocations: 155.6 kB / 0.5411 GB, free: 138.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01046/1.152, allocations: 4.02 MB / 0.5451 GB, free: 137.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.153, allocations: 1.312 kB / 0.5451 GB, free: 137.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002383/1.155, allocations: 1.112 MB / 0.5461 GB, free: 136.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/1.159, allocations: 372.1 kB / 0.5465 GB, free: 136.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.172, allocations: 9.031 MB / 0.5553 GB, free: 131.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.174, allocations: 2.788 MB / 0.558 GB, free: 130.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007946/1.175, allocations: 248.2 kB / 0.5583 GB, free: 130.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/1.175, allocations: 0 / 0.5583 GB, free: 130.7 MB / 446.1 MB Notification: Performance of Templates: time 0.07673/1.252, allocations: 63.37 MB / 0.6202 GB, free: 70.99 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.o] Error 1