Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 183.1 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.506/1.506, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0009449/0.0009448, allocations: 82.56 kB / 267 MB, free: 9.266 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.3784/0.3784, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.659e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 58.84 MB / 484.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4203/0.5482, allocations: 101.4 MB / 0.5718 GB, free: 3.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.5485, allocations: 67.97 kB / 0.5718 GB, free: 3.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1515/0.7001, allocations: 58.79 MB / 0.6292 GB, free: 8.414 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.7001, allocations: 0 / 0.6292 GB, free: 8.414 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.243e-05/0.7002, allocations: 48 kB / 0.6293 GB, free: 8.367 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.006279/0.7065, allocations: 2.598 MB / 0.6318 GB, free: 5.715 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.7065, allocations: 8.031 kB / 0.6318 GB, free: 5.707 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008368/0.7149, allocations: 1.981 MB / 0.6338 GB, free: 3.719 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008499/0.7235, allocations: 3.353 MB / 0.637 GB, free: 324 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.7236, allocations: 180.8 kB / 0.6372 GB, free: 140 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000658/0.7243, allocations: 247.9 kB / 0.6375 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.7345, allocations: 6.831 MB / 0.6441 GB, free: 8.246 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-05/0.7346, allocations: 43.53 kB / 0.6442 GB, free: 8.203 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.7349, allocations: 127.9 kB / 0.6443 GB, free: 8.078 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009068/0.7359, allocations: 0.7266 MB / 0.645 GB, free: 7.355 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.7461, allocations: 5.746 MB / 0.6506 GB, free: 1.609 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2975/1.044, allocations: 33.68 MB / 0.6835 GB, free: 82.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/1.048, allocations: 2.087 MB / 0.6855 GB, free: 81.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/1.049, allocations: 1.026 MB / 0.6865 GB, free: 81.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/1.049, allocations: 179.7 kB / 0.6867 GB, free: 81.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/1.049, allocations: 45.95 kB / 0.6868 GB, free: 81.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 3.927e-06/1.049, allocations: 0 / 0.6868 GB, free: 81.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.01242/1.062, allocations: 5.16 MB / 0.6918 GB, free: 80.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/1.062, allocations: 138.9 kB / 0.6919 GB, free: 79.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/1.065, allocations: 2.561 MB / 0.6944 GB, free: 79.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.065, allocations: 43.27 kB / 0.6945 GB, free: 79.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.066, allocations: 2.106 MB / 0.6965 GB, free: 78.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003504/1.067, allocations: 463.1 kB / 0.697 GB, free: 78.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/1.067, allocations: 84.72 kB / 0.697 GB, free: 78.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/1.067, allocations: 0.4919 MB / 0.6975 GB, free: 78.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/1.069, allocations: 1.359 MB / 0.6989 GB, free: 78.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/1.071, allocations: 4.199 MB / 0.703 GB, free: 74.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/1.074, allocations: 2.38 MB / 0.7053 GB, free: 74.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.376e-05/1.074, allocations: 29.44 kB / 0.7053 GB, free: 74.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.007103/1.081, allocations: 5.354 MB / 0.7105 GB, free: 73.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.686e-05/1.081, allocations: 49.12 kB / 0.7106 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.853e-05/1.081, allocations: 104.4 kB / 0.7107 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/1.082, allocations: 150.3 kB / 0.7108 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/1.085, allocations: 1.08 MB / 0.7119 GB, free: 73.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001301/1.085, allocations: 205.2 kB / 0.7121 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/1.088, allocations: 286 kB / 0.7124 GB, free: 73.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/1.088, allocations: 279 kB / 0.7126 GB, free: 73.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004427/1.089, allocations: 450.8 kB / 0.713 GB, free: 73.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/1.089, allocations: 243.2 kB / 0.7133 GB, free: 73.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/1.091, allocations: 1.21 MB / 0.7145 GB, free: 73.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.091, allocations: 15.16 kB / 0.7145 GB, free: 73.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.091, allocations: 11.27 kB / 0.7145 GB, free: 73.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.091, allocations: 6.797 kB / 0.7145 GB, free: 73.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007226/1.098, allocations: 4.41 MB / 0.7188 GB, free: 72.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.098, allocations: 7.531 kB / 0.7188 GB, free: 72.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009574/1.099, allocations: 214.4 kB / 0.719 GB, free: 72.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/1.099, allocations: 8.344 kB / 0.719 GB, free: 72.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.868e-05/1.099, allocations: 23.2 kB / 0.719 GB, free: 72.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/1.099, allocations: 12.19 kB / 0.7191 GB, free: 72.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/1.099, allocations: 6.062 kB / 0.7191 GB, free: 72.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/1.102, allocations: 2.577 MB / 0.7216 GB, free: 70.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009098/1.103, allocations: 467.2 kB / 0.722 GB, free: 70.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/1.103, allocations: 17.69 kB / 0.722 GB, free: 70.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009355/1.104, allocations: 74.08 kB / 0.7221 GB, free: 70.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.104, allocations: 75.72 kB / 0.7222 GB, free: 70.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-05/1.104, allocations: 36.78 kB / 0.7222 GB, free: 70.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002879/1.107, allocations: 1.786 MB / 0.724 GB, free: 69.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.107, allocations: 1.156 kB / 0.724 GB, free: 69.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003726/1.111, allocations: 0.639 MB / 0.7246 GB, free: 69.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003701/1.111, allocations: 167 kB / 0.7247 GB, free: 69.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005832/1.117, allocations: 3.163 MB / 0.7278 GB, free: 68.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.117, allocations: 0 / 0.7278 GB, free: 68.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/1.118, allocations: 0.778 MB / 0.7286 GB, free: 68.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/1.12, allocations: 246.4 kB / 0.7288 GB, free: 67.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008278/1.128, allocations: 4.631 MB / 0.7333 GB, free: 66.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/1.13, allocations: 2.263 MB / 0.7356 GB, free: 65.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003803/1.134, allocations: 1.471 MB / 0.737 GB, free: 65.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/1.135, allocations: 173.5 kB / 0.7372 GB, free: 65.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/1.135, allocations: 0 / 0.7372 GB, free: 65.04 MB / 490.7 MB Notification: Performance of Templates: time 0.03476/1.17, allocations: 20.7 MB / 0.7574 GB, free: 63.99 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches