Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008832/0.0008835, allocations: 97.47 kB / 16.33 MB, free: 5.945 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.0008428/0.0008428, allocations: 189.3 kB / 17.22 MB, free: 5.879 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.621/1.621, allocations: 205.4 MB / 223.4 MB, free: 5.562 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.4173/0.4173, allocations: 43.55 MB / 315.2 MB, free: 9.141 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.0004865/0.0004865, allocations: 20 kB / 384.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1327, allocations: 58.86 MB / 443.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4037/0.5365, allocations: 114.2 MB / 0.5446 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06891/0.6054, allocations: 22.58 MB / 0.5666 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0319/0.6374, allocations: 0.5261 MB / 0.5671 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02229/0.6597, allocations: 6.032 MB / 0.573 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05842/0.7182, allocations: 17.44 MB / 0.5901 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008964/0.7272, allocations: 1.236 MB / 0.5913 GB, free: 8.719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.45/1.177, allocations: 67.67 MB / 0.6574 GB, free: 40.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01578/1.193, allocations: 10.06 MB / 0.6672 GB, free: 39.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0061/1.199, allocations: 2.679 MB / 0.6698 GB, free: 39.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007577/1.207, allocations: 4.317 MB / 0.674 GB, free: 39.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001872/1.209, allocations: 312.5 kB / 0.6743 GB, free: 39.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/1.213, allocations: 1.176 MB / 0.6755 GB, free: 39.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004447/1.217, allocations: 3.743 MB / 0.6791 GB, free: 39.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002771/1.22, allocations: 1.707 MB / 0.6808 GB, free: 38.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/1.231, allocations: 11.62 MB / 0.6921 GB, free: 28.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.231, allocations: 0 / 0.6921 GB, free: 28.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.076e-06/1.231, allocations: 0 / 0.6921 GB, free: 28.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000629/1.231, allocations: 0 / 0.6921 GB, free: 28.76 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.01697/1.248, allocations: 8.339 MB / 0.7003 GB, free: 21.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.248, allocations: 8.031 kB / 0.7003 GB, free: 21.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/1.265, allocations: 3.805 MB / 0.704 GB, free: 17.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/1.279, allocations: 6.451 MB / 0.7103 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003497/1.279, allocations: 498.8 kB / 0.7108 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/1.282, allocations: 0.6638 MB / 0.7114 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03651/1.318, allocations: 19.9 MB / 0.7309 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000347/1.319, allocations: 90.81 kB / 0.7309 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/1.32, allocations: 312.3 kB / 0.7312 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00585/1.326, allocations: 3.614 MB / 0.7348 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0353/1.361, allocations: 16.71 MB / 0.7511 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1012/1.462, allocations: 73.13 MB / 0.8225 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02016/1.482, allocations: 8.509 MB / 0.8308 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006559/1.489, allocations: 4.539 MB / 0.8352 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007892/1.49, allocations: 0.6662 MB / 0.8359 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.897e-05/1.49, allocations: 71.95 kB / 0.836 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=311): time 6.503e-06/1.49, allocations: 0 / 0.836 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=335): time 0.379/1.869, allocations: 35.68 MB / 0.8708 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/1.869, allocations: 294.8 kB / 0.8711 GB, free: 232 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/1.882, allocations: 7.772 MB / 0.8787 GB, free: 230.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001069/1.883, allocations: 78.11 kB / 0.8788 GB, free: 230.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003515/1.886, allocations: 5.739 MB / 0.8844 GB, free: 225.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001864/1.888, allocations: 1.269 MB / 0.8856 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004813/1.889, allocations: 203.8 kB / 0.8858 GB, free: 224.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0004323/1.889, allocations: 0.7361 MB / 0.8865 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006703/1.896, allocations: 4.078 MB / 0.8905 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009957/1.906, allocations: 9.805 MB / 0.9001 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.917, allocations: 6.161 MB / 0.9061 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001905/1.917, allocations: 57.75 kB / 0.9061 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0379/1.955, allocations: 15.74 MB / 0.9215 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000439/1.955, allocations: 91.12 kB / 0.9216 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005411/1.956, allocations: 197.3 kB / 0.9218 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005895/1.962, allocations: 2.353 MB / 0.9241 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008861/1.971, allocations: 2.353 MB / 0.9264 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/1.989, allocations: 15.61 MB / 0.9416 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009701/1.999, allocations: 0.5826 MB / 0.9422 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002388/2.001, allocations: 0.5787 MB / 0.9428 GB, free: 194.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1250): * Single equations (assignments): 1243 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01019/2.012, allocations: 3.888 MB / 0.9465 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002378/2.014, allocations: 0.6672 MB / 0.9472 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/2.029, allocations: 7.97 MB / 0.955 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-05/2.029, allocations: 39.44 kB / 0.955 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.811e-05/2.029, allocations: 12 kB / 0.955 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-05/2.029, allocations: 15.94 kB / 0.955 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03498/2.064, allocations: 17.35 MB / 0.972 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.325e-05/2.064, allocations: 0 / 0.972 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/2.067, allocations: 0.5579 MB / 0.9725 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004893/2.072, allocations: 2.002 MB / 0.9745 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006961/2.073, allocations: 56.78 kB / 0.9745 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/2.087, allocations: 14.44 MB / 0.9887 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.087, allocations: 4.031 kB / 0.9887 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/2.106, allocations: 12.35 MB / 1.001 GB, free: 136 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004005/2.11, allocations: 1.296 MB / 1.002 GB, free: 134.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002571/2.113, allocations: 52 kB / 1.002 GB, free: 134.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004601/2.117, allocations: 244.7 kB / 1.002 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007782/2.118, allocations: 194.3 kB / 1.002 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004582/2.119, allocations: 84.62 kB / 1.003 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01017/2.129, allocations: 4.937 MB / 1.007 GB, free: 129.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.11e-07/2.129, allocations: 0 / 1.007 GB, free: 129.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01298/2.142, allocations: 2.02 MB / 1.009 GB, free: 127.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/2.143, allocations: 199.4 kB / 1.01 GB, free: 127 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01741/2.161, allocations: 10.05 MB / 1.019 GB, free: 117 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/2.161, allocations: 0.7031 kB / 1.019 GB, free: 117 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006789/2.168, allocations: 3.648 MB / 1.023 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01132/2.179, allocations: 0.927 MB / 1.024 GB, free: 112.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04723/2.226, allocations: 22.88 MB / 1.046 GB, free: 89.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00882/2.235, allocations: 5.889 MB / 1.052 GB, free: 83.49 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002553/2.238, allocations: 0.5189 MB / 1.052 GB, free: 82.97 MB / 0.5919 GB Notification: Performance of SimCode: time 1.953e-06/2.238, allocations: 0 / 1.052 GB, free: 82.97 MB / 0.5919 GB Notification: Performance of Templates: time 0.617/2.855, allocations: 258.7 MB / 1.305 GB, free: 67.96 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2CalcHelperMain.o] Error 1