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.001272/0.001272, allocations: 183.4 kB / 13.19 MB, free: 2.129 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.341/1.341, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009425/0.0009428, allocations: 97.91 kB / 267.1 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.339/0.339, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.294e-05/3.303e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1284, allocations: 58.84 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.5286, allocations: 105.7 MB / 0.576 GB, free: 204 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5289, allocations: 74.34 kB / 0.5761 GB, free: 168 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6873/1.216, allocations: 171.1 MB / 0.7432 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.244e-06/1.216, allocations: 0 / 0.7432 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005423/1.217, allocations: 176.5 kB / 0.7434 GB, free: 78.53 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.02894/1.246, allocations: 8.262 MB / 0.7515 GB, free: 75.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/1.246, allocations: 8.625 kB / 0.7515 GB, free: 75.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04671/1.293, allocations: 12.09 MB / 0.7633 GB, free: 74.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02575/1.318, allocations: 10.96 MB / 0.774 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00055/1.319, allocations: 0.6355 MB / 0.7746 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004419/1.323, allocations: 0.8501 MB / 0.7754 GB, free: 73.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04816/1.372, allocations: 19.85 MB / 0.7948 GB, free: 65.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005776/1.372, allocations: 109.9 kB / 0.7949 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003247/1.375, allocations: 408.3 kB / 0.7953 GB, free: 65.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00244/1.378, allocations: 1.821 MB / 0.7971 GB, free: 64.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03374/1.412, allocations: 16.05 MB / 0.8128 GB, free: 59.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3837/1.795, allocations: 82.21 MB / 0.893 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01916/1.815, allocations: 8.069 MB / 0.9009 GB, free: 77.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005343/1.82, allocations: 4.081 MB / 0.9049 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006821/1.821, allocations: 0.6608 MB / 0.9055 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/1.821, allocations: 75.06 kB / 0.9056 GB, free: 76.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 6.322e-06/1.821, allocations: 0 / 0.9056 GB, free: 76.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.06978/1.891, allocations: 26.27 MB / 0.9313 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.891, allocations: 296.5 kB / 0.9316 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01611/1.907, allocations: 6.828 MB / 0.9382 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007606/1.908, allocations: 82.41 kB / 0.9383 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004791/1.912, allocations: 5.867 MB / 0.944 GB, free: 67.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00153/1.914, allocations: 1.271 MB / 0.9453 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009147/1.915, allocations: 194.2 kB / 0.9455 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006516/1.916, allocations: 0.7125 MB / 0.9462 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006467/1.922, allocations: 3.437 MB / 0.9495 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/1.933, allocations: 9.13 MB / 0.9584 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009014/1.942, allocations: 5.545 MB / 0.9638 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002206/1.942, allocations: 57.53 kB / 0.9639 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1262) (initialization): time 0.02507/1.967, allocations: 13.21 MB / 0.9768 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/1.967, allocations: 92.09 kB / 0.9769 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002713/1.967, allocations: 201.6 kB / 0.9771 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/1.97, allocations: 1.052 MB / 0.9781 GB, free: 54.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007555/1.977, allocations: 2.25 MB / 0.9803 GB, free: 54.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.988, allocations: 11.28 MB / 0.9913 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009895/1.998, allocations: 0.5217 MB / 0.9918 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002783/2.001, allocations: 0.5725 MB / 0.9924 GB, free: 46.63 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 () * 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.002882/2.004, allocations: 0.8487 MB / 0.9932 GB, free: 45.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001937/2.006, allocations: 0.6817 MB / 0.9939 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00955/2.015, allocations: 5.95 MB / 0.9997 GB, free: 43.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/2.015, allocations: 36.16 kB / 0.9997 GB, free: 43.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.59e-05/2.015, allocations: 11.81 kB / 0.9997 GB, free: 43.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/2.015, allocations: 18.44 kB / 0.9998 GB, free: 43.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03056/2.046, allocations: 15.03 MB / 1.014 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/2.046, allocations: 7.594 kB / 1.014 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/2.049, allocations: 0.5613 MB / 1.015 GB, free: 37.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/2.051, allocations: 0.6954 MB / 1.016 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004765/2.051, allocations: 65.97 kB / 1.016 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008837/2.06, allocations: 10.12 MB / 1.026 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/2.06, allocations: 4.141 kB / 1.026 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/2.074, allocations: 10.08 MB / 1.035 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004618/2.078, allocations: 1.195 MB / 1.037 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002154/2.08, allocations: 56 kB / 1.037 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004473/2.085, allocations: 195.4 kB / 1.037 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000704/2.086, allocations: 197.5 kB / 1.037 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/2.086, allocations: 83.52 kB / 1.037 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009681/2.096, allocations: 4.865 MB / 1.042 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/2.096, allocations: 4 kB / 1.042 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01247/2.108, allocations: 1.868 MB / 1.044 GB, free: 13 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 () * 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.001116/2.109, allocations: 211.1 kB / 1.044 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0139/2.123, allocations: 8.863 MB / 1.053 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/2.123, allocations: 0 / 1.053 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004563/2.128, allocations: 3.188 MB / 1.056 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006781/2.135, allocations: 0.9195 MB / 1.057 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04153/2.176, allocations: 15.27 MB / 1.071 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01452/2.191, allocations: 6.264 MB / 1.078 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009805/2.201, allocations: 3.091 MB / 1.081 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/2.203, allocations: 461.3 kB / 1.081 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of SimCode: time 9.31e-07/2.203, allocations: 0 / 1.081 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.4353/2.638, allocations: 69.94 MB / 1.149 GB, free: 95.05 MB / 0.5417 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