Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 183.6 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.319/1.319, 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.0007522/0.000752, allocations: 89.55 kB / 267.1 MB, free: 9.273 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.3591/0.3591, allocations: 43.48 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.464e-05, allocations: 4 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/0.459, allocations: 106.9 MB / 0.5772 GB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.4594, allocations: 82.2 kB / 0.5773 GB, free: 14.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3108/0.7702, allocations: 115.1 MB / 0.6897 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7703, allocations: 0 / 0.6897 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002121/0.7705, allocations: 108 kB / 0.6898 GB, free: 4.34 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.2941/1.065, allocations: 5.467 MB / 0.6951 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.065, allocations: 9.375 kB / 0.6951 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02917/1.094, allocations: 6.953 MB / 0.7019 GB, free: 83.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/1.111, allocations: 6.873 MB / 0.7086 GB, free: 82.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004124/1.112, allocations: 421.1 kB / 0.709 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/1.114, allocations: 0.54 MB / 0.7096 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02532/1.14, allocations: 13.27 MB / 0.7225 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002188/1.14, allocations: 79.75 kB / 0.7226 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007953/1.141, allocations: 270.9 kB / 0.7229 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/1.142, allocations: 1.254 MB / 0.7241 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.021/1.163, allocations: 10.51 MB / 0.7343 GB, free: 79.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06128/1.225, allocations: 59.77 MB / 0.7927 GB, free: 54.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009677/1.234, allocations: 4.608 MB / 0.7972 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002854/1.237, allocations: 2.213 MB / 0.7994 GB, free: 51.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/1.247, allocations: 6.489 MB / 0.8057 GB, free: 48.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/1.248, allocations: 59.06 kB / 0.8058 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=183): time 7.123e-06/1.248, allocations: 0 / 0.8058 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=195): time 0.03287/1.28, allocations: 14.57 MB / 0.82 GB, free: 42.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/1.281, allocations: 228.4 kB / 0.8202 GB, free: 42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00763/1.288, allocations: 5.18 MB / 0.8253 GB, free: 40.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004269/1.289, allocations: 52.11 kB / 0.8253 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002304/1.291, allocations: 4.139 MB / 0.8294 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009006/1.292, allocations: 0.7724 MB / 0.8301 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/1.292, allocations: 140.3 kB / 0.8303 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003511/1.293, allocations: 0.6134 MB / 0.8309 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/1.295, allocations: 2.245 MB / 0.833 GB, free: 35.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004505/1.3, allocations: 6.746 MB / 0.8396 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004682/1.304, allocations: 3.878 MB / 0.8434 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.913e-05/1.305, allocations: 44.75 kB / 0.8435 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=937) (initialization): time 0.01317/1.318, allocations: 9.169 MB / 0.8524 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.679e-05/1.318, allocations: 72.19 kB / 0.8525 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/1.318, allocations: 164 kB / 0.8526 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/1.319, allocations: 0.6104 MB / 0.8532 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/1.323, allocations: 1.644 MB / 0.8548 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005278/1.329, allocations: 5.726 MB / 0.8604 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005352/1.334, allocations: 397.2 kB / 0.8608 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007202/1.335, allocations: 443.5 kB / 0.8612 GB, free: 13.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 45 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (885): * Single equations (assignments): 880 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008359/1.336, allocations: 0.6633 MB / 0.8619 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/1.336, allocations: 489.6 kB / 0.8624 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00444/1.341, allocations: 3.029 MB / 0.8653 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/1.341, allocations: 22.42 kB / 0.8653 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.341, allocations: 8 kB / 0.8653 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.341, allocations: 12.05 kB / 0.8654 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/1.354, allocations: 8.455 MB / 0.8736 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.354, allocations: 4 kB / 0.8736 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/1.356, allocations: 320.5 kB / 0.8739 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009388/1.357, allocations: 367.1 kB / 0.8743 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/1.357, allocations: 39.33 kB / 0.8743 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005628/1.363, allocations: 5.081 MB / 0.8793 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.363, allocations: 4 kB / 0.8793 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008327/1.371, allocations: 6.092 MB / 0.8852 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002688/1.374, allocations: 0.804 MB / 0.886 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006303/1.374, allocations: 35.12 kB / 0.886 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.376, allocations: 96.31 kB / 0.8861 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/1.376, allocations: 118.4 kB / 0.8862 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/1.376, allocations: 48 kB / 0.8863 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006971/1.383, allocations: 3.69 MB / 0.8899 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.51e-07/1.384, allocations: 4 kB / 0.8899 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008236/1.392, allocations: 1.233 MB / 0.8911 GB, free: 1.867 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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 {(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.0005873/1.392, allocations: 173.5 kB / 0.8913 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2984/1.691, allocations: 5.658 MB / 0.8968 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.691, allocations: 1.125 kB / 0.8968 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002611/1.693, allocations: 1.688 MB / 0.8984 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/1.697, allocations: 0.5964 MB / 0.899 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.716, allocations: 9.62 MB / 0.9084 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004584/1.721, allocations: 4.254 MB / 0.9126 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005733/1.726, allocations: 2.326 MB / 0.9148 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000892/1.727, allocations: 316 kB / 0.9151 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/1.727, allocations: 0 / 0.9151 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.08765/1.815, allocations: 43.35 MB / 0.9575 GB, free: 99.34 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches