Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008013/0.0008013, allocations: 95.83 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.0008055/0.0008056, allocations: 179.8 kB / 18.52 MB, free: 5.172 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.437/1.437, allocations: 223.2 MB / 242.5 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 44.22 MB / 337.9 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 12 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 61.91 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.4104/0.5761, allocations: 52.72 MB / 0.5126 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03206/0.6082, allocations: 11.7 MB / 0.524 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01536/0.6236, allocations: 248.2 kB / 0.5243 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.6339, allocations: 2.744 MB / 0.5269 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02629/0.6602, allocations: 8.266 MB / 0.535 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.6653, allocations: 1.069 MB / 0.5361 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04576/0.7111, allocations: 36.01 MB / 0.5712 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.7227, allocations: 7.041 MB / 0.5781 GB, free: 8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005136/0.7279, allocations: 2.143 MB / 0.5802 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006358/0.7342, allocations: 3.49 MB / 0.5836 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001745/0.736, allocations: 260 kB / 0.5838 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.7399, allocations: 1.299 MB / 0.5851 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004004/0.744, allocations: 2.887 MB / 0.5879 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002662/0.7466, allocations: 1.376 MB / 0.5893 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.7604, allocations: 9.537 MB / 0.5986 GB, free: 3.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.7604, allocations: 0 / 0.5986 GB, free: 3.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.7604, allocations: 3.938 kB / 0.5986 GB, free: 3.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004389/0.7609, allocations: 0 / 0.5986 GB, free: 3.254 MB / 430.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.01582/0.7767, allocations: 6.528 MB / 0.605 GB, free: 12.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7768, allocations: 12.02 kB / 0.605 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/0.7923, allocations: 4.034 MB / 0.6089 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.8029, allocations: 4.198 MB / 0.613 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004134/0.8034, allocations: 394 kB / 0.6134 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.8058, allocations: 0.5581 MB / 0.6139 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03613/0.842, allocations: 18.89 MB / 0.6324 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/0.8422, allocations: 71.31 kB / 0.6325 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007696/0.843, allocations: 251.7 kB / 0.6327 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004886/0.8479, allocations: 3.424 MB / 0.636 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03798/0.8859, allocations: 16.59 MB / 0.6522 GB, free: 11.11 MB / 494.1 MB 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.7497/1.636, allocations: 66.83 MB / 0.7175 GB, free: 147 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0201/1.656, allocations: 6.256 MB / 0.7236 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005256/1.661, allocations: 2.819 MB / 0.7264 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02249/1.684, allocations: 13.82 MB / 0.7399 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/1.684, allocations: 64.56 kB / 0.7399 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 5.61e-06/1.684, allocations: 0 / 0.7399 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.08323/1.767, allocations: 25.2 MB / 0.7645 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.767, allocations: 193.2 kB / 0.7647 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/1.779, allocations: 5.855 MB / 0.7704 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008333/1.78, allocations: 73.7 kB / 0.7705 GB, free: 121 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004317/1.784, allocations: 4.957 MB / 0.7753 GB, free: 116 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002431/1.786, allocations: 1.276 MB / 0.7766 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/1.788, allocations: 189.4 kB / 0.7768 GB, free: 114.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.001142/1.789, allocations: 0.7191 MB / 0.7775 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006845/1.796, allocations: 3.322 MB / 0.7807 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0104/1.806, allocations: 8.838 MB / 0.7893 GB, free: 99.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009546/1.816, allocations: 5.32 MB / 0.7945 GB, free: 94.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003265/1.816, allocations: 56 kB / 0.7946 GB, free: 93.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02937/1.846, allocations: 12.91 MB / 0.8072 GB, free: 81.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005106/1.846, allocations: 92.72 kB / 0.8073 GB, free: 80.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006698/1.847, allocations: 196.2 kB / 0.8075 GB, free: 80.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004323/1.851, allocations: 1.341 MB / 0.8088 GB, free: 79.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007344/1.859, allocations: 2.207 MB / 0.8109 GB, free: 77.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.87, allocations: 7.289 MB / 0.8181 GB, free: 69.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/1.881, allocations: 0.516 MB / 0.8186 GB, free: 69.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003258/1.885, allocations: 0.5557 MB / 0.8191 GB, free: 68.76 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.009232/1.894, allocations: 3.444 MB / 0.8225 GB, free: 65.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.896, allocations: 0.5206 MB / 0.823 GB, free: 64.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.908, allocations: 5.386 MB / 0.8282 GB, free: 59.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.918e-05/1.908, allocations: 37.48 kB / 0.8283 GB, free: 59.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/1.908, allocations: 10.52 kB / 0.8283 GB, free: 59.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-05/1.908, allocations: 15.94 kB / 0.8283 GB, free: 59.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03103/1.939, allocations: 13.99 MB / 0.842 GB, free: 45.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.739e-05/1.939, allocations: 8 kB / 0.842 GB, free: 45.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.942, allocations: 0.4992 MB / 0.8425 GB, free: 44.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/1.945, allocations: 0.8183 MB / 0.8433 GB, free: 43.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004571/1.945, allocations: 67.98 kB / 0.8433 GB, free: 43.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008112/1.953, allocations: 5.319 MB / 0.8485 GB, free: 38.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.953, allocations: 15.94 kB / 0.8485 GB, free: 38.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.968, allocations: 8.257 MB / 0.8566 GB, free: 29.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/1.97, allocations: 0.5722 MB / 0.8572 GB, free: 29.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002011/1.972, allocations: 71.92 kB / 0.8572 GB, free: 28.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003483/1.975, allocations: 137.4 kB / 0.8574 GB, free: 28.85 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008175/1.976, allocations: 217.5 kB / 0.8576 GB, free: 28.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004335/1.976, allocations: 97.36 kB / 0.8577 GB, free: 28.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007969/1.984, allocations: 3.623 MB / 0.8612 GB, free: 24.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.42e-07/1.984, allocations: 0 / 0.8612 GB, free: 24.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01137/1.996, allocations: 1.642 MB / 0.8628 GB, free: 23.32 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.001585/1.997, allocations: 260.5 kB / 0.863 GB, free: 23.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01485/2.012, allocations: 7.85 MB / 0.8707 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.169e-05/2.012, allocations: 0 / 0.8707 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004466/2.017, allocations: 2.372 MB / 0.873 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006604/2.023, allocations: 0.6721 MB / 0.8737 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03978/2.063, allocations: 18.88 MB / 0.8921 GB, free: 9.102 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008923/2.072, allocations: 5.147 MB / 0.8972 GB, free: 3.914 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/2.074, allocations: 451.4 kB / 0.8976 GB, free: 3.473 MB / 0.5451 GB Notification: Performance of SimCode: time 1.082e-06/2.074, allocations: 4 kB / 0.8976 GB, free: 3.469 MB / 0.5451 GB Notification: Performance of Templates: time 0.5663/2.64, allocations: 125.1 MB / 1.02 GB, free: 149.5 MB / 0.5763 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.o] Error 1