Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008052/0.0008051, allocations: 92.3 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.000985/0.000985, allocations: 198.5 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.545/1.545, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2726/0.2726, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003084, allocations: 11.94 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3836/0.5293, allocations: 52.73 MB / 0.5223 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0361/0.5655, allocations: 11.73 MB / 0.5338 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01384/0.5794, allocations: 248.3 kB / 0.534 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0113/0.5907, allocations: 2.748 MB / 0.5367 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02926/0.62, allocations: 8.249 MB / 0.5447 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00571/0.6257, allocations: 1.075 MB / 0.5458 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05378/0.6795, allocations: 36.18 MB / 0.5811 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.6917, allocations: 7.023 MB / 0.588 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005658/0.6974, allocations: 2.145 MB / 0.5901 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006476/0.7039, allocations: 3.494 MB / 0.5935 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.7057, allocations: 260 kB / 0.5937 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004529/0.7102, allocations: 1.287 MB / 0.595 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005051/0.7153, allocations: 2.883 MB / 0.5978 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003739/0.719, allocations: 1.376 MB / 0.5992 GB, free: 320 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01459/0.7336, allocations: 9.535 MB / 0.6085 GB, free: 6.754 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.7337, allocations: 0 / 0.6085 GB, free: 6.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.7337, allocations: 0 / 0.6085 GB, free: 6.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004677/0.7342, allocations: 0 / 0.6085 GB, free: 6.754 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02332/0.7575, allocations: 6.553 MB / 0.6149 GB, free: 120 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.7576, allocations: 8.031 kB / 0.6149 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/0.7742, allocations: 4.046 MB / 0.6188 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.7851, allocations: 4.101 MB / 0.6228 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/0.7855, allocations: 398 kB / 0.6232 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002678/0.7882, allocations: 0.558 MB / 0.6238 GB, free: 6.934 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04344/0.8316, allocations: 18.89 MB / 0.6422 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002751/0.832, allocations: 75.3 kB / 0.6423 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/0.833, allocations: 247.8 kB / 0.6425 GB, free: 2.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005506/0.8385, allocations: 3.424 MB / 0.6459 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03972/0.8782, allocations: 16.61 MB / 0.6621 GB, free: 14.61 MB / 0.4981 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.7869/1.665, allocations: 66.82 MB / 0.7273 GB, free: 138.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01639/1.682, allocations: 6.267 MB / 0.7335 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004769/1.686, allocations: 2.817 MB / 0.7362 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02186/1.708, allocations: 13.92 MB / 0.7498 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/1.708, allocations: 62.3 kB / 0.7499 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.843e-06/1.708, allocations: 0 / 0.7499 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.08464/1.793, allocations: 25.01 MB / 0.7743 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/1.793, allocations: 184.3 kB / 0.7745 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/1.805, allocations: 5.849 MB / 0.7802 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007381/1.805, allocations: 81.84 kB / 0.7802 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002923/1.808, allocations: 4.952 MB / 0.7851 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.81, allocations: 1.28 MB / 0.7863 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008586/1.811, allocations: 193.2 kB / 0.7865 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003945/1.811, allocations: 0.7127 MB / 0.7872 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00455/1.816, allocations: 3.328 MB / 0.7905 GB, free: 99.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008708/1.824, allocations: 8.841 MB / 0.7991 GB, free: 88.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008075/1.832, allocations: 5.317 MB / 0.8043 GB, free: 83.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000191/1.833, allocations: 56 kB / 0.8043 GB, free: 83.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03189/1.865, allocations: 12.92 MB / 0.817 GB, free: 70.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003953/1.865, allocations: 90.81 kB / 0.817 GB, free: 70.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004502/1.865, allocations: 197 kB / 0.8172 GB, free: 69.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/1.871, allocations: 1.343 MB / 0.8185 GB, free: 68.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009644/1.881, allocations: 2.211 MB / 0.8207 GB, free: 66.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/1.896, allocations: 7.289 MB / 0.8278 GB, free: 58.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01182/1.908, allocations: 0.5044 MB / 0.8283 GB, free: 58.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/1.91, allocations: 0.5558 MB / 0.8289 GB, free: 57.88 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1179): * Single equations (assignments): 1172 * 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%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01139/1.922, allocations: 3.452 MB / 0.8322 GB, free: 54.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/1.924, allocations: 0.5206 MB / 0.8327 GB, free: 53.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/1.936, allocations: 5.39 MB / 0.838 GB, free: 48.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.872e-05/1.936, allocations: 40.92 kB / 0.838 GB, free: 48.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.936, allocations: 8 kB / 0.838 GB, free: 48.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-05/1.936, allocations: 11.95 kB / 0.8381 GB, free: 48.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03269/1.969, allocations: 14 MB / 0.8517 GB, free: 34.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.669e-05/1.969, allocations: 16.17 kB / 0.8517 GB, free: 34.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002209/1.971, allocations: 0.4953 MB / 0.8522 GB, free: 33.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/1.974, allocations: 0.8172 MB / 0.853 GB, free: 32.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004054/1.975, allocations: 69.39 kB / 0.8531 GB, free: 32.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007759/1.982, allocations: 5.322 MB / 0.8583 GB, free: 27.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/1.982, allocations: 27.83 kB / 0.8583 GB, free: 27.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/1.997, allocations: 8.266 MB / 0.8664 GB, free: 18.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002367/1.999, allocations: 0.5683 MB / 0.8669 GB, free: 18.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001597/2.001, allocations: 73.75 kB / 0.867 GB, free: 18.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/2.004, allocations: 139.9 kB / 0.8671 GB, free: 17.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004764/2.004, allocations: 213.5 kB / 0.8674 GB, free: 17.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000271/2.004, allocations: 107 kB / 0.8675 GB, free: 17.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007526/2.012, allocations: 3.619 MB / 0.871 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.51e-07/2.012, allocations: 0 / 0.871 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01132/2.023, allocations: 1.646 MB / 0.8726 GB, free: 12.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/2.025, allocations: 255.3 kB / 0.8728 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01442/2.039, allocations: 7.839 MB / 0.8805 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/2.039, allocations: 256 / 0.8805 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004281/2.043, allocations: 2.374 MB / 0.8828 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006444/2.05, allocations: 0.6781 MB / 0.8835 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04279/2.093, allocations: 18.89 MB / 0.9019 GB, free: 14.18 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007888/2.101, allocations: 5.157 MB / 0.907 GB, free: 8.973 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/2.103, allocations: 451.4 kB / 0.9074 GB, free: 8.531 MB / 0.5607 GB Notification: Performance of SimCode: time 2.475e-06/2.103, allocations: 0 / 0.9074 GB, free: 8.531 MB / 0.5607 GB Notification: Performance of Templates: time 0.5638/2.667, allocations: 125 MB / 1.029 GB, free: 99.54 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSRCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.o] Error 1