Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007987/0.0007987, allocations: 96.45 kB / 16.33 MB, free: 5.941 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.0008195/0.0008195, allocations: 182.8 kB / 17.22 MB, free: 5.883 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.697/1.697, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.3801/0.3801, allocations: 43.55 MB / 315.2 MB, free: 8.902 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.0004926/0.0004926, allocations: 18.97 kB / 384.6 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1319, allocations: 58.85 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3277/0.4596, allocations: 57.99 MB / 0.4897 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03366/0.4933, allocations: 12.44 MB / 0.5018 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01514/0.5085, allocations: 283.9 kB / 0.5021 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.5196, allocations: 2.977 MB / 0.505 GB, free: 4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03206/0.5517, allocations: 8.86 MB / 0.5136 GB, free: 292 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006394/0.5581, allocations: 1.015 MB / 0.5146 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05157/0.6097, allocations: 35.25 MB / 0.5491 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.6213, allocations: 5.579 MB / 0.5545 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00499/0.6263, allocations: 1.837 MB / 0.5563 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005552/0.6319, allocations: 2.851 MB / 0.5591 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.6333, allocations: 204 kB / 0.5593 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/0.6368, allocations: 1.155 MB / 0.5604 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00331/0.6401, allocations: 2.4 MB / 0.5627 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.642, allocations: 1.096 MB / 0.5638 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009496/0.6515, allocations: 7.221 MB / 0.5709 GB, free: 13.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.6515, allocations: 4 kB / 0.5709 GB, free: 13.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6515, allocations: 0 / 0.5709 GB, free: 13.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003334/0.6519, allocations: 0 / 0.5709 GB, free: 13.56 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01376/0.6656, allocations: 5.666 MB / 0.5764 GB, free: 7.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.6657, allocations: 12.03 kB / 0.5764 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02192/0.6876, allocations: 3.378 MB / 0.5797 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00993/0.6976, allocations: 4.123 MB / 0.5837 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003144/0.698, allocations: 312 kB / 0.584 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001711/0.6997, allocations: 419.6 kB / 0.5844 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02689/0.7266, allocations: 13.81 MB / 0.5979 GB, free: 0.832 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/0.7268, allocations: 63.38 kB / 0.598 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005898/0.7274, allocations: 195.8 kB / 0.5982 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003797/0.7312, allocations: 2.531 MB / 0.6006 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/0.7562, allocations: 11.77 MB / 0.6121 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3457/1.102, allocations: 53.75 MB / 0.6646 GB, free: 106.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/1.117, allocations: 5.905 MB / 0.6704 GB, free: 105.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00453/1.121, allocations: 3.591 MB / 0.6739 GB, free: 103.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02455/1.146, allocations: 15.44 MB / 0.689 GB, free: 95.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/1.146, allocations: 59.72 kB / 0.689 GB, free: 95.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 5.19e-06/1.146, allocations: 1.094 kB / 0.689 GB, free: 95.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.08229/1.228, allocations: 28.69 MB / 0.7171 GB, free: 85.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.228, allocations: 257.7 kB / 0.7173 GB, free: 85.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007104/1.235, allocations: 5.049 MB / 0.7222 GB, free: 81.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006645/1.236, allocations: 65.7 kB / 0.7223 GB, free: 81.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.238, allocations: 3.892 MB / 0.7261 GB, free: 77.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.239, allocations: 1.001 MB / 0.7271 GB, free: 76.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/1.24, allocations: 152 kB / 0.7272 GB, free: 76.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003136/1.24, allocations: 0.6324 MB / 0.7278 GB, free: 76.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003806/1.244, allocations: 2.974 MB / 0.7307 GB, free: 73.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005613/1.249, allocations: 7.32 MB / 0.7379 GB, free: 63.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005455/1.255, allocations: 4.529 MB / 0.7423 GB, free: 59.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.333e-05/1.255, allocations: 47.95 kB / 0.7424 GB, free: 59.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01599/1.271, allocations: 11.13 MB / 0.7532 GB, free: 47.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-05/1.271, allocations: 68 kB / 0.7533 GB, free: 47.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/1.271, allocations: 152 kB / 0.7534 GB, free: 47.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/1.274, allocations: 1.245 MB / 0.7547 GB, free: 46.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005524/1.279, allocations: 1.833 MB / 0.7564 GB, free: 44.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007501/1.287, allocations: 7.781 MB / 0.764 GB, free: 36.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006311/1.293, allocations: 431.4 kB / 0.7645 GB, free: 36.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/1.294, allocations: 448 kB / 0.7649 GB, free: 35.76 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (954): * Single equations (assignments): 949 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0051/1.299, allocations: 2.641 MB / 0.7675 GB, free: 33.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.301, allocations: 473.9 kB / 0.7679 GB, free: 32.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007876/1.308, allocations: 5.219 MB / 0.773 GB, free: 27.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.787e-05/1.309, allocations: 28 kB / 0.773 GB, free: 27.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.309, allocations: 4 kB / 0.773 GB, free: 27.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/1.309, allocations: 15.95 kB / 0.7731 GB, free: 27.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01914/1.328, allocations: 11.75 MB / 0.7845 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/1.328, allocations: 0 / 0.7845 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002215/1.33, allocations: 0.4992 MB / 0.785 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/1.332, allocations: 0.9847 MB / 0.786 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002182/1.333, allocations: 47.98 kB / 0.786 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006452/1.339, allocations: 7.098 MB / 0.793 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.339, allocations: 4 kB / 0.793 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/1.35, allocations: 8.702 MB / 0.8015 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/1.353, allocations: 0.8816 MB / 0.8023 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006704/1.354, allocations: 44 kB / 0.8024 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.355, allocations: 183.7 kB / 0.8025 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/1.356, allocations: 153.2 kB / 0.8027 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.356, allocations: 74.11 kB / 0.8028 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005375/1.361, allocations: 3.15 MB / 0.8058 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.361, allocations: 0 / 0.8058 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007229/1.369, allocations: 1.372 MB / 0.8072 GB, free: 8.074 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005069/1.369, allocations: 186 kB / 0.8074 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.382, allocations: 7.261 MB / 0.8144 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.382, allocations: 0 / 0.8144 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004048/1.386, allocations: 2.557 MB / 0.8169 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.39, allocations: 0.5722 MB / 0.8175 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2735/1.664, allocations: 15.51 MB / 0.8326 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00447/1.668, allocations: 4.084 MB / 0.8366 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001945/1.67, allocations: 379.1 kB / 0.837 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.214e-06/1.67, allocations: 0 / 0.837 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1805/1.851, allocations: 124 MB / 0.9581 GB, free: 70.98 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.Forces.LineForceWithMassCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMassCalcHelperMain.o] Error 1