Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000815/0.0008149, allocations: 96.58 kB / 16.33 MB, free: 5.949 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.0008456/0.0008456, allocations: 188.6 kB / 17.22 MB, free: 5.883 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.629/1.629, allocations: 205.4 MB / 223.4 MB, free: 5.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3542/0.3542, allocations: 43.54 MB / 315.2 MB, free: 8.816 MB / 254.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.0005078/0.0005078, allocations: 19.98 kB / 384.6 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1282, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2945/0.4227, allocations: 38.82 MB / 482.2 MB, free: 27.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01996/0.4428, allocations: 8.759 MB / 491 MB, free: 21.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008875/0.4517, allocations: 184.9 kB / 491.2 MB, free: 21.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006393/0.4581, allocations: 1.989 MB / 493.2 MB, free: 20.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01725/0.4754, allocations: 6.014 MB / 499.2 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003312/0.4787, allocations: 0.6739 MB / 499.8 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009335/0.4881, allocations: 4.936 MB / 0.493 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009082/0.4972, allocations: 4.162 MB / 0.497 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003925/0.5012, allocations: 1.283 MB / 0.4983 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004742/0.5059, allocations: 2.097 MB / 0.5003 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.5075, allocations: 151.2 kB / 0.5005 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.5109, allocations: 0.7237 MB / 0.5012 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003818/0.5147, allocations: 1.72 MB / 0.5028 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002831/0.5175, allocations: 0.8274 MB / 0.5037 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008867/0.5264, allocations: 5.225 MB / 0.5088 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.5264, allocations: 4 kB / 0.5088 GB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5265, allocations: 0 / 0.5088 GB, free: 9.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003973/0.5269, allocations: 1.406 kB / 0.5088 GB, free: 9.203 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01389/0.5408, allocations: 4.03 MB / 0.5127 GB, free: 6.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5408, allocations: 9.188 kB / 0.5127 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008087/0.5489, allocations: 1.997 MB / 0.5147 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006247/0.5552, allocations: 2.404 MB / 0.517 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.5555, allocations: 248.7 kB / 0.5172 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/0.5571, allocations: 322.7 kB / 0.5175 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.5769, allocations: 10.2 MB / 0.5275 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.577, allocations: 55.52 kB / 0.5276 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003961/0.5774, allocations: 155.9 kB / 0.5277 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002744/0.5802, allocations: 1.9 MB / 0.5296 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.5991, allocations: 8.119 MB / 0.5375 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05166/0.6508, allocations: 39.43 MB / 0.576 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007195/0.6581, allocations: 3.279 MB / 0.5792 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.6595, allocations: 1.053 MB / 0.5802 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007871/0.6674, allocations: 5.9 MB / 0.586 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.6675, allocations: 55.5 kB / 0.586 GB, free: 11.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 3.336e-06/0.6675, allocations: 0 / 0.586 GB, free: 11.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.01972/0.6872, allocations: 9.462 MB / 0.5953 GB, free: 1.914 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.6874, allocations: 145.5 kB / 0.5954 GB, free: 1.742 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005865/0.6932, allocations: 4.048 MB / 0.5994 GB, free: 13.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.85e-05/0.6933, allocations: 49.7 kB / 0.5994 GB, free: 13.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002123/0.6955, allocations: 3.179 MB / 0.6025 GB, free: 10.39 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004937/0.696, allocations: 0.6404 MB / 0.6031 GB, free: 9.738 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.6962, allocations: 120 kB / 0.6033 GB, free: 9.621 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003306/0.6965, allocations: 0.5701 MB / 0.6038 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/0.6989, allocations: 1.636 MB / 0.6054 GB, free: 7.402 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004844/0.7037, allocations: 5.482 MB / 0.6108 GB, free: 15.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/0.7076, allocations: 2.933 MB / 0.6136 GB, free: 13.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.786e-05/0.7077, allocations: 40 kB / 0.6137 GB, free: 13.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01113/0.7188, allocations: 6.863 MB / 0.6204 GB, free: 6.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.7189, allocations: 67.12 kB / 0.6204 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000181/0.7191, allocations: 136 kB / 0.6206 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.7194, allocations: 200 kB / 0.6208 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004233/0.7236, allocations: 1.431 MB / 0.6222 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002482/0.7239, allocations: 271.3 kB / 0.6224 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/0.7283, allocations: 295.6 kB / 0.6227 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000472/0.7288, allocations: 372 kB / 0.6231 GB, free: 3.402 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (775): * Single equations (assignments): 772 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003797/0.7326, allocations: 2.04 MB / 0.625 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006368/0.7333, allocations: 352 kB / 0.6254 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.7356, allocations: 1.33 MB / 0.6267 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.7356, allocations: 20 kB / 0.6267 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.7356, allocations: 0 / 0.6267 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.7356, allocations: 7.969 kB / 0.6267 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009889/0.7455, allocations: 5.832 MB / 0.6324 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/0.7456, allocations: 23.98 kB / 0.6324 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009598/0.7466, allocations: 275.5 kB / 0.6327 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-05/0.7466, allocations: 28 kB / 0.6327 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.7467, allocations: 48 kB / 0.6328 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.249e-05/0.7467, allocations: 38.08 kB / 0.6328 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.157e-05/0.7468, allocations: 27.88 kB / 0.6328 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004422/0.7512, allocations: 3.259 MB / 0.636 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.7524, allocations: 0.5277 MB / 0.6365 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/0.7527, allocations: 59.98 kB / 0.6366 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009714/0.7537, allocations: 55.97 kB / 0.6366 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.7539, allocations: 151.4 kB / 0.6368 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-05/0.754, allocations: 67.98 kB / 0.6368 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004069/0.758, allocations: 2.5 MB / 0.6393 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.933e-06/0.758, allocations: 0 / 0.6393 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005163/0.7632, allocations: 0.9179 MB / 0.6402 GB, free: 1.238 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004049/0.7636, allocations: 198.7 kB / 0.6404 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.3256/1.089, allocations: 3.749 MB / 0.644 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.392e-05/1.089, allocations: 5.312 kB / 0.644 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/1.091, allocations: 0.74 MB / 0.6448 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/1.094, allocations: 459.6 kB / 0.6452 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/1.11, allocations: 10.86 MB / 0.6558 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003192/1.113, allocations: 3.182 MB / 0.6589 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009482/1.114, allocations: 290 kB / 0.6592 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.623e-06/1.114, allocations: 0 / 0.6592 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.09383/1.208, allocations: 52.71 MB / 0.7107 GB, free: 94.67 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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_3.2.3_ModelicaTest.MultiBody.Forces.SpringCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringCalcHelperMain.o] Error 1