Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009152/0.0009155, allocations: 96.09 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.0009436/0.0009438, allocations: 197.8 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.578/1.578, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2586/0.2586, allocations: 45.93 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004124, allocations: 4 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1673, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.3821/0.5494, allocations: 57.16 MB / 0.5266 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04002/0.5895, allocations: 12.62 MB / 0.539 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01738/0.6069, allocations: 272 kB / 0.5392 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.6181, allocations: 2.976 MB / 0.5421 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03003/0.6482, allocations: 8.976 MB / 0.5509 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006066/0.6543, allocations: 1.283 MB / 0.5522 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05315/0.7075, allocations: 37.43 MB / 0.5887 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.7219, allocations: 7.822 MB / 0.5963 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006059/0.728, allocations: 2.429 MB / 0.5987 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006818/0.7348, allocations: 3.961 MB / 0.6026 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.7367, allocations: 292 kB / 0.6029 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004133/0.7408, allocations: 1.319 MB / 0.6041 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004677/0.7455, allocations: 3.257 MB / 0.6073 GB, free: 7.918 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003173/0.7487, allocations: 1.509 MB / 0.6088 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.7629, allocations: 10.46 MB / 0.619 GB, free: 11.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.763, allocations: 0 / 0.619 GB, free: 11.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.763, allocations: 3.938 kB / 0.619 GB, free: 11.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005003/0.7635, allocations: 0 / 0.619 GB, free: 11.9 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02002/0.7835, allocations: 7.536 MB / 0.6264 GB, free: 4.281 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.7836, allocations: 8.031 kB / 0.6264 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.8013, allocations: 4.209 MB / 0.6305 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.8158, allocations: 4.893 MB / 0.6353 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005588/0.8164, allocations: 434.9 kB / 0.6357 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003827/0.8202, allocations: 0.5971 MB / 0.6363 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04334/0.8636, allocations: 20.64 MB / 0.6564 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002403/0.8639, allocations: 79.3 kB / 0.6565 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009194/0.8648, allocations: 275.7 kB / 0.6568 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006391/0.8712, allocations: 3.706 MB / 0.6604 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04573/0.9169, allocations: 18.18 MB / 0.6781 GB, free: 14 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7932/1.71, allocations: 74.5 MB / 0.7509 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01745/1.728, allocations: 7.447 MB / 0.7582 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005687/1.733, allocations: 4.106 MB / 0.7622 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02709/1.761, allocations: 18.26 MB / 0.78 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/1.761, allocations: 63.41 kB / 0.7801 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 8.195e-06/1.761, allocations: 0 / 0.7801 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.1157/1.876, allocations: 35.81 MB / 0.815 GB, free: 81.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/1.877, allocations: 200.9 kB / 0.8152 GB, free: 81.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0128/1.889, allocations: 6.435 MB / 0.8215 GB, free: 75.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/1.89, allocations: 85.69 kB / 0.8216 GB, free: 75.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003694/1.894, allocations: 5.369 MB / 0.8268 GB, free: 69.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002395/1.897, allocations: 1.544 MB / 0.8283 GB, free: 68.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008837/1.897, allocations: 218 kB / 0.8286 GB, free: 68.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004924/1.898, allocations: 0.7649 MB / 0.8293 GB, free: 67.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006085/1.904, allocations: 4.296 MB / 0.8335 GB, free: 63.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009323/1.913, allocations: 10.24 MB / 0.8435 GB, free: 49.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/1.923, allocations: 6.478 MB / 0.8498 GB, free: 43.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002031/1.924, allocations: 60 kB / 0.8499 GB, free: 43.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03752/1.961, allocations: 16.27 MB / 0.8658 GB, free: 27.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003351/1.962, allocations: 96 kB / 0.8659 GB, free: 26.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004276/1.962, allocations: 204 kB / 0.8661 GB, free: 26.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007178/1.969, allocations: 2.405 MB / 0.8684 GB, free: 24.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008895/1.978, allocations: 2.464 MB / 0.8708 GB, free: 21.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/1.998, allocations: 11.91 MB / 0.8824 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009631/2.008, allocations: 0.598 MB / 0.883 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002404/2.01, allocations: 0.5951 MB / 0.8836 GB, free: 8.648 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1316): * Single equations (assignments): 1309 * Array equations: 6 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009068/2.019, allocations: 3.776 MB / 0.8873 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001906/2.021, allocations: 0.59 MB / 0.8879 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0212/2.042, allocations: 8.301 MB / 0.896 GB, free: 11.91 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001281/2.043, allocations: 60.69 kB / 0.896 GB, free: 11.86 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.577e-05/2.043, allocations: 15.95 kB / 0.896 GB, free: 11.84 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001237/2.043, allocations: 19.92 kB / 0.8961 GB, free: 11.82 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05368/2.096, allocations: 18.94 MB / 0.9146 GB, free: 8.504 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.73e-05/2.097, allocations: 12 kB / 0.9146 GB, free: 8.492 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003537/2.1, allocations: 0.624 MB / 0.9152 GB, free: 7.867 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006881/2.107, allocations: 1.811 MB / 0.917 GB, free: 6.051 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001129/2.108, allocations: 85.03 kB / 0.917 GB, free: 5.969 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4154/2.524, allocations: 9.984 MB / 0.9268 GB, free: 188.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.112e-05/2.524, allocations: 20.19 kB / 0.9268 GB, free: 188.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02834/2.552, allocations: 12.45 MB / 0.939 GB, free: 184.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/2.555, allocations: 0.6347 MB / 0.9396 GB, free: 184.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/2.556, allocations: 78.02 kB / 0.9397 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002901/2.559, allocations: 212.3 kB / 0.9399 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000709/2.56, allocations: 264.1 kB / 0.9401 GB, free: 184 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003311/2.56, allocations: 116.1 kB / 0.9402 GB, free: 184 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008427/2.569, allocations: 3.988 MB / 0.9441 GB, free: 182.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.71e-07/2.569, allocations: 0 / 0.9441 GB, free: 182.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01204/2.581, allocations: 1.956 MB / 0.946 GB, free: 182.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.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 (331): * Single equations (assignments): 324 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/2.582, allocations: 265.1 kB / 0.9463 GB, free: 182.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01941/2.601, allocations: 10.08 MB / 0.9561 GB, free: 178.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.248e-05/2.601, allocations: 0 / 0.9561 GB, free: 178.7 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006409/2.608, allocations: 3.384 MB / 0.9594 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01058/2.618, allocations: 0.7722 MB / 0.9602 GB, free: 177 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04624/2.665, allocations: 21.7 MB / 0.9814 GB, free: 160.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01201/2.677, allocations: 5.56 MB / 0.9868 GB, free: 156 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002849/2.68, allocations: 490.2 kB / 0.9873 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.423e-06/2.68, allocations: 4 kB / 0.9873 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.2276/2.907, allocations: 140.3 MB / 1.124 GB, free: 15.7 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSRCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSRCalcHelperMain.o] Error 1