Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 92.53 kB / 17.63 MB, free: 5.719 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.001678/0.001678, allocations: 179.5 kB / 18.52 MB, free: 5.172 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.638/1.638, allocations: 223.2 MB / 242.5 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.238/0.238, allocations: 44.22 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03714/0.1955, allocations: 34.82 MB / 0.4951 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.2208, allocations: 7.438 MB / 0.5024 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01088/0.2318, allocations: 155.6 kB / 0.5025 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008348/0.2402, allocations: 1.777 MB / 0.5043 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3477/0.5879, allocations: 4.964 MB / 0.5091 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.5908, allocations: 412.9 kB / 0.5095 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007354/0.5982, allocations: 3.464 MB / 0.5129 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007013/0.6052, allocations: 3.775 MB / 0.5166 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002868/0.6081, allocations: 0.9964 MB / 0.5176 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00345/0.6116, allocations: 1.561 MB / 0.5191 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005971/0.6122, allocations: 129.4 kB / 0.5192 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.6143, allocations: 0.7442 MB / 0.5199 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001814/0.6161, allocations: 1.385 MB / 0.5213 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.6172, allocations: 0.7564 MB / 0.522 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00649/0.6237, allocations: 4.793 MB / 0.5267 GB, free: 8.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.6238, allocations: 3.562 kB / 0.5267 GB, free: 8.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.6238, allocations: 0 / 0.5267 GB, free: 8.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002522/0.6241, allocations: 0 / 0.5267 GB, free: 8.949 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.00868/0.6327, allocations: 3.495 MB / 0.5301 GB, free: 6.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.6328, allocations: 11.59 kB / 0.5301 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005763/0.6386, allocations: 1.853 MB / 0.5319 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.6422, allocations: 1.726 MB / 0.5336 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.6424, allocations: 224.4 kB / 0.5338 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006076/0.643, allocations: 305.1 kB / 0.5341 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/0.6642, allocations: 10.61 MB / 0.5445 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.6643, allocations: 39.59 kB / 0.5445 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004068/0.6647, allocations: 145 kB / 0.5447 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00377/0.6685, allocations: 2.046 MB / 0.5467 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02268/0.6912, allocations: 9.281 MB / 0.5557 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06676/0.7581, allocations: 38.01 MB / 0.5928 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/0.7694, allocations: 4.177 MB / 0.5969 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003664/0.7732, allocations: 2.303 MB / 0.5992 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/0.7847, allocations: 6.01 MB / 0.605 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.7848, allocations: 59.77 kB / 0.6051 GB, free: 6.145 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.691e-06/0.7848, allocations: 0 / 0.6051 GB, free: 6.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06831/0.8531, allocations: 21.91 MB / 0.6265 GB, free: 88 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.8533, allocations: 161.7 kB / 0.6267 GB, free: 15.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008657/0.862, allocations: 3.36 MB / 0.6299 GB, free: 12.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006951/0.8628, allocations: 57.7 kB / 0.63 GB, free: 12.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003141/0.8659, allocations: 2.797 MB / 0.6327 GB, free: 9.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001759/0.8677, allocations: 0.7935 MB / 0.6335 GB, free: 8.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009365/0.8687, allocations: 123 kB / 0.6336 GB, free: 8.785 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007516/0.8694, allocations: 0.5541 MB / 0.6342 GB, free: 8.223 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00522/0.8747, allocations: 2.304 MB / 0.6364 GB, free: 5.914 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008886/0.8836, allocations: 5.762 MB / 0.642 GB, free: 14.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006723/0.8903, allocations: 3.567 MB / 0.6455 GB, free: 10.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-05/0.8904, allocations: 39.94 kB / 0.6456 GB, free: 10.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01859/0.909, allocations: 8.63 MB / 0.654 GB, free: 2.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.904e-05/0.9092, allocations: 59.98 kB / 0.654 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/0.9094, allocations: 124 kB / 0.6542 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/0.9121, allocations: 1.053 MB / 0.6552 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005256/0.9174, allocations: 1.372 MB / 0.6565 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/0.9237, allocations: 5.404 MB / 0.6618 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006/0.9297, allocations: 335.4 kB / 0.6621 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001746/0.9315, allocations: 359.3 kB / 0.6625 GB, free: 9.234 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006344/0.9378, allocations: 1.942 MB / 0.6644 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/0.939, allocations: 304.1 kB / 0.6647 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009053/0.948, allocations: 3.945 MB / 0.6685 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.703e-05/0.9481, allocations: 24 kB / 0.6685 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.536e-05/0.9482, allocations: 4 kB / 0.6685 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.84e-05/0.9482, allocations: 12.33 kB / 0.6685 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/0.9752, allocations: 8.875 MB / 0.6772 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/0.9753, allocations: 0 / 0.6772 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/0.9773, allocations: 351.5 kB / 0.6775 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/0.9797, allocations: 0.8773 MB / 0.6784 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004297/0.9802, allocations: 36 kB / 0.6784 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005801/0.986, allocations: 4.744 MB / 0.6831 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.986, allocations: 3.938 kB / 0.6831 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/0.9998, allocations: 6.844 MB / 0.6898 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.001, allocations: 368.9 kB / 0.6901 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.002, allocations: 35.16 kB / 0.6901 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/1.004, allocations: 123.8 kB / 0.6903 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003958/1.005, allocations: 113.1 kB / 0.6904 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/1.005, allocations: 56 kB / 0.6904 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005566/1.011, allocations: 2.057 MB / 0.6924 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/1.011, allocations: 0 / 0.6924 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00767/1.018, allocations: 0.9727 MB / 0.6934 GB, free: 9.172 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008712/1.019, allocations: 180.6 kB / 0.6936 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.033, allocations: 6.081 MB / 0.6995 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/1.033, allocations: 0 / 0.6995 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005286/1.038, allocations: 2.47 MB / 0.7019 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3368/1.375, allocations: 348.1 kB / 0.7022 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/1.402, allocations: 11.14 MB / 0.7131 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004408/1.406, allocations: 3.027 MB / 0.7161 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/1.408, allocations: 285.2 kB / 0.7163 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/1.408, allocations: 0 / 0.7163 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.1387/1.547, allocations: 123.9 MB / 0.8373 GB, free: 39.63 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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 OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeriesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeriesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeriesCalcHelperMain.o] Error 1