Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001234/0.001234, allocations: 99.45 kB / 17.96 MB, free: 5.766 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.001766/0.001766, allocations: 178.7 kB / 18.86 MB, free: 4.906 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.939/1.939, allocations: 205.4 MB / 225 MB, free: 12.98 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.0004787/0.0004787, allocations: 12 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1326, allocations: 47.59 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.03611/0.1688, allocations: 33.76 MB / 363.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02369/0.1926, allocations: 7.861 MB / 371.2 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009923/0.2025, allocations: 147.6 kB / 371.4 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.2043, allocations: 378 kB / 371.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005252/0.2096, allocations: 1.538 MB / 373.3 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.2114, allocations: 0.628 MB / 373.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007031/0.2184, allocations: 4.789 MB / 378.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3312/0.5497, allocations: 3.756 MB / 382.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.5534, allocations: 0.9649 MB / 383.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004015/0.5574, allocations: 1.677 MB / 385.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007426/0.5582, allocations: 123.5 kB / 385.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.5618, allocations: 1.042 MB / 386.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00265/0.5644, allocations: 1.437 MB / 387.7 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002643/0.5671, allocations: 1.721 MB / 389.4 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008955/0.5761, allocations: 4.493 MB / 393.9 MB, free: 9.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.5761, allocations: 0 / 393.9 MB, free: 9.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.5761, allocations: 0 / 393.9 MB, free: 9.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002355/0.5764, allocations: 0 / 393.9 MB, free: 9.121 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.01015/0.5865, allocations: 3.382 MB / 397.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.129e-05/0.5866, allocations: 9.406 kB / 397.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007452/0.5941, allocations: 1.905 MB / 399.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005679/0.5998, allocations: 1.926 MB / 401.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.6001, allocations: 204.8 kB / 401.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.6013, allocations: 269 kB / 401.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/0.625, allocations: 10 MB / 411.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.6252, allocations: 36.77 kB / 411.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004536/0.6256, allocations: 135.6 kB / 411.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003257/0.6289, allocations: 1.851 MB / 413.6 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/0.6497, allocations: 8.551 MB / 422.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05769/0.7075, allocations: 36.85 MB / 459 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.7183, allocations: 3.872 MB / 462.9 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/0.7211, allocations: 1.81 MB / 464.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01337/0.7345, allocations: 7.542 MB / 472.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.7346, allocations: 52.72 kB / 472.3 MB, free: 7.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 6.101e-06/0.7346, allocations: 0 / 472.3 MB, free: 7.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=166): time 0.05368/0.7883, allocations: 17.39 MB / 489.7 MB, free: 6.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.7885, allocations: 150.4 kB / 489.8 MB, free: 6.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005536/0.794, allocations: 3.489 MB / 493.3 MB, free: 2.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00022/0.7943, allocations: 53.7 kB / 493.4 MB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00225/0.7965, allocations: 2.733 MB / 496.1 MB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008794/0.7974, allocations: 0.6453 MB / 496.8 MB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000666/0.7981, allocations: 478.3 kB / 497.2 MB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7982, allocations: 301.1 kB / 497.5 MB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003484/0.8017, allocations: 1.955 MB / 499.5 MB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006536/0.8083, allocations: 5.367 MB / 0.493 GB, free: 5.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/0.8201, allocations: 7.932 MB / 0.5008 GB, free: 12.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/0.8202, allocations: 32 kB / 0.5008 GB, free: 12.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01826/0.8385, allocations: 8.186 MB / 0.5088 GB, free: 4.895 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.8386, allocations: 60 kB / 0.5088 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/0.8388, allocations: 120 kB / 0.509 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004233/0.843, allocations: 1.297 MB / 0.5102 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003943/0.847, allocations: 1.262 MB / 0.5115 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009284/0.8563, allocations: 6.109 MB / 0.5174 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005461/0.8618, allocations: 295.6 kB / 0.5177 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00125/0.863, allocations: 344 kB / 0.518 GB, free: 11.47 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 (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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005888/0.8689, allocations: 1.817 MB / 0.5198 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/0.87, allocations: 304.1 kB / 0.5201 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008731/0.8788, allocations: 3.372 MB / 0.5234 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.8788, allocations: 20 kB / 0.5234 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/0.8788, allocations: 4 kB / 0.5234 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/0.8789, allocations: 11.91 kB / 0.5234 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3219/1.201, allocations: 7.597 MB / 0.5308 GB, free: 161.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/1.201, allocations: 4.062 kB / 0.5309 GB, free: 161.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.202, allocations: 241.8 kB / 0.5311 GB, free: 161.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004075/1.206, allocations: 1.116 MB / 0.5322 GB, free: 161.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002568/1.207, allocations: 29.19 kB / 0.5322 GB, free: 161.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/1.217, allocations: 5.716 MB / 0.5378 GB, free: 160.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.217, allocations: 4.875 kB / 0.5378 GB, free: 160.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.227, allocations: 5.712 MB / 0.5434 GB, free: 158.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.228, allocations: 0.5794 MB / 0.5439 GB, free: 157.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/1.229, allocations: 27.88 kB / 0.544 GB, free: 157.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.23, allocations: 95.73 kB / 0.544 GB, free: 157.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/1.23, allocations: 88.64 kB / 0.5441 GB, free: 157.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.23, allocations: 45.44 kB / 0.5442 GB, free: 157.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003189/1.234, allocations: 2.159 MB / 0.5463 GB, free: 157.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.234, allocations: 1.125 kB / 0.5463 GB, free: 157.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0047/1.238, allocations: 0.9124 MB / 0.5472 GB, free: 157 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 (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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003964/1.239, allocations: 171.4 kB / 0.5473 GB, free: 156.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007649/1.246, allocations: 4.783 MB / 0.552 GB, free: 155.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.246, allocations: 0 / 0.552 GB, free: 155.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/1.248, allocations: 1.536 MB / 0.5535 GB, free: 154.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/1.251, allocations: 340.9 kB / 0.5538 GB, free: 154.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.267, allocations: 10.3 MB / 0.5639 GB, free: 146.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/1.27, allocations: 2.847 MB / 0.5667 GB, free: 143.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.271, allocations: 262.4 kB / 0.5669 GB, free: 143.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.174e-06/1.271, allocations: 0 / 0.5669 GB, free: 143.6 MB / 446.1 MB Notification: Performance of Templates: time 0.09356/1.365, allocations: 65.09 MB / 0.6305 GB, free: 79.15 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamperCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamperCalcHelperMain.o] Error 1