Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 95.66 kB / 16.33 MB, free: 5.953 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.001108/0.001108, allocations: 187.9 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.612/1.612, allocations: 205.4 MB / 223.4 MB, free: 5.539 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.3712/0.3712, allocations: 43.54 MB / 315.2 MB, free: 8.855 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.0005141/0.0005141, allocations: 15.98 kB / 384.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3327/0.4691, allocations: 84.85 MB / 0.5159 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05131/0.5205, allocations: 17.19 MB / 0.5327 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02472/0.5452, allocations: 395.2 kB / 0.533 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02141/0.5667, allocations: 4.468 MB / 0.5374 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04879/0.6155, allocations: 12.94 MB / 0.55 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008645/0.6242, allocations: 0.9103 MB / 0.5509 GB, free: 2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05098/0.6752, allocations: 35.98 MB / 0.5861 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01199/0.6873, allocations: 7.085 MB / 0.593 GB, free: 6.859 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/0.692, allocations: 1.942 MB / 0.5949 GB, free: 4.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007301/0.6993, allocations: 3.147 MB / 0.598 GB, free: 1.754 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002677/0.702, allocations: 240 kB / 0.5982 GB, free: 1.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005343/0.7074, allocations: 1.116 MB / 0.5993 GB, free: 412 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005516/0.713, allocations: 2.751 MB / 0.602 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003635/0.7166, allocations: 1.329 MB / 0.6033 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.7304, allocations: 8.888 MB / 0.6119 GB, free: 3.395 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.7304, allocations: 0 / 0.6119 GB, free: 3.395 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.7304, allocations: 0 / 0.6119 GB, free: 3.395 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005691/0.731, allocations: 0 / 0.6119 GB, free: 3.395 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01889/0.7499, allocations: 6.355 MB / 0.6182 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.75, allocations: 15.98 kB / 0.6182 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/0.7632, allocations: 2.884 MB / 0.621 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/0.7756, allocations: 4.229 MB / 0.6251 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005425/0.7763, allocations: 389.8 kB / 0.6255 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002884/0.7792, allocations: 0.4996 MB / 0.626 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3464/1.126, allocations: 16.39 MB / 0.642 GB, free: 139.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002072/1.126, allocations: 67.89 kB / 0.642 GB, free: 139.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006576/1.126, allocations: 237.2 kB / 0.6423 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005066/1.132, allocations: 3.164 MB / 0.6454 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03124/1.163, allocations: 14.08 MB / 0.6591 GB, free: 134.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07888/1.242, allocations: 60.64 MB / 0.7183 GB, free: 88.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/1.258, allocations: 8.037 MB / 0.7262 GB, free: 80.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004354/1.262, allocations: 4.197 MB / 0.7303 GB, free: 76.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/1.263, allocations: 63.25 kB / 0.7303 GB, free: 76.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.263, allocations: 60.5 kB / 0.7304 GB, free: 76.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.971e-06/1.263, allocations: 4 kB / 0.7304 GB, free: 76.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.07726/1.34, allocations: 35.38 MB / 0.765 GB, free: 40.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/1.34, allocations: 210.1 kB / 0.7652 GB, free: 40.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007862/1.348, allocations: 6.331 MB / 0.7713 GB, free: 34.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009857/1.349, allocations: 77.7 kB / 0.7714 GB, free: 34.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002231/1.351, allocations: 4.533 MB / 0.7758 GB, free: 29.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001691/1.353, allocations: 1.24 MB / 0.7771 GB, free: 28.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/1.353, allocations: 176 kB / 0.7772 GB, free: 28.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003394/1.354, allocations: 0.6859 MB / 0.7779 GB, free: 27.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005073/1.359, allocations: 4.062 MB / 0.7819 GB, free: 23.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006898/1.366, allocations: 8.925 MB / 0.7906 GB, free: 12.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007423/1.373, allocations: 5.893 MB / 0.7963 GB, free: 6.234 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.368e-05/1.373, allocations: 52 kB / 0.7964 GB, free: 6.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02738/1.401, allocations: 14.88 MB / 0.8109 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/1.401, allocations: 80.03 kB / 0.811 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002183/1.401, allocations: 168 kB / 0.8111 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005433/1.406, allocations: 2.303 MB / 0.8134 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007504/1.414, allocations: 2.098 MB / 0.8154 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3093/1.723, allocations: 13.5 MB / 0.8286 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008393/1.732, allocations: 0.5495 MB / 0.8292 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002074/1.734, allocations: 0.5089 MB / 0.8297 GB, free: 134 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1084): * Single equations (assignments): 1079 * 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%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006658/1.741, allocations: 3.157 MB / 0.8327 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/1.742, allocations: 0.5501 MB / 0.8333 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.756, allocations: 8.449 MB / 0.8415 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.398e-05/1.756, allocations: 38.44 kB / 0.8416 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/1.756, allocations: 9.438 kB / 0.8416 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/1.756, allocations: 24.3 kB / 0.8416 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03946/1.796, allocations: 17.39 MB / 0.8586 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/1.796, allocations: 3.656 kB / 0.8586 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003676/1.799, allocations: 0.5992 MB / 0.8592 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006881/1.806, allocations: 2.03 MB / 0.8612 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001087/1.807, allocations: 68.91 kB / 0.8612 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01889/1.826, allocations: 12.72 MB / 0.8736 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.826, allocations: 6.969 kB / 0.8737 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/1.846, allocations: 13.48 MB / 0.8868 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003737/1.85, allocations: 1.254 MB / 0.888 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001753/1.852, allocations: 61.77 kB / 0.8881 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/1.855, allocations: 281.7 kB / 0.8884 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007875/1.856, allocations: 206.8 kB / 0.8886 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003765/1.856, allocations: 89.56 kB / 0.8886 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007417/1.864, allocations: 4.016 MB / 0.8926 GB, free: 108 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.864, allocations: 0 / 0.8926 GB, free: 108 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009369/1.873, allocations: 1.739 MB / 0.8943 GB, free: 106.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (278): * Single equations (assignments): 273 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008194/1.874, allocations: 209.6 kB / 0.8945 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01549/1.889, allocations: 9.845 MB / 0.9041 GB, free: 96.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.89, allocations: 0 / 0.9041 GB, free: 96.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007052/1.897, allocations: 4.124 MB / 0.9081 GB, free: 92.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007809/1.904, allocations: 0.7083 MB / 0.9088 GB, free: 91.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03602/1.941, allocations: 19.51 MB / 0.9279 GB, free: 72.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005215/1.946, allocations: 4.83 MB / 0.9326 GB, free: 67.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002345/1.948, allocations: 471.3 kB / 0.933 GB, free: 66.71 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/1.948, allocations: 0 / 0.933 GB, free: 66.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.4654/2.414, allocations: 154.4 MB / 1.084 GB, free: 115.9 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.o] Error 1