Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009389/0.000939, allocations: 97.61 kB / 17.96 MB, free: 5.77 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.001119/0.00112, allocations: 178 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 2.048/2.048, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005578/0.0005579, allocations: 8 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1325, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04715/0.1797, allocations: 41.04 MB / 370.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02596/0.2057, allocations: 9.111 MB / 379.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01239/0.2181, allocations: 179.5 kB / 379.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.2203, allocations: 409.9 kB / 380.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3087/0.5289, allocations: 1.646 MB / 382 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.5309, allocations: 0.6237 MB / 382.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01061/0.5415, allocations: 5.336 MB / 387.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008569/0.5501, allocations: 4.831 MB / 392.8 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.553, allocations: 1.105 MB / 393.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/0.5564, allocations: 1.832 MB / 395.7 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006062/0.557, allocations: 139.2 kB / 395.8 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.5596, allocations: 1.037 MB / 396.9 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.5613, allocations: 1.638 MB / 398.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.5631, allocations: 1.942 MB / 400.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00538/0.5685, allocations: 5.105 MB / 405.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5685, allocations: 0 / 405.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.5685, allocations: 0 / 405.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000245/0.5688, allocations: 6.688 kB / 405.6 MB, free: 4.625 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.009072/0.5779, allocations: 3.74 MB / 409.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.5779, allocations: 9.938 kB / 409.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006979/0.5849, allocations: 1.924 MB / 411.3 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004714/0.5896, allocations: 2.041 MB / 413.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.59, allocations: 257.4 kB / 413.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.5911, allocations: 392.1 kB / 413.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02623/0.6173, allocations: 10.08 MB / 424 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002732/0.6176, allocations: 36.81 kB / 424 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001885/0.6195, allocations: 158.2 kB / 424.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004163/0.6237, allocations: 1.864 MB / 426.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02193/0.6457, allocations: 8.334 MB / 434.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06844/0.7142, allocations: 39.4 MB / 473.8 MB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.7264, allocations: 4.006 MB / 477.8 MB, free: 400 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/0.7295, allocations: 1.422 MB / 479.2 MB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01855/0.7481, allocations: 7.628 MB / 486.8 MB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.7483, allocations: 50.19 kB / 486.9 MB, free: 6.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 8.055e-06/0.7483, allocations: 0 / 486.9 MB, free: 6.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.04104/0.7893, allocations: 12.43 MB / 499.3 MB, free: 10.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002085/0.7915, allocations: 1.593 MB / 0.4892 GB, free: 8.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/0.8016, allocations: 3.82 MB / 0.4929 GB, free: 4.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005219/0.8022, allocations: 46.8 kB / 0.493 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003406/0.8056, allocations: 3.113 MB / 0.496 GB, free: 1.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001335/0.807, allocations: 0.6546 MB / 0.4966 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/0.8087, allocations: 0.5272 MB / 0.4971 GB, free: 372 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8089, allocations: 301.1 kB / 0.4974 GB, free: 68 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004648/0.8136, allocations: 2.034 MB / 0.4994 GB, free: 14.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008762/0.8224, allocations: 5.973 MB / 0.5053 GB, free: 6.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/0.8355, allocations: 8.62 MB / 0.5137 GB, free: 12.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002178/0.8357, allocations: 40 kB / 0.5137 GB, free: 12.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.03001/0.8657, allocations: 9.725 MB / 0.5232 GB, free: 2.531 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.866, allocations: 68 kB / 0.5233 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0138/0.8798, allocations: 3.747 MB / 0.5269 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/0.893, allocations: 2.621 MB / 0.5295 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005318/0.8984, allocations: 1.372 MB / 0.5308 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.9102, allocations: 7.173 MB / 0.5378 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007022/0.9173, allocations: 403.3 kB / 0.5382 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001955/0.9193, allocations: 388 kB / 0.5386 GB, free: 2.449 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.006556/0.9259, allocations: 2.015 MB / 0.5406 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/0.9271, allocations: 323.8 kB / 0.5409 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2744/1.201, allocations: 3.125 MB / 0.5439 GB, free: 174.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006333/1.208, allocations: 2.677 MB / 0.5465 GB, free: 174.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/1.208, allocations: 8 kB / 0.5465 GB, free: 174.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-05/1.208, allocations: 7.906 kB / 0.5465 GB, free: 174.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/1.227, allocations: 8.563 MB / 0.5549 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/1.227, allocations: 3.969 kB / 0.5549 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008993/1.228, allocations: 194.5 kB / 0.5551 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004669/1.233, allocations: 1.441 MB / 0.5565 GB, free: 171.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/1.233, allocations: 36.84 kB / 0.5565 GB, free: 171.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005526/1.238, allocations: 5.714 MB / 0.5621 GB, free: 167.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008024/1.239, allocations: 1.457 MB / 0.5635 GB, free: 166.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008925/1.248, allocations: 5.303 MB / 0.5687 GB, free: 164.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.249, allocations: 381.4 kB / 0.5691 GB, free: 164.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/1.25, allocations: 28.81 kB / 0.5691 GB, free: 164.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.251, allocations: 122.3 kB / 0.5692 GB, free: 164.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/1.251, allocations: 95.66 kB / 0.5693 GB, free: 164.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.251, allocations: 48.08 kB / 0.5694 GB, free: 164.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003807/1.255, allocations: 2.348 MB / 0.5717 GB, free: 163 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.255, allocations: 0 / 0.5717 GB, free: 163 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006045/1.261, allocations: 1.03 MB / 0.5727 GB, free: 162.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005786/1.262, allocations: 167.4 kB / 0.5728 GB, free: 162.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009301/1.271, allocations: 5.471 MB / 0.5782 GB, free: 159.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.271, allocations: 3.375 kB / 0.5782 GB, free: 159.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003654/1.275, allocations: 2.03 MB / 0.5802 GB, free: 157 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/1.278, allocations: 371.3 kB / 0.5805 GB, free: 156.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/1.296, allocations: 11.57 MB / 0.5918 GB, free: 145.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002688/1.299, allocations: 3.104 MB / 0.5948 GB, free: 141.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008769/1.3, allocations: 267.4 kB / 0.5951 GB, free: 141.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/1.3, allocations: 4 kB / 0.5951 GB, free: 141.7 MB / 462.1 MB Notification: Performance of Templates: time 0.4209/1.721, allocations: 142.6 MB / 0.7344 GB, free: 162.9 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSpringsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1