Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009706/0.0009706, allocations: 96.17 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 198.7 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 45.92 MB / 344.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 4 kB / 418.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1638, allocations: 63.48 MB / 482.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.4291/0.593, allocations: 62.07 MB / 0.5314 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04453/0.6376, allocations: 13.59 MB / 0.5447 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02079/0.6585, allocations: 299.6 kB / 0.545 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01248/0.671, allocations: 3.197 MB / 0.5481 GB, free: 0 / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03689/0.7079, allocations: 9.582 MB / 0.5575 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.7142, allocations: 1.165 MB / 0.5586 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.1269/0.8412, allocations: 91.97 MB / 0.6484 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01575/0.8569, allocations: 8.138 MB / 0.6564 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006202/0.8632, allocations: 2.149 MB / 0.6585 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00688/0.8701, allocations: 3.361 MB / 0.6618 GB, free: 148 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001806/0.872, allocations: 240 kB / 0.662 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.8762, allocations: 1.221 MB / 0.6632 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004645/0.8809, allocations: 2.848 MB / 0.666 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003038/0.8839, allocations: 1.306 MB / 0.6672 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.8975, allocations: 9.34 MB / 0.6764 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.8975, allocations: 3.938 kB / 0.6764 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.8975, allocations: 0 / 0.6764 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004524/0.898, allocations: 0 / 0.6764 GB, free: 1.148 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.01902/0.917, allocations: 6.626 MB / 0.6828 GB, free: 10.44 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.9171, allocations: 12.03 kB / 0.6828 GB, free: 10.43 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/0.932, allocations: 3.103 MB / 0.6859 GB, free: 7.312 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.9449, allocations: 4.843 MB / 0.6906 GB, free: 2.391 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000398/0.9454, allocations: 373.8 kB / 0.691 GB, free: 2.023 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002659/0.948, allocations: 0.5152 MB / 0.6915 GB, free: 1.508 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03927/0.9873, allocations: 15.53 MB / 0.7066 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002907/0.9877, allocations: 71.36 kB / 0.7067 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001218/0.9889, allocations: 239.8 kB / 0.7069 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3899/1.379, allocations: 2.535 MB / 0.7094 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03972/1.419, allocations: 13.09 MB / 0.7222 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08318/1.502, allocations: 57.54 MB / 0.7784 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01562/1.517, allocations: 6.425 MB / 0.7846 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004135/1.522, allocations: 3.433 MB / 0.788 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01634/1.538, allocations: 11.64 MB / 0.7994 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/1.538, allocations: 56.56 kB / 0.7994 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 7.164e-06/1.538, allocations: 4 kB / 0.7994 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1176/1.656, allocations: 39.15 MB / 0.8377 GB, free: 68.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.656, allocations: 247.9 kB / 0.8379 GB, free: 68.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00815/1.664, allocations: 5.679 MB / 0.8435 GB, free: 62.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001164/1.665, allocations: 78.41 kB / 0.8435 GB, free: 62.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002889/1.668, allocations: 4.349 MB / 0.8478 GB, free: 58.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002008/1.67, allocations: 1.255 MB / 0.849 GB, free: 57.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004554/1.671, allocations: 177.2 kB / 0.8492 GB, free: 57.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003776/1.671, allocations: 0.666 MB / 0.8498 GB, free: 56.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00538/1.676, allocations: 4.054 MB / 0.8538 GB, free: 52.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007538/1.684, allocations: 8.641 MB / 0.8622 GB, free: 41.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008043/1.692, allocations: 5.784 MB / 0.8679 GB, free: 35.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.846e-05/1.692, allocations: 44 kB / 0.8679 GB, free: 35.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03269/1.725, allocations: 16.32 MB / 0.8838 GB, free: 19.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.725, allocations: 72 kB / 0.8839 GB, free: 19.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/1.725, allocations: 160 kB / 0.8841 GB, free: 19.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01255/1.738, allocations: 4.309 MB / 0.8883 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006942/1.745, allocations: 1.903 MB / 0.8901 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03105/1.776, allocations: 20.15 MB / 0.9098 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00864/1.784, allocations: 0.512 MB / 0.9103 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002131/1.787, allocations: 480 kB / 0.9108 GB, free: 7.559 MB / 0.545 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.008628/1.795, allocations: 3.127 MB / 0.9138 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001894/1.797, allocations: 0.5179 MB / 0.9143 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3701/2.167, allocations: 10.09 MB / 0.9242 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-05/2.167, allocations: 36.94 kB / 0.9242 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.013e-05/2.168, allocations: 21.42 kB / 0.9242 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.637e-05/2.168, allocations: 19.38 kB / 0.9242 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04262/2.21, allocations: 20.12 MB / 0.9439 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.88e-05/2.21, allocations: 14.7 kB / 0.9439 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/2.212, allocations: 0.4955 MB / 0.9444 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/2.223, allocations: 3.841 MB / 0.9481 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005938/2.224, allocations: 71.52 kB / 0.9482 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02333/2.247, allocations: 17.77 MB / 0.9656 GB, free: 162.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/2.247, allocations: 11.94 kB / 0.9656 GB, free: 162.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02284/2.27, allocations: 14.88 MB / 0.9801 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/2.272, allocations: 0.5755 MB / 0.9807 GB, free: 147.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007424/2.273, allocations: 68.77 kB / 0.9807 GB, free: 147.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/2.275, allocations: 234.9 kB / 0.981 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006216/2.276, allocations: 225.4 kB / 0.9812 GB, free: 147.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002352/2.276, allocations: 96.69 kB / 0.9813 GB, free: 147.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004776/2.281, allocations: 3.569 MB / 0.9848 GB, free: 143.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/2.281, allocations: 0 / 0.9848 GB, free: 143.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007544/2.288, allocations: 1.783 MB / 0.9865 GB, free: 141.7 MB / 0.545 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.0006368/2.289, allocations: 233 kB / 0.9867 GB, free: 141.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01335/2.302, allocations: 9.775 MB / 0.9963 GB, free: 131.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/2.302, allocations: 0 / 0.9963 GB, free: 131.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/2.307, allocations: 3.775 MB / 0.9999 GB, free: 128.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005415/2.313, allocations: 0.6918 MB / 1.001 GB, free: 127.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/2.344, allocations: 19.1 MB / 1.019 GB, free: 108.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005258/2.35, allocations: 4.786 MB / 1.024 GB, free: 103.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002124/2.352, allocations: 403.4 kB / 1.024 GB, free: 103.1 MB / 0.545 GB Notification: Performance of SimCode: time 2.665e-06/2.352, allocations: 0 / 1.024 GB, free: 103.1 MB / 0.545 GB Notification: Performance of Templates: time 0.5515/2.903, allocations: 121.8 MB / 1.143 GB, free: 167.5 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSPCalcHelperMain.o] Error 1