Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 93.2 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 192.2 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.3 MB / 246.6 MB, free: 11.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2665/0.2665, allocations: 45.92 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002987, allocations: 11.98 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1576, allocations: 63.46 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.0383/0.196, allocations: 34.85 MB / 0.5048 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3795/0.5755, allocations: 7.482 MB / 0.5122 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007687/0.5833, allocations: 157.9 kB / 0.5123 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00668/0.59, allocations: 1.774 MB / 0.514 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01744/0.6074, allocations: 4.969 MB / 0.5189 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.6106, allocations: 417.8 kB / 0.5193 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00656/0.6172, allocations: 3.462 MB / 0.5227 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006275/0.6235, allocations: 3.781 MB / 0.5264 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.6258, allocations: 1.002 MB / 0.5273 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.6282, allocations: 1.562 MB / 0.5289 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004844/0.6287, allocations: 131.2 kB / 0.529 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.6305, allocations: 0.7533 MB / 0.5297 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.6319, allocations: 1.389 MB / 0.5311 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009047/0.6328, allocations: 0.7536 MB / 0.5318 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005757/0.6386, allocations: 4.793 MB / 0.5365 GB, free: 3.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.6386, allocations: 0 / 0.5365 GB, free: 3.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.628e-06/0.6386, allocations: 4 kB / 0.5365 GB, free: 3.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002985/0.639, allocations: 1.641 kB / 0.5365 GB, free: 3.098 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.009917/0.6489, allocations: 3.524 MB / 0.5399 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.6489, allocations: 10.22 kB / 0.54 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005667/0.6546, allocations: 1.856 MB / 0.5418 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003983/0.6586, allocations: 1.717 MB / 0.5434 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.6588, allocations: 227.8 kB / 0.5437 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000594/0.6594, allocations: 298.1 kB / 0.5439 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02169/0.6811, allocations: 10.65 MB / 0.5544 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.6812, allocations: 36.81 kB / 0.5544 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004088/0.6817, allocations: 148.2 kB / 0.5545 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003484/0.6851, allocations: 2.041 MB / 0.5565 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/0.7058, allocations: 9.333 MB / 0.5656 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05189/0.7578, allocations: 38 MB / 0.6027 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.7684, allocations: 4.207 MB / 0.6069 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/0.7716, allocations: 2.3 MB / 0.6091 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009587/0.7813, allocations: 6.116 MB / 0.6151 GB, free: 9.789 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.7813, allocations: 51.81 kB / 0.6151 GB, free: 9.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 5.09e-06/0.7813, allocations: 5.969 kB / 0.6151 GB, free: 9.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.0685/0.8498, allocations: 22.03 MB / 0.6366 GB, free: 3.543 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.85, allocations: 153.8 kB / 0.6368 GB, free: 3.363 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007133/0.8571, allocations: 3.363 MB / 0.6401 GB, free: 15.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006322/0.8578, allocations: 60.84 kB / 0.6401 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002493/0.8603, allocations: 2.795 MB / 0.6429 GB, free: 13.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.8615, allocations: 0.7944 MB / 0.6436 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.8618, allocations: 120 kB / 0.6437 GB, free: 12.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004194/0.8622, allocations: 0.5541 MB / 0.6443 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00371/0.8659, allocations: 2.315 MB / 0.6466 GB, free: 9.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006275/0.8722, allocations: 5.777 MB / 0.6522 GB, free: 1.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005908/0.8781, allocations: 3.58 MB / 0.6557 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-05/0.8782, allocations: 36 kB / 0.6557 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01775/0.896, allocations: 8.652 MB / 0.6642 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.735e-05/0.8961, allocations: 60 kB / 0.6642 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001616/0.8963, allocations: 120 kB / 0.6643 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002713/0.899, allocations: 1.066 MB / 0.6654 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005685/0.9047, allocations: 1.377 MB / 0.6667 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/0.9112, allocations: 5.41 MB / 0.672 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00533/0.9166, allocations: 327.5 kB / 0.6723 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/0.9178, allocations: 362.3 kB / 0.6727 GB, free: 12.6 MB / 0.5137 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.004481/0.9223, allocations: 1.943 MB / 0.6746 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000748/0.923, allocations: 308 kB / 0.6749 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007513/0.9305, allocations: 3.963 MB / 0.6787 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.956e-05/0.9306, allocations: 25.53 kB / 0.6788 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.9307, allocations: 4 kB / 0.6788 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.381e-05/0.9307, allocations: 7.969 kB / 0.6788 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.9476, allocations: 8.901 MB / 0.6875 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/0.9477, allocations: 4 kB / 0.6875 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/0.9496, allocations: 351.5 kB / 0.6878 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.9521, allocations: 0.8722 MB / 0.6887 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/0.9523, allocations: 39.98 kB / 0.6887 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005162/0.9575, allocations: 4.744 MB / 0.6933 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9575, allocations: 3.938 kB / 0.6933 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.9687, allocations: 6.899 MB / 0.7001 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.9701, allocations: 361.1 kB / 0.7004 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/0.9705, allocations: 33.2 kB / 0.7004 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.9719, allocations: 126.5 kB / 0.7006 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/0.9723, allocations: 120.9 kB / 0.7007 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/0.9725, allocations: 55.98 kB / 0.7007 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004278/0.9767, allocations: 2.061 MB / 0.7027 GB, free: 13.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9768, allocations: 0 / 0.7027 GB, free: 13.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005468/0.9822, allocations: 0.9648 MB / 0.7037 GB, free: 12.45 MB / 0.545 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.0005104/0.9827, allocations: 171 kB / 0.7038 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01068/0.9934, allocations: 6.13 MB / 0.7098 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.9935, allocations: 0 / 0.7098 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004298/0.9978, allocations: 2.477 MB / 0.7123 GB, free: 3.559 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/1.001, allocations: 341.9 kB / 0.7126 GB, free: 3.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4213/1.422, allocations: 11.17 MB / 0.7235 GB, free: 162.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007141/1.43, allocations: 3.024 MB / 0.7264 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/1.432, allocations: 282.4 kB / 0.7267 GB, free: 161.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.512e-06/1.432, allocations: 1.641 kB / 0.7267 GB, free: 161.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1418/1.574, allocations: 123.8 MB / 0.8476 GB, free: 55.39 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeriesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeriesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeriesCalcHelperMain.o] Error 1