Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008687/0.0008689, allocations: 183 kB / 18.09 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000825/0.0008253, allocations: 99.67 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3099/0.3099, allocations: 44.15 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.000368, allocations: 16 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.349, allocations: 61.88 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.4835, allocations: 107.1 MB / 0.6153 GB, free: 3.918 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.4837, allocations: 79.95 kB / 0.6154 GB, free: 3.844 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6196/1.103, allocations: 153.3 MB / 0.7651 GB, free: 78.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.103, allocations: 0 / 0.7651 GB, free: 78.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005865/1.104, allocations: 157.7 kB / 0.7652 GB, free: 78.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02642/1.13, allocations: 8.093 MB / 0.7731 GB, free: 72.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.131, allocations: 7.625 kB / 0.7731 GB, free: 72.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03211/1.163, allocations: 8.629 MB / 0.7816 GB, free: 64.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/1.181, allocations: 8.68 MB / 0.79 GB, free: 55.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006679/1.182, allocations: 0.5701 MB / 0.7906 GB, free: 55.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004363/1.186, allocations: 0.7733 MB / 0.7914 GB, free: 54.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03503/1.221, allocations: 17.96 MB / 0.8089 GB, free: 35.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004925/1.222, allocations: 103.3 kB / 0.809 GB, free: 35.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002416/1.224, allocations: 367.8 kB / 0.8093 GB, free: 34.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00186/1.226, allocations: 1.575 MB / 0.8109 GB, free: 33.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0258/1.252, allocations: 14.37 MB / 0.8249 GB, free: 18.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3164/1.568, allocations: 75.37 MB / 0.8985 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/1.585, allocations: 7.289 MB / 0.9056 GB, free: 52.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003557/1.588, allocations: 3.478 MB / 0.909 GB, free: 52.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/1.589, allocations: 0.6505 MB / 0.9097 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/1.589, allocations: 63.83 kB / 0.9097 GB, free: 52.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=231): time 6.873e-06/1.589, allocations: 3.844 kB / 0.9097 GB, free: 52.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=255): time 0.05991/1.649, allocations: 26.11 MB / 0.9352 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.649, allocations: 288.3 kB / 0.9355 GB, free: 45.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/1.66, allocations: 7.331 MB / 0.9427 GB, free: 45.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004533/1.661, allocations: 63.48 kB / 0.9427 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002705/1.664, allocations: 5.361 MB / 0.948 GB, free: 42.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000816/1.664, allocations: 0.9953 MB / 0.9489 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/1.665, allocations: 176.2 kB / 0.9491 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003048/1.665, allocations: 0.6579 MB / 0.9497 GB, free: 41.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003264/1.668, allocations: 2.858 MB / 0.9525 GB, free: 41.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004758/1.673, allocations: 8.128 MB / 0.9605 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009498/1.683, allocations: 11.98 MB / 0.9722 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/1.683, allocations: 53.53 kB / 0.9722 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.0165/1.699, allocations: 11.53 MB / 0.9835 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/1.699, allocations: 89.94 kB / 0.9836 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003176/1.7, allocations: 184.3 kB / 0.9837 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/1.702, allocations: 1.008 MB / 0.9847 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005913/1.708, allocations: 1.947 MB / 0.9866 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00984/1.718, allocations: 11.27 MB / 0.9976 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006316/1.724, allocations: 454.2 kB / 0.9981 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009859/1.725, allocations: 0.516 MB / 0.9986 GB, free: 9.777 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 (1030): * Single equations (assignments): 1023 * 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.005356/1.731, allocations: 3.526 MB / 1.002 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.732, allocations: 0.6208 MB / 1.003 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006749/1.738, allocations: 4.519 MB / 1.007 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-05/1.739, allocations: 28 kB / 1.007 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/1.739, allocations: 8 kB / 1.007 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/1.739, allocations: 23.73 kB / 1.007 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/1.762, allocations: 12.38 MB / 1.019 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.762, allocations: 3.469 kB / 1.019 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/1.764, allocations: 408.2 kB / 1.02 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/1.766, allocations: 0.7018 MB / 1.02 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/1.766, allocations: 45.77 kB / 1.02 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/1.777, allocations: 10.15 MB / 1.03 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.777, allocations: 3.938 kB / 1.03 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.788, allocations: 7.647 MB / 1.038 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/1.79, allocations: 0.6842 MB / 1.038 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007793/1.791, allocations: 47.05 kB / 1.038 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.793, allocations: 139.6 kB / 1.039 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/1.793, allocations: 147.4 kB / 1.039 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.794, allocations: 67 kB / 1.039 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007337/1.801, allocations: 4.668 MB / 1.043 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.3e-07/1.801, allocations: 0 / 1.043 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007713/1.809, allocations: 1.637 MB / 1.045 GB, free: 0.6836 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (195): * Single equations (assignments): 188 * 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.0004841/1.809, allocations: 197.7 kB / 1.045 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.821, allocations: 7.518 MB / 1.052 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.821, allocations: 0 / 1.052 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003297/1.824, allocations: 2.569 MB / 1.055 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006395/1.831, allocations: 0.9291 MB / 1.056 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/1.86, allocations: 18.83 MB / 1.074 GB, free: 5.633 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007795/1.868, allocations: 5.413 MB / 1.08 GB, free: 228 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007643/1.875, allocations: 2.728 MB / 1.082 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/1.877, allocations: 399.3 kB / 1.083 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/1.877, allocations: 4 kB / 1.083 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of Templates: time 0.3551/2.232, allocations: 62.01 MB / 1.143 GB, free: 159.3 MB / 0.5886 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches