Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_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.001137/0.001137, allocations: 88.42 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.001479/0.001479, allocations: 186.4 kB / 18.52 MB, free: 5.168 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.519/1.519, allocations: 223.2 MB / 242.5 MB, free: 14.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2363/0.2363, allocations: 44.22 MB / 337.9 MB, free: 2.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 8 kB / 410.3 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1613, allocations: 61.91 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3737/0.535, allocations: 62.05 MB / 0.5217 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0381/0.5732, allocations: 13.56 MB / 0.535 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0184/0.5916, allocations: 304.3 kB / 0.5352 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.6041, allocations: 3.209 MB / 0.5384 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03116/0.6353, allocations: 9.584 MB / 0.5477 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005832/0.6412, allocations: 1.168 MB / 0.5489 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1206/0.7618, allocations: 91.81 MB / 0.6385 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.7754, allocations: 8.156 MB / 0.6465 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005351/0.7808, allocations: 2.145 MB / 0.6486 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006218/0.787, allocations: 3.357 MB / 0.6519 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.7883, allocations: 240 kB / 0.6521 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.7923, allocations: 1.244 MB / 0.6533 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003885/0.7962, allocations: 2.844 MB / 0.6561 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.7986, allocations: 1.31 MB / 0.6574 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.8102, allocations: 9.336 MB / 0.6665 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.8103, allocations: 8 kB / 0.6665 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8103, allocations: 0 / 0.6665 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003987/0.8107, allocations: 0 / 0.6665 GB, free: 13.48 MB / 0.4981 GB 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.01795/0.8287, allocations: 6.602 MB / 0.6729 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.8288, allocations: 8.562 kB / 0.6729 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01414/0.8429, allocations: 3.111 MB / 0.676 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/0.8557, allocations: 4.917 MB / 0.6808 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000528/0.8563, allocations: 381.7 kB / 0.6812 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002904/0.8592, allocations: 0.5113 MB / 0.6817 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04212/0.9014, allocations: 15.53 MB / 0.6968 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005046/0.9019, allocations: 63.42 kB / 0.6969 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002629/0.9045, allocations: 235.8 kB / 0.6971 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004574/0.9091, allocations: 2.552 MB / 0.6996 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3904/1.3, allocations: 13.08 MB / 0.7124 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0819/1.382, allocations: 57.52 MB / 0.7685 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/1.397, allocations: 6.415 MB / 0.7748 GB, free: 142 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/1.401, allocations: 3.441 MB / 0.7782 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01771/1.419, allocations: 11.56 MB / 0.7895 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/1.419, allocations: 64.48 kB / 0.7895 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 6.082e-06/1.419, allocations: 0 / 0.7895 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1232/1.542, allocations: 39.58 MB / 0.8282 GB, free: 86.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.542, allocations: 247.9 kB / 0.8284 GB, free: 86.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008145/1.55, allocations: 5.671 MB / 0.8339 GB, free: 80.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009295/1.551, allocations: 77.7 kB / 0.834 GB, free: 80.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002545/1.554, allocations: 4.349 MB / 0.8383 GB, free: 76.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/1.555, allocations: 1.255 MB / 0.8395 GB, free: 75.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/1.556, allocations: 172.9 kB / 0.8397 GB, free: 75.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003772/1.556, allocations: 0.6738 MB / 0.8403 GB, free: 74.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005237/1.561, allocations: 4.054 MB / 0.8443 GB, free: 70.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007306/1.569, allocations: 8.629 MB / 0.8527 GB, free: 59.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007634/1.576, allocations: 5.778 MB / 0.8583 GB, free: 53.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.787e-05/1.577, allocations: 48 kB / 0.8584 GB, free: 53.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03133/1.608, allocations: 16.31 MB / 0.8743 GB, free: 37.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/1.608, allocations: 74.19 kB / 0.8744 GB, free: 37.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002545/1.608, allocations: 160 kB / 0.8745 GB, free: 37.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01271/1.621, allocations: 4.307 MB / 0.8788 GB, free: 32.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007392/1.629, allocations: 1.895 MB / 0.8806 GB, free: 30.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03014/1.659, allocations: 20.16 MB / 0.9003 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008542/1.667, allocations: 0.5156 MB / 0.9008 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002109/1.669, allocations: 480.8 kB / 0.9012 GB, free: 9.617 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00716/1.677, allocations: 3.135 MB / 0.9043 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001868/1.678, allocations: 0.5168 MB / 0.9048 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3755/2.054, allocations: 10.07 MB / 0.9147 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.39e-05/2.054, allocations: 35.53 kB / 0.9147 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.655e-05/2.054, allocations: 15.31 kB / 0.9147 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001052/2.054, allocations: 16.14 kB / 0.9147 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04539/2.1, allocations: 20.13 MB / 0.9344 GB, free: 167 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-05/2.1, allocations: 8.844 kB / 0.9344 GB, free: 167 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/2.102, allocations: 0.4949 MB / 0.9349 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01106/2.113, allocations: 3.836 MB / 0.9386 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00071/2.114, allocations: 72.48 kB / 0.9387 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0223/2.136, allocations: 17.79 MB / 0.9561 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/2.136, allocations: 11.94 kB / 0.9561 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02267/2.159, allocations: 14.86 MB / 0.9706 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/2.162, allocations: 0.5862 MB / 0.9712 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007492/2.162, allocations: 63.98 kB / 0.9712 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/2.165, allocations: 231.7 kB / 0.9714 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006459/2.165, allocations: 225.9 kB / 0.9717 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/2.166, allocations: 91.98 kB / 0.9717 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005278/2.171, allocations: 3.577 MB / 0.9752 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.61e-07/2.171, allocations: 0 / 0.9752 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008656/2.18, allocations: 1.778 MB / 0.977 GB, free: 134.5 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007206/2.18, allocations: 244.8 kB / 0.9772 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01535/2.196, allocations: 9.762 MB / 0.9867 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.821e-05/2.196, allocations: 4 kB / 0.9867 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009341/2.205, allocations: 3.778 MB / 0.9904 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/2.216, allocations: 0.6936 MB / 0.9911 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04565/2.262, allocations: 19.09 MB / 1.01 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00708/2.269, allocations: 4.786 MB / 1.014 GB, free: 96.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002281/2.271, allocations: 407.4 kB / 1.015 GB, free: 95.88 MB / 0.5294 GB Notification: Performance of SimCode: time 1.613e-06/2.271, allocations: 0 / 1.015 GB, free: 95.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.5557/2.827, allocations: 121.9 MB / 1.134 GB, free: 159 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSPCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.o] Error 1