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.001354/0.001354, allocations: 110.1 kB / 17.81 MB, free: 5.559 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.001479/0.001479, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.932/1.932, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001217/0.001217, allocations: 44.36 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, allocations: 46.63 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.04361/0.1845, allocations: 34.77 MB / 362 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02543/0.21, allocations: 7.919 MB / 369.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01215/0.2223, allocations: 147.6 kB / 370.1 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006497/0.2289, allocations: 2.049 MB / 372.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006673/0.2356, allocations: 1.534 MB / 373.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.2381, allocations: 0.6358 MB / 374.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008472/0.2466, allocations: 4.797 MB / 379.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3361/0.5827, allocations: 2.68 MB / 381.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.5867, allocations: 1.127 MB / 382.9 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005095/0.5918, allocations: 1.888 MB / 384.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.5931, allocations: 193.7 kB / 385 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.5975, allocations: 1.113 MB / 386.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003613/0.6012, allocations: 1.543 MB / 387.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004155/0.6053, allocations: 1.819 MB / 389.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007177/0.6125, allocations: 4.584 MB / 394 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.6125, allocations: 0 / 394 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6126, allocations: 0 / 394 MB, free: 9.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001419/0.6127, allocations: 0 / 394 MB, free: 9.406 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.01097/0.6237, allocations: 4.139 MB / 398.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.726e-05/0.6238, allocations: 10.56 kB / 398.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006772/0.6305, allocations: 1.853 MB / 400 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/0.6351, allocations: 1.922 MB / 402 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.6353, allocations: 213 kB / 402.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000514/0.6358, allocations: 267.9 kB / 402.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02565/0.6614, allocations: 9.98 MB / 412.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002783/0.6618, allocations: 42.14 kB / 412.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001507/0.6633, allocations: 131.8 kB / 412.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004017/0.6673, allocations: 1.85 MB / 414.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02525/0.6926, allocations: 8.541 MB / 423 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07373/0.7664, allocations: 36.86 MB / 459.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.7788, allocations: 3.883 MB / 463.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00327/0.7821, allocations: 1.813 MB / 465.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/0.7985, allocations: 7.527 MB / 473.1 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.022e-05/0.7986, allocations: 51.5 kB / 473.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 7.273e-06/0.7987, allocations: 5.312 kB / 473.1 MB, free: 6.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=166): time 0.06603/0.8647, allocations: 17.44 MB / 490.6 MB, free: 4.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.865, allocations: 141.5 kB / 490.7 MB, free: 4.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/0.8772, allocations: 3.485 MB / 494.2 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006611/0.8779, allocations: 45.7 kB / 494.2 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003522/0.8815, allocations: 2.745 MB / 497 MB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/0.883, allocations: 0.6406 MB / 497.6 MB, free: 13.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004166/0.8872, allocations: 1.121 MB / 498.7 MB, free: 12.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.8874, allocations: 305.1 kB / 499 MB, free: 11.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005043/0.8924, allocations: 1.947 MB / 0.4892 GB, free: 10.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009195/0.9016, allocations: 5.379 MB / 0.4945 GB, free: 3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/0.9157, allocations: 7.92 MB / 0.5022 GB, free: 9.875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001847/0.9159, allocations: 40 kB / 0.5023 GB, free: 9.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.02384/0.9398, allocations: 8.17 MB / 0.5102 GB, free: 2.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003031/0.9402, allocations: 56 kB / 0.5103 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004556/0.9406, allocations: 120 kB / 0.5104 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/0.9453, allocations: 1.3 MB / 0.5117 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005591/0.951, allocations: 1.263 MB / 0.5129 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.9623, allocations: 6.111 MB / 0.5189 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00719/0.9696, allocations: 302 kB / 0.5192 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/0.9715, allocations: 344 kB / 0.5195 GB, free: 8.949 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.006353/0.9779, allocations: 1.817 MB / 0.5213 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/0.9791, allocations: 304.1 kB / 0.5216 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009678/0.9888, allocations: 3.364 MB / 0.5248 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.765e-05/0.9888, allocations: 20 kB / 0.5249 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.03e-05/0.9889, allocations: 4 kB / 0.5249 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/0.9889, allocations: 16 kB / 0.5249 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02238/1.011, allocations: 7.605 MB / 0.5323 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/1.011, allocations: 4 kB / 0.5323 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.013, allocations: 239.7 kB / 0.5325 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004015/1.017, allocations: 1.12 MB / 0.5336 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003021/1.017, allocations: 24 kB / 0.5337 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009954/1.027, allocations: 5.729 MB / 0.5392 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.027, allocations: 0 / 0.5392 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.36/1.387, allocations: 5.698 MB / 0.5448 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.39, allocations: 0.5706 MB / 0.5454 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004577/1.39, allocations: 29.03 kB / 0.5454 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.392, allocations: 88.72 kB / 0.5455 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/1.392, allocations: 92.97 kB / 0.5456 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.392, allocations: 43.58 kB / 0.5456 GB, free: 138 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004896/1.397, allocations: 2.158 MB / 0.5477 GB, free: 137.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.397, allocations: 0 / 0.5477 GB, free: 137.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007304/1.404, allocations: 0.9169 MB / 0.5486 GB, free: 137.8 MB / 462.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.0006835/1.405, allocations: 171.5 kB / 0.5488 GB, free: 137.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01194/1.417, allocations: 4.779 MB / 0.5534 GB, free: 137.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.417, allocations: 0 / 0.5534 GB, free: 137.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003279/1.42, allocations: 1.534 MB / 0.5549 GB, free: 137.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/1.424, allocations: 347.6 kB / 0.5553 GB, free: 137.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/1.444, allocations: 10.19 MB / 0.5652 GB, free: 133.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003424/1.448, allocations: 2.857 MB / 0.568 GB, free: 132.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.449, allocations: 261.2 kB / 0.5683 GB, free: 132.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/1.449, allocations: 2.734 kB / 0.5683 GB, free: 132.2 MB / 462.1 MB Notification: Performance of Templates: time 0.09417/1.543, allocations: 65.78 MB / 0.6325 GB, free: 75.32 MB / 462.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