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.001309/0.001309, 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.001501/0.001501, 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.903/1.903, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.00124/0.00124, allocations: 47.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1395, allocations: 46.63 MB / 327.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.03805/0.1776, allocations: 34.69 MB / 361.9 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02485/0.2025, allocations: 7.898 MB / 369.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009866/0.2125, allocations: 147.6 kB / 370 MB, free: 10 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005402/0.218, allocations: 1.932 MB / 371.9 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006808/0.2248, allocations: 1.538 MB / 373.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.2272, allocations: 0.5616 MB / 374 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007379/0.2346, allocations: 4.75 MB / 378.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3179/0.5526, allocations: 2.555 MB / 381.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.5571, allocations: 1.099 MB / 382.4 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005304/0.5624, allocations: 1.797 MB / 384.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.5643, allocations: 174.9 kB / 384.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004471/0.5688, allocations: 1.011 MB / 385.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004211/0.5731, allocations: 1.509 MB / 386.9 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006807/0.5799, allocations: 1.77 MB / 388.7 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009203/0.5892, allocations: 4.53 MB / 393.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.5892, allocations: 0 / 393.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5892, allocations: 0 / 393.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003783/0.5896, allocations: 0 / 393.2 MB, free: 9.051 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.02045/0.6101, allocations: 4.021 MB / 397.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.529e-05/0.6102, allocations: 9.625 kB / 397.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008932/0.6191, allocations: 1.777 MB / 399 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008211/0.6273, allocations: 1.959 MB / 401 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004466/0.6278, allocations: 192.4 kB / 401.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002491/0.6304, allocations: 261.9 kB / 401.4 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.6552, allocations: 8.424 MB / 409.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000308/0.6555, allocations: 46.03 kB / 409.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001666/0.6572, allocations: 122.9 kB / 410 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003421/0.6606, allocations: 1.699 MB / 411.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/0.6803, allocations: 7.098 MB / 418.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06327/0.7436, allocations: 34.16 MB / 453 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00891/0.7526, allocations: 3.278 MB / 456.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/0.7551, allocations: 1.454 MB / 457.7 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009104/0.7643, allocations: 4.38 MB / 462.1 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.7643, allocations: 47.12 kB / 462.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 4.989e-06/0.7644, allocations: 0 / 462.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.03392/0.7983, allocations: 11.53 MB / 473.7 MB, free: 5.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.7984, allocations: 148.4 kB / 473.8 MB, free: 5.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007614/0.8061, allocations: 3.733 MB / 477.5 MB, free: 1.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003389/0.8064, allocations: 41.7 kB / 477.6 MB, free: 1.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002532/0.809, allocations: 2.753 MB / 480.3 MB, free: 14.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008471/0.8098, allocations: 0.5222 MB / 480.9 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001643/0.8115, allocations: 1.075 MB / 481.9 MB, free: 13.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8116, allocations: 305.1 kB / 482.2 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/0.8148, allocations: 1.709 MB / 483.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007096/0.8219, allocations: 5.125 MB / 489.1 MB, free: 4.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.833, allocations: 7.422 MB / 496.5 MB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.8332, allocations: 40 kB / 496.5 MB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01435/0.8476, allocations: 6.713 MB / 0.4914 GB, free: 5.609 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.8477, allocations: 59.94 kB / 0.4915 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001553/0.8479, allocations: 124 kB / 0.4916 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007099/0.8486, allocations: 320.7 kB / 0.4919 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/0.8525, allocations: 1.241 MB / 0.4931 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.8555, allocations: 2.284 MB / 0.4954 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005598/0.8611, allocations: 293.5 kB / 0.4956 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/0.8627, allocations: 332 kB / 0.496 GB, free: 1.016 MB / 414.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 (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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006794/0.8695, allocations: 1.791 MB / 0.4977 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/0.8711, allocations: 308 kB / 0.498 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00651/0.8776, allocations: 2.368 MB / 0.5003 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-05/0.8777, allocations: 22.36 kB / 0.5003 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/0.8777, allocations: 4 kB / 0.5003 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/0.8778, allocations: 3.984 kB / 0.5003 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/0.8992, allocations: 5.913 MB / 0.5061 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/0.8993, allocations: 4 kB / 0.5061 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009285/0.9002, allocations: 175.7 kB / 0.5063 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/0.9025, allocations: 0.7152 MB / 0.507 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/0.9027, allocations: 20 kB / 0.507 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006572/0.9093, allocations: 4.464 MB / 0.5114 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.9093, allocations: 4 kB / 0.5114 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007682/0.917, allocations: 4.325 MB / 0.5156 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/0.9188, allocations: 0.5281 MB / 0.5161 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009708/0.9198, allocations: 27.89 kB / 0.5161 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.9215, allocations: 67.98 kB / 0.5162 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.9217, allocations: 68.5 kB / 0.5163 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.9218, allocations: 35.98 kB / 0.5163 GB, free: 12.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006332/0.9282, allocations: 2.331 MB / 0.5186 GB, free: 9.727 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9282, allocations: 0 / 0.5186 GB, free: 9.727 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006673/0.9349, allocations: 0.822 MB / 0.5194 GB, free: 8.906 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 (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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006828/0.9356, allocations: 161.4 kB / 0.5195 GB, free: 8.738 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0084/0.944, allocations: 4.022 MB / 0.5235 GB, free: 4.742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.944, allocations: 4 kB / 0.5235 GB, free: 4.738 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.946, allocations: 1.104 MB / 0.5245 GB, free: 3.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00427/0.9503, allocations: 376.2 kB / 0.5249 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/0.9725, allocations: 9.328 MB / 0.534 GB, free: 9.879 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005554/0.9781, allocations: 2.789 MB / 0.5367 GB, free: 7.066 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/0.9794, allocations: 251.4 kB / 0.537 GB, free: 6.82 MB / 462.1 MB Notification: Performance of SimCode: time 2.104e-06/0.9794, allocations: 0 / 0.537 GB, free: 6.82 MB / 462.1 MB Notification: Performance of Templates: time 0.3634/1.343, allocations: 63.96 MB / 0.5994 GB, free: 136.3 MB / 462.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++ -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.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