Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001054/0.001054, allocations: 194 kB / 18.72 MB, free: 4.762 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.997/1.997, allocations: 205.1 MB / 224.6 MB, free: 12.4 MB / 190.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.00159/0.00159, allocations: 43.94 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1357, allocations: 46.64 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.3714/0.5072, allocations: 57.95 MB / 385.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03716/0.5444, allocations: 11.77 MB / 397 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02007/0.5646, allocations: 245.6 kB / 397.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008026/0.5727, allocations: 3.219 MB / 400.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008188/0.5809, allocations: 1.952 MB / 402.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003207/0.5842, allocations: 0.7751 MB / 403.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01362/0.5978, allocations: 6.707 MB / 409.9 MB, free: 3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008856/0.6068, allocations: 4.141 MB / 414 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005109/0.6119, allocations: 1.559 MB / 415.6 MB, free: 36 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006146/0.6181, allocations: 2.506 MB / 418.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002252/0.6204, allocations: 278.8 kB / 418.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/0.6252, allocations: 1.23 MB / 419.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004723/0.63, allocations: 2.139 MB / 421.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007392/0.6374, allocations: 2.46 MB / 424.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.6482, allocations: 6.472 MB / 430.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.6483, allocations: 0 / 430.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6483, allocations: 0 / 430.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004536/0.6488, allocations: 4 kB / 430.6 MB, free: 2.738 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.02236/0.6711, allocations: 5.519 MB / 436.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/0.6712, allocations: 8.031 kB / 436.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.6823, allocations: 2.235 MB / 438.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009333/0.6917, allocations: 2.947 MB / 441.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004324/0.6922, allocations: 270.8 kB / 441.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002283/0.6945, allocations: 351.8 kB / 442 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03084/0.7254, allocations: 11.65 MB / 453.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003924/0.7258, allocations: 47.59 kB / 453.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002247/0.7281, allocations: 167.5 kB / 453.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005002/0.7331, allocations: 2.333 MB / 456.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02818/0.7613, allocations: 9.982 MB / 466.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08453/0.8459, allocations: 44.49 MB / 0.4987 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/0.861, allocations: 5.343 MB / 0.5039 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004716/0.8658, allocations: 2.816 MB / 0.5066 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01842/0.8843, allocations: 8.119 MB / 0.5146 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.623e-05/0.8844, allocations: 59.88 kB / 0.5146 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=216): time 6.793e-06/0.8844, allocations: 0 / 0.5146 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of matching and sorting (n=237): time 0.347/1.231, allocations: 20.77 MB / 0.5349 GB, free: 165.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/1.232, allocations: 178 kB / 0.5351 GB, free: 165.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009341/1.241, allocations: 4.766 MB / 0.5397 GB, free: 163.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005952/1.242, allocations: 58.33 kB / 0.5398 GB, free: 163.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00254/1.244, allocations: 3.395 MB / 0.5431 GB, free: 160.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.245, allocations: 0.8908 MB / 0.544 GB, free: 160.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001887/1.247, allocations: 1.382 MB / 0.5453 GB, free: 159.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.908e-05/1.247, allocations: 308.2 kB / 0.5456 GB, free: 159.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/1.251, allocations: 2.706 MB / 0.5483 GB, free: 158.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005988/1.257, allocations: 6.617 MB / 0.5547 GB, free: 152.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009528/1.267, allocations: 10.07 MB / 0.5646 GB, free: 144.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.99e-05/1.267, allocations: 39.22 kB / 0.5646 GB, free: 144.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01449/1.281, allocations: 10.19 MB / 0.5745 GB, free: 137.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/1.281, allocations: 64 kB / 0.5746 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/1.281, allocations: 136 kB / 0.5747 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/1.284, allocations: 1.203 MB / 0.5759 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/1.288, allocations: 1.602 MB / 0.5775 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007791/1.296, allocations: 6.797 MB / 0.5841 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005971/1.302, allocations: 383.5 kB / 0.5845 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009859/1.303, allocations: 407.5 kB / 0.5849 GB, free: 127.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004543/1.308, allocations: 2.37 MB / 0.5872 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/1.309, allocations: 426 kB / 0.5876 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008658/1.318, allocations: 4.776 MB / 0.5922 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.275e-05/1.318, allocations: 28 kB / 0.5923 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.373e-05/1.318, allocations: 4.875 kB / 0.5923 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.844e-05/1.318, allocations: 11.95 kB / 0.5923 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02306/1.341, allocations: 10.89 MB / 0.6029 GB, free: 108.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-05/1.341, allocations: 4 kB / 0.6029 GB, free: 108.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/1.343, allocations: 427.3 kB / 0.6033 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/1.345, allocations: 1.024 MB / 0.6043 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003366/1.346, allocations: 47.3 kB / 0.6044 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007581/1.353, allocations: 6.359 MB / 0.6106 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.477e-06/1.353, allocations: 11.94 kB / 0.6106 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.366, allocations: 8.154 MB / 0.6186 GB, free: 92.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/1.368, allocations: 0.8275 MB / 0.6194 GB, free: 91.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/1.37, allocations: 51.92 kB / 0.6194 GB, free: 91.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/1.373, allocations: 151.7 kB / 0.6196 GB, free: 91.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004906/1.373, allocations: 145.7 kB / 0.6197 GB, free: 91.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.373, allocations: 67.98 kB / 0.6198 GB, free: 91.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006414/1.38, allocations: 3.054 MB / 0.6228 GB, free: 88 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.38, allocations: 0 / 0.6228 GB, free: 88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008284/1.388, allocations: 1.188 MB / 0.6239 GB, free: 86.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000902/1.389, allocations: 187.1 kB / 0.6241 GB, free: 86.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01093/1.4, allocations: 6.502 MB / 0.6304 GB, free: 80.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.4, allocations: 4.875 kB / 0.6304 GB, free: 80.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003846/1.404, allocations: 2.408 MB / 0.6328 GB, free: 77.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005986/1.41, allocations: 0.4908 MB / 0.6333 GB, free: 77.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/1.438, allocations: 14.04 MB / 0.647 GB, free: 63.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007026/1.445, allocations: 3.665 MB / 0.6506 GB, free: 59.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/1.447, allocations: 343.4 kB / 0.6509 GB, free: 59.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.145e-06/1.447, allocations: 0 / 0.6509 GB, free: 59.07 MB / 446.1 MB Notification: Performance of Templates: time 0.3875/1.835, allocations: 89.16 MB / 0.738 GB, free: 119.3 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.o] Error 1