Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001019, allocations: 93.5 kB / 16.67 MB, free: 6.105 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.001145/0.001145, allocations: 178.3 kB / 17.57 MB, free: 5.82 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.953/1.953, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2665/0.2665, allocations: 43.58 MB / 315.6 MB, free: 432 kB / 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.00083/0.0008301, allocations: 16.19 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1522, allocations: 58.86 MB / 444.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.07113/0.2234, allocations: 66.78 MB / 0.4989 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04434/0.2678, allocations: 14.18 MB / 0.5127 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.019/0.2869, allocations: 307.2 kB / 0.513 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003261/0.2902, allocations: 0.5907 MB / 0.5136 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009704/0.3, allocations: 2.495 MB / 0.516 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004513/0.3045, allocations: 1.272 MB / 0.5173 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01841/0.3229, allocations: 10.92 MB / 0.528 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.404/0.727, allocations: 9.556 MB / 0.5373 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006355/0.7335, allocations: 1.998 MB / 0.5392 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008457/0.742, allocations: 3.399 MB / 0.5426 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002466/0.7445, allocations: 238.9 kB / 0.5428 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005948/0.7504, allocations: 1.464 MB / 0.5442 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007334/0.7578, allocations: 2.898 MB / 0.547 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01076/0.7686, allocations: 3.183 MB / 0.5501 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01761/0.7863, allocations: 9.368 MB / 0.5593 GB, free: 1.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.7863, allocations: 3.312 kB / 0.5593 GB, free: 1.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.7863, allocations: 0 / 0.5593 GB, free: 1.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005477/0.7869, allocations: 0 / 0.5593 GB, free: 1.625 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02123/0.8081, allocations: 6.526 MB / 0.5657 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.8082, allocations: 12.12 kB / 0.5657 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/0.8251, allocations: 3.111 MB / 0.5687 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/0.8404, allocations: 5.175 MB / 0.5738 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005098/0.8409, allocations: 383.8 kB / 0.5741 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003312/0.8442, allocations: 0.5106 MB / 0.5746 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03978/0.884, allocations: 15.56 MB / 0.5898 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003174/0.8844, allocations: 66.39 kB / 0.5899 GB, free: 5.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001482/0.8859, allocations: 234.2 kB / 0.5901 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004399/0.8903, allocations: 2.552 MB / 0.5926 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0329/0.9232, allocations: 13.15 MB / 0.6055 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09707/1.02, allocations: 57.58 MB / 0.6617 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01982/1.04, allocations: 6.425 MB / 0.668 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005965/1.046, allocations: 3.437 MB / 0.6713 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02243/1.069, allocations: 11.56 MB / 0.6826 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/1.069, allocations: 59.47 kB / 0.6827 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=248): time 5.961e-06/1.069, allocations: 4 kB / 0.6827 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=343): time 0.1448/1.214, allocations: 39.66 MB / 0.7214 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002058/1.214, allocations: 242.2 kB / 0.7216 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01174/1.226, allocations: 5.746 MB / 0.7272 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001646/1.227, allocations: 77.7 kB / 0.7273 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.005708/1.233, allocations: 4.356 MB / 0.7316 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002791/1.236, allocations: 1.271 MB / 0.7328 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/1.237, allocations: 0.7516 MB / 0.7335 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.237, allocations: 301.1 kB / 0.7338 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3901/1.628, allocations: 4.079 MB / 0.7378 GB, free: 223.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01497/1.643, allocations: 8.669 MB / 0.7463 GB, free: 217.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02677/1.669, allocations: 13.55 MB / 0.7595 GB, free: 207.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004804/1.67, allocations: 43.47 kB / 0.7596 GB, free: 207.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.04262/1.713, allocations: 16.39 MB / 0.7756 GB, free: 202.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/1.713, allocations: 70.94 kB / 0.7756 GB, free: 202.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002267/1.713, allocations: 157 kB / 0.7758 GB, free: 202.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01365/1.727, allocations: 4.286 MB / 0.78 GB, free: 201.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008251/1.735, allocations: 1.895 MB / 0.7818 GB, free: 201.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02836/1.763, allocations: 20.19 MB / 0.8015 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/1.776, allocations: 0.5074 MB / 0.802 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003252/1.779, allocations: 484.2 kB / 0.8025 GB, free: 183.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1031): * Single equations (assignments): 1027 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0106/1.79, allocations: 3.137 MB / 0.8056 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00237/1.792, allocations: 0.5139 MB / 0.8061 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02326/1.815, allocations: 10.11 MB / 0.8159 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.145e-05/1.816, allocations: 32 kB / 0.816 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.503e-05/1.816, allocations: 19.98 kB / 0.816 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-05/1.816, allocations: 16.58 kB / 0.816 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04783/1.864, allocations: 20.18 MB / 0.8357 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.923e-05/1.864, allocations: 4.875 kB / 0.8357 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/1.866, allocations: 0.4992 MB / 0.8362 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01269/1.879, allocations: 3.838 MB / 0.8399 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009999/1.88, allocations: 67.98 kB / 0.84 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02692/1.907, allocations: 17.81 MB / 0.8574 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/1.907, allocations: 11.94 kB / 0.8574 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02876/1.936, allocations: 14.9 MB / 0.872 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004098/1.94, allocations: 1.181 MB / 0.8731 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002153/1.942, allocations: 60.88 kB / 0.8732 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004368/1.947, allocations: 239.7 kB / 0.8734 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/1.948, allocations: 230.1 kB / 0.8736 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004789/1.948, allocations: 95.98 kB / 0.8737 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.008856/1.957, allocations: 3.627 MB / 0.8773 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.32e-07/1.957, allocations: 4 kB / 0.8773 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01307/1.97, allocations: 1.784 MB / 0.879 GB, free: 105.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * 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 (261): * Single equations (assignments): 257 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/1.972, allocations: 266.7 kB / 0.8793 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01709/1.989, allocations: 9.801 MB / 0.8888 GB, free: 95.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/1.989, allocations: 5.312 kB / 0.8888 GB, free: 95.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005902/1.995, allocations: 3.782 MB / 0.8925 GB, free: 91.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01227/2.007, allocations: 0.6969 MB / 0.8932 GB, free: 90.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03556/2.043, allocations: 19.82 MB / 0.9126 GB, free: 70.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005874/2.049, allocations: 4.791 MB / 0.9172 GB, free: 66.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002635/2.051, allocations: 407.4 kB / 0.9176 GB, free: 65.75 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/2.051, allocations: 0 / 0.9176 GB, free: 65.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.5638/2.615, allocations: 121.7 MB / 1.036 GB, free: 156.2 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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 OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.o] Error 1