Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 91.61 kB / 16.95 MB, free: 5.543 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.001389/0.001389, allocations: 189.3 kB / 17.85 MB, free: 5.223 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.599/1.599, allocations: 223.2 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 4 kB / 301.5 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 50.41 MB / 351.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.3166/0.4477, allocations: 31.42 MB / 383.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02401/0.4718, allocations: 7.43 MB / 390.7 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009551/0.4814, allocations: 144.1 kB / 390.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007219/0.4886, allocations: 1.588 MB / 392.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01983/0.5085, allocations: 4.847 MB / 397.3 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.512, allocations: 0.5769 MB / 397.9 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007912/0.5199, allocations: 3.786 MB / 401.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006549/0.5265, allocations: 3.353 MB / 405 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.5291, allocations: 1.046 MB / 406.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.532, allocations: 1.654 MB / 407.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004735/0.5325, allocations: 122.2 kB / 407.8 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.5348, allocations: 0.8816 MB / 408.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.5364, allocations: 1.402 MB / 410.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008977/0.5373, allocations: 0.7064 MB / 410.8 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005511/0.5428, allocations: 4.479 MB / 415.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.5428, allocations: 0 / 415.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.5428, allocations: 0 / 415.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001411/0.543, allocations: 4 kB / 415.3 MB, free: 5.062 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.0081/0.5511, allocations: 3.429 MB / 418.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.5512, allocations: 8.031 kB / 418.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007433/0.5586, allocations: 1.894 MB / 420.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00519/0.5638, allocations: 1.854 MB / 422.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.5641, allocations: 201.2 kB / 422.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005148/0.5646, allocations: 267.9 kB / 423 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.5843, allocations: 9.978 MB / 432.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.5844, allocations: 39.59 kB / 433 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003726/0.5848, allocations: 135.9 kB / 433.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00312/0.5879, allocations: 1.852 MB / 435 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.607, allocations: 8.513 MB / 443.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04921/0.6562, allocations: 36.83 MB / 480.3 MB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009692/0.666, allocations: 3.868 MB / 484.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.6687, allocations: 1.805 MB / 486 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01413/0.6829, allocations: 7.551 MB / 493.5 MB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.564e-05/0.6831, allocations: 47.56 kB / 493.6 MB, free: 4.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 6.732e-06/0.6831, allocations: 0 / 493.6 MB, free: 4.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=166): time 0.05475/0.7378, allocations: 17.35 MB / 0.4989 GB, free: 2.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.738, allocations: 153.5 kB / 0.4991 GB, free: 2.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008241/0.7463, allocations: 3.446 MB / 0.5025 GB, free: 15.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005602/0.7469, allocations: 45.7 kB / 0.5025 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00295/0.7498, allocations: 2.743 MB / 0.5052 GB, free: 12.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001367/0.7512, allocations: 0.6441 MB / 0.5058 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006741/0.7519, allocations: 108 kB / 0.5059 GB, free: 11.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0006009/0.7525, allocations: 0.5376 MB / 0.5064 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004081/0.7566, allocations: 1.932 MB / 0.5083 GB, free: 9.281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007094/0.7637, allocations: 5.35 MB / 0.5135 GB, free: 2.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005923/0.7697, allocations: 3.127 MB / 0.5166 GB, free: 15.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001524/0.7699, allocations: 32 kB / 0.5166 GB, free: 15.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01988/0.7898, allocations: 8.129 MB / 0.5246 GB, free: 6.914 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.79, allocations: 56 kB / 0.5246 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003151/0.7904, allocations: 124 kB / 0.5247 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004089/0.7945, allocations: 1.311 MB / 0.526 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/0.7988, allocations: 1.263 MB / 0.5273 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3/1.099, allocations: 6.087 MB / 0.5332 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004893/1.104, allocations: 301.9 kB / 0.5335 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.105, allocations: 342.9 kB / 0.5338 GB, free: 138.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (685): * Single equations (assignments): 681 * 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,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004089/1.109, allocations: 1.81 MB / 0.5356 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007197/1.11, allocations: 307.1 kB / 0.5359 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008228/1.118, allocations: 3.361 MB / 0.5392 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.851e-05/1.118, allocations: 18.53 kB / 0.5392 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/1.118, allocations: 13.11 kB / 0.5392 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/1.118, allocations: 11.92 kB / 0.5392 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.135, allocations: 7.599 MB / 0.5466 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/1.135, allocations: 1.656 kB / 0.5466 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.136, allocations: 239.5 kB / 0.5468 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003631/1.14, allocations: 1.114 MB / 0.5479 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002571/1.14, allocations: 37.06 kB / 0.548 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007946/1.148, allocations: 5.713 MB / 0.5535 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.148, allocations: 0 / 0.5535 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009065/1.157, allocations: 5.693 MB / 0.5591 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.159, allocations: 361.5 kB / 0.5595 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/1.159, allocations: 28.3 kB / 0.5595 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.16, allocations: 99.97 kB / 0.5596 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/1.16, allocations: 86.91 kB / 0.5597 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/1.16, allocations: 46.33 kB / 0.5597 GB, free: 131.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003608/1.164, allocations: 2.126 MB / 0.5618 GB, free: 131 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.693e-06/1.164, allocations: 0 / 0.5618 GB, free: 131 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005297/1.169, allocations: 0.9202 MB / 0.5627 GB, free: 130.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005166/1.17, allocations: 166.6 kB / 0.5628 GB, free: 130.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007621/1.177, allocations: 4.749 MB / 0.5675 GB, free: 128.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.178, allocations: 0 / 0.5675 GB, free: 128.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002095/1.18, allocations: 1.532 MB / 0.569 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/1.182, allocations: 340.7 kB / 0.5693 GB, free: 126.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/1.198, allocations: 9.904 MB / 0.579 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/1.2, allocations: 2.851 MB / 0.5818 GB, free: 113.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.202, allocations: 263.4 kB / 0.582 GB, free: 113.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/1.202, allocations: 0 / 0.582 GB, free: 113.6 MB / 446.1 MB Notification: Performance of Templates: time 0.08956/1.291, allocations: 65.22 MB / 0.6457 GB, free: 48.51 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamperCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamperCalcHelperMain.o] Error 1