Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 87.44 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001881, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.651/1.651, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 8 kB / 307.3 MB, free: 1.59 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 51.5 MB / 358.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.2792/0.3959, allocations: 31.43 MB / 390.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02148/0.4174, allocations: 7.469 MB / 397.7 MB, free: 15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008816/0.4263, allocations: 144.8 kB / 397.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006524/0.4329, allocations: 1.585 MB / 399.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01753/0.4504, allocations: 4.819 MB / 404.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.4539, allocations: 0.579 MB / 404.8 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007839/0.4618, allocations: 3.846 MB / 408.7 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00651/0.4683, allocations: 3.361 MB / 412 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.4708, allocations: 1.035 MB / 413.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.4734, allocations: 1.651 MB / 414.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000561/0.474, allocations: 124 kB / 414.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.476, allocations: 0.866 MB / 415.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.4774, allocations: 1.406 MB / 417.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008421/0.4783, allocations: 0.7025 MB / 417.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004851/0.4831, allocations: 4.479 MB / 422.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4832, allocations: 0 / 422.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.888e-06/0.4832, allocations: 3.984 kB / 422.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000157/0.4833, allocations: 4 kB / 422.3 MB, free: 12.29 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.006556/0.4899, allocations: 3.429 MB / 425.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4899, allocations: 8.031 kB / 425.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/0.4961, allocations: 1.898 MB / 427.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003933/0.5, allocations: 1.827 MB / 429.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.5002, allocations: 209.2 kB / 429.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/0.5008, allocations: 271.8 kB / 429.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.519, allocations: 10.01 MB / 439.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.5191, allocations: 39.59 kB / 440 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/0.5195, allocations: 131.9 kB / 440.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002858/0.5224, allocations: 1.856 MB / 442 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/0.5398, allocations: 8.545 MB / 450.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0464/0.5863, allocations: 36.83 MB / 487.3 MB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009554/0.5959, allocations: 3.916 MB / 491.3 MB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/0.5984, allocations: 1.796 MB / 493.1 MB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.6093, allocations: 7.615 MB / 0.4889 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.6094, allocations: 51.56 kB / 0.489 GB, free: 11.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.988e-06/0.6094, allocations: 0 / 0.489 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=166): time 0.04909/0.6585, allocations: 17.53 MB / 0.5061 GB, free: 9.848 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/0.6587, allocations: 149.5 kB / 0.5063 GB, free: 9.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005568/0.6642, allocations: 3.446 MB / 0.5096 GB, free: 6.223 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000258/0.6645, allocations: 57.69 kB / 0.5097 GB, free: 6.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002278/0.6668, allocations: 2.732 MB / 0.5123 GB, free: 3.391 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008145/0.6676, allocations: 0.6519 MB / 0.513 GB, free: 2.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.6679, allocations: 112 kB / 0.5131 GB, free: 2.621 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004073/0.6683, allocations: 0.5376 MB / 0.5136 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003197/0.6715, allocations: 1.943 MB / 0.5155 GB, free: 132 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00655/0.678, allocations: 5.377 MB / 0.5208 GB, free: 9.031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004681/0.6827, allocations: 3.139 MB / 0.5238 GB, free: 5.898 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-05/0.6828, allocations: 39.95 kB / 0.5239 GB, free: 5.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.3054/0.9882, allocations: 8.155 MB / 0.5318 GB, free: 139.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.9884, allocations: 58 kB / 0.5319 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002687/0.9887, allocations: 123.4 kB / 0.532 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004785/0.9935, allocations: 1.304 MB / 0.5333 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005523/0.999, allocations: 1.277 MB / 0.5345 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/1.011, allocations: 6.091 MB / 0.5405 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00544/1.017, allocations: 310.4 kB / 0.5408 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/1.018, allocations: 342 kB / 0.5411 GB, free: 137.4 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.004076/1.022, allocations: 1.813 MB / 0.5429 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008423/1.023, allocations: 307.2 kB / 0.5432 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007414/1.03, allocations: 3.385 MB / 0.5465 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.683e-05/1.03, allocations: 28.05 kB / 0.5465 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/1.03, allocations: 4.312 kB / 0.5465 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/1.03, allocations: 8.609 kB / 0.5465 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/1.044, allocations: 7.636 MB / 0.554 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/1.044, allocations: 2.016 kB / 0.554 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/1.045, allocations: 246.7 kB / 0.5542 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/1.048, allocations: 1.123 MB / 0.5553 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/1.048, allocations: 37.86 kB / 0.5553 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007206/1.055, allocations: 5.719 MB / 0.5609 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.055, allocations: 5.938 kB / 0.5609 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008666/1.064, allocations: 5.748 MB / 0.5665 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.065, allocations: 367.1 kB / 0.5669 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/1.065, allocations: 24 kB / 0.5669 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/1.067, allocations: 99.88 kB / 0.567 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/1.067, allocations: 85 kB / 0.5671 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.067, allocations: 51.98 kB / 0.5671 GB, free: 125.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003036/1.07, allocations: 2.126 MB / 0.5692 GB, free: 123 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.07, allocations: 0 / 0.5692 GB, free: 123 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005105/1.075, allocations: 0.9109 MB / 0.5701 GB, free: 122.1 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.000409/1.075, allocations: 164.3 kB / 0.5702 GB, free: 121.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007157/1.083, allocations: 4.789 MB / 0.5749 GB, free: 117.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.083, allocations: 0 / 0.5749 GB, free: 117.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/1.085, allocations: 1.55 MB / 0.5764 GB, free: 115.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.087, allocations: 359.8 kB / 0.5768 GB, free: 115.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.101, allocations: 9.909 MB / 0.5865 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/1.104, allocations: 2.851 MB / 0.5892 GB, free: 102.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009781/1.105, allocations: 267.4 kB / 0.5895 GB, free: 102.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.465e-06/1.105, allocations: 0 / 0.5895 GB, free: 102.2 MB / 446.1 MB Notification: Performance of Templates: time 0.08707/1.192, allocations: 65.09 MB / 0.6531 GB, free: 37.16 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamperCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamperCalcHelperMain.o] Error 1