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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 183.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2083/0.2083, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003187, allocations: 15.98 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.511, allocations: 105.8 MB / 0.5821 GB, free: 10.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5113, allocations: 81.67 kB / 0.5822 GB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7225/1.234, allocations: 170.9 MB / 0.7491 GB, free: 93.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.474e-06/1.234, allocations: 3.375 kB / 0.7491 GB, free: 93.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006029/1.234, allocations: 178.4 kB / 0.7493 GB, free: 93.65 MB / 0.4948 GB 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.02985/1.264, allocations: 9.041 MB / 0.7581 GB, free: 90.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.264, allocations: 10.34 kB / 0.7581 GB, free: 90.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04689/1.311, allocations: 12.07 MB / 0.7699 GB, free: 89.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02926/1.341, allocations: 11.01 MB / 0.7806 GB, free: 88.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008605/1.341, allocations: 0.6411 MB / 0.7813 GB, free: 88.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006405/1.348, allocations: 0.8523 MB / 0.7821 GB, free: 88.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05247/1.4, allocations: 20.01 MB / 0.8016 GB, free: 81.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008099/1.401, allocations: 107.3 kB / 0.8018 GB, free: 81.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004923/1.406, allocations: 404.6 kB / 0.8021 GB, free: 81.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002947/1.409, allocations: 1.819 MB / 0.8039 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03374/1.443, allocations: 16.29 MB / 0.8198 GB, free: 69.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09921/1.542, allocations: 82.21 MB / 0.9001 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2981/1.84, allocations: 8.141 MB / 0.9081 GB, free: 98.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007898/1.841, allocations: 0.661 MB / 0.9087 GB, free: 97.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/1.841, allocations: 69.78 kB / 0.9088 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 5.982e-06/1.841, allocations: 0 / 0.9088 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.08056/1.922, allocations: 30.95 MB / 0.939 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.922, allocations: 300.8 kB / 0.9393 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/1.935, allocations: 6.893 MB / 0.946 GB, free: 90.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.936, allocations: 76.77 kB / 0.9461 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005198/1.942, allocations: 5.876 MB / 0.9518 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001941/1.944, allocations: 1.267 MB / 0.9531 GB, free: 87.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/1.945, allocations: 196.7 kB / 0.9532 GB, free: 87.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004744/1.945, allocations: 0.7125 MB / 0.9539 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004907/1.95, allocations: 3.526 MB / 0.9574 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007578/1.958, allocations: 9.223 MB / 0.9664 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008281/1.966, allocations: 5.566 MB / 0.9718 GB, free: 77.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002741/1.966, allocations: 57.66 kB / 0.9719 GB, free: 77.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1262) (initialization): time 0.02784/1.994, allocations: 13.38 MB / 0.9849 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002052/1.994, allocations: 91.38 kB / 0.985 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004039/1.995, allocations: 202.7 kB / 0.9852 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/1.997, allocations: 1.05 MB / 0.9863 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007889/2.005, allocations: 2.258 MB / 0.9885 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/2.016, allocations: 11.47 MB / 0.9997 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00903/2.025, allocations: 0.5242 MB / 1 GB, free: 64.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002601/2.027, allocations: 0.5733 MB / 1.001 GB, free: 64.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * 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 (1182): * Single equations (assignments): 1175 * 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.008637/2.036, allocations: 3.881 MB / 1.005 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/2.038, allocations: 0.681 MB / 1.005 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009498/2.047, allocations: 6.052 MB / 1.011 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.525e-05/2.047, allocations: 40.09 kB / 1.011 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/2.047, allocations: 10.81 kB / 1.011 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/2.047, allocations: 17.02 kB / 1.011 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02705/2.074, allocations: 15.11 MB / 1.026 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/2.074, allocations: 4 kB / 1.026 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/2.077, allocations: 0.5569 MB / 1.026 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/2.079, allocations: 0.6982 MB / 1.027 GB, free: 48.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003248/2.079, allocations: 59.14 kB / 1.027 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008836/2.088, allocations: 10.34 MB / 1.037 GB, free: 38.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.088, allocations: 4.031 kB / 1.037 GB, free: 38.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/2.102, allocations: 10.2 MB / 1.047 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004532/2.107, allocations: 1.192 MB / 1.048 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/2.109, allocations: 58.83 kB / 1.048 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00375/2.112, allocations: 191.5 kB / 1.049 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/2.113, allocations: 197.7 kB / 1.049 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/2.113, allocations: 89.02 kB / 1.049 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008775/2.122, allocations: 4.935 MB / 1.054 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/2.122, allocations: 0 / 1.054 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01087/2.133, allocations: 1.869 MB / 1.056 GB, free: 21.73 MB / 0.5105 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.000914/2.134, allocations: 216.1 kB / 1.056 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01301/2.147, allocations: 8.999 MB / 1.065 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/2.147, allocations: 0 / 1.065 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003721/2.151, allocations: 3.255 MB / 1.068 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/2.155, allocations: 0.9245 MB / 1.069 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/2.189, allocations: 21.42 MB / 1.09 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008831/2.198, allocations: 6.129 MB / 1.096 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009682/2.207, allocations: 3.186 MB / 1.099 GB, free: 40 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.241/2.448, allocations: 484 kB / 1.099 GB, free: 96.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/2.448, allocations: 0 / 1.099 GB, free: 96.74 MB / 0.5261 GB Notification: Performance of Templates: time 0.1211/2.57, allocations: 69.45 MB / 1.167 GB, free: 91.85 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches