Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_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.0008212/0.0008212, allocations: 92.95 kB / 16.33 MB, free: 5.938 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.0009349/0.0009349, allocations: 181.1 kB / 17.22 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3743/0.3743, allocations: 43.54 MB / 315.2 MB, free: 8.816 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000496/0.000496, allocations: 18.97 kB / 384.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2961/0.4219, allocations: 52.81 MB / 496.2 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02729/0.4492, allocations: 11.66 MB / 0.496 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01142/0.4607, allocations: 249.1 kB / 0.4962 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008459/0.4692, allocations: 2.747 MB / 0.4989 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02875/0.498, allocations: 8.277 MB / 0.507 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004966/0.503, allocations: 1.072 MB / 0.508 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03161/0.5346, allocations: 23.41 MB / 0.5309 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01217/0.5468, allocations: 7.041 MB / 0.5378 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005157/0.552, allocations: 2.16 MB / 0.5399 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006102/0.5581, allocations: 3.498 MB / 0.5433 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001896/0.56, allocations: 267.9 kB / 0.5435 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.5644, allocations: 1.287 MB / 0.5448 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004868/0.5693, allocations: 2.906 MB / 0.5476 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.5725, allocations: 1.376 MB / 0.549 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.5846, allocations: 9.547 MB / 0.5583 GB, free: 10.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5846, allocations: 4 kB / 0.5583 GB, free: 10.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.5846, allocations: 0 / 0.5583 GB, free: 10.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005121/0.5852, allocations: 0 / 0.5583 GB, free: 10.46 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.0176/0.6028, allocations: 6.533 MB / 0.5647 GB, free: 3.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.6028, allocations: 16.03 kB / 0.5647 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.6182, allocations: 4.036 MB / 0.5686 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.6286, allocations: 4.339 MB / 0.5729 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004373/0.6291, allocations: 398 kB / 0.5733 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002345/0.6314, allocations: 0.5542 MB / 0.5738 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03958/0.671, allocations: 18.89 MB / 0.5922 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003892/0.6715, allocations: 59.47 kB / 0.5923 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002214/0.6737, allocations: 251.7 kB / 0.5925 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004863/0.6786, allocations: 3.436 MB / 0.5959 GB, free: 2.746 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03183/0.7104, allocations: 16.61 MB / 0.6121 GB, free: 2.125 MB / 478.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.3345/1.045, allocations: 66.83 MB / 0.6774 GB, free: 92.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/1.061, allocations: 6.263 MB / 0.6835 GB, free: 89.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00477/1.066, allocations: 2.811 MB / 0.6862 GB, free: 88.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02649/1.092, allocations: 13.83 MB / 0.6997 GB, free: 81.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/1.093, allocations: 62.83 kB / 0.6998 GB, free: 81.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 6.071e-06/1.093, allocations: 3.938 kB / 0.6998 GB, free: 81.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.07497/1.168, allocations: 25.28 MB / 0.7245 GB, free: 72.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/1.168, allocations: 183.4 kB / 0.7247 GB, free: 71.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007569/1.175, allocations: 5.887 MB / 0.7304 GB, free: 67.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006532/1.176, allocations: 70.73 kB / 0.7305 GB, free: 67.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00279/1.179, allocations: 4.96 MB / 0.7353 GB, free: 62.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/1.18, allocations: 1.286 MB / 0.7366 GB, free: 60.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/1.181, allocations: 191.2 kB / 0.7368 GB, free: 60.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003774/1.181, allocations: 0.7153 MB / 0.7375 GB, free: 59.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004358/1.185, allocations: 3.314 MB / 0.7407 GB, free: 56.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006423/1.192, allocations: 8.834 MB / 0.7493 GB, free: 45.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006939/1.199, allocations: 5.314 MB / 0.7545 GB, free: 39.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.199, allocations: 56 kB / 0.7546 GB, free: 39.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02417/1.223, allocations: 12.92 MB / 0.7672 GB, free: 26.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002614/1.223, allocations: 88 kB / 0.7673 GB, free: 26.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000356/1.224, allocations: 192.9 kB / 0.7675 GB, free: 26.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003652/1.228, allocations: 1.341 MB / 0.7688 GB, free: 25.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007266/1.235, allocations: 2.211 MB / 0.7709 GB, free: 22.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.246, allocations: 7.289 MB / 0.7781 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007791/1.253, allocations: 0.5072 MB / 0.7786 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/1.256, allocations: 0.5469 MB / 0.7791 GB, free: 14.49 MB / 494.1 MB 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.009184/1.265, allocations: 3.467 MB / 0.7825 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002043/1.267, allocations: 0.5283 MB / 0.783 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/1.279, allocations: 5.382 MB / 0.7882 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-05/1.279, allocations: 39.36 kB / 0.7883 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.02e-05/1.279, allocations: 12 kB / 0.7883 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.092e-05/1.279, allocations: 15.94 kB / 0.7883 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03296/1.312, allocations: 13.99 MB / 0.802 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.693e-05/1.312, allocations: 12 kB / 0.802 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/1.315, allocations: 0.4914 MB / 0.8025 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003243/1.318, allocations: 0.8174 MB / 0.8033 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005837/1.319, allocations: 67.12 kB / 0.8033 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009766/1.328, allocations: 5.332 MB / 0.8085 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-05/1.328, allocations: 23.89 kB / 0.8086 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/1.345, allocations: 8.252 MB / 0.8166 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.347, allocations: 0.9391 MB / 0.8175 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/1.349, allocations: 70.98 kB / 0.8176 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.352, allocations: 135.9 kB / 0.8177 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006736/1.353, allocations: 222.6 kB / 0.8179 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003698/1.353, allocations: 107.3 kB / 0.818 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007723/1.361, allocations: 3.639 MB / 0.8216 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.51e-07/1.361, allocations: 4 kB / 0.8216 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01007/1.371, allocations: 1.652 MB / 0.8232 GB, free: 0.6055 MB / 0.5137 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.001022/1.372, allocations: 244.7 kB / 0.8234 GB, free: 384 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2489/1.621, allocations: 7.838 MB / 0.8311 GB, free: 154 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/1.621, allocations: 5.094 kB / 0.8311 GB, free: 154 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003789/1.625, allocations: 2.368 MB / 0.8334 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/1.629, allocations: 0.6767 MB / 0.8341 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/1.656, allocations: 18.9 MB / 0.8525 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006919/1.663, allocations: 5.155 MB / 0.8576 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/1.665, allocations: 451.8 kB / 0.858 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/1.665, allocations: 0 / 0.858 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1724/1.837, allocations: 125.3 MB / 0.9804 GB, free: 39.42 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.o] Error 1