Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001842/0.001842, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.001154/0.001155, allocations: 84.98 kB / 271.9 MB, free: 8.281 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.6376/0.6376, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000695/0.0006952, allocations: 16 kB / 432.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2167, allocations: 58.85 MB / 491.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5384/0.7552, allocations: 101.6 MB / 0.5791 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/0.7557, allocations: 71.97 kB / 0.5792 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2881/1.044, allocations: 57.95 MB / 0.6358 GB, free: 6.445 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.965e-06/1.044, allocations: 0 / 0.6358 GB, free: 6.445 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002126/1.044, allocations: 51.94 kB / 0.6358 GB, free: 6.395 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.01405/1.058, allocations: 2.648 MB / 0.6384 GB, free: 3.684 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/1.058, allocations: 8.031 kB / 0.6384 GB, free: 3.676 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/1.075, allocations: 1.943 MB / 0.6403 GB, free: 1.727 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009405/1.084, allocations: 2.289 MB / 0.6426 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004518/1.085, allocations: 185.1 kB / 0.6427 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002168/1.087, allocations: 244.2 kB / 0.643 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/1.112, allocations: 6.892 MB / 0.6497 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003295/1.113, allocations: 47.81 kB / 0.6497 GB, free: 7.219 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001795/1.115, allocations: 127.9 kB / 0.6499 GB, free: 7.094 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002113/1.117, allocations: 0.7111 MB / 0.6506 GB, free: 6.383 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/1.138, allocations: 5.872 MB / 0.6563 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.493/1.631, allocations: 33.67 MB / 0.6892 GB, free: 82.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008449/1.64, allocations: 2.094 MB / 0.6912 GB, free: 82.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/1.643, allocations: 1.031 MB / 0.6922 GB, free: 82.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/1.643, allocations: 185.1 kB / 0.6924 GB, free: 81.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/1.643, allocations: 43.58 kB / 0.6924 GB, free: 81.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 6.692e-06/1.643, allocations: 0 / 0.6924 GB, free: 81.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.02875/1.672, allocations: 6.116 MB / 0.6984 GB, free: 80.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/1.672, allocations: 143 kB / 0.6986 GB, free: 80.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00892/1.681, allocations: 2.921 MB / 0.7014 GB, free: 79.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000448/1.681, allocations: 40.39 kB / 0.7014 GB, free: 79.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00239/1.684, allocations: 2.106 MB / 0.7035 GB, free: 78.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/1.685, allocations: 458 kB / 0.7039 GB, free: 78.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000463/1.685, allocations: 88.7 kB / 0.704 GB, free: 78.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003713/1.686, allocations: 0.4955 MB / 0.7045 GB, free: 78.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004172/1.69, allocations: 1.421 MB / 0.7059 GB, free: 78.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006754/1.697, allocations: 4.272 MB / 0.7101 GB, free: 74.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.708, allocations: 6.172 MB / 0.7161 GB, free: 70.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002074/1.709, allocations: 30.66 kB / 0.7161 GB, free: 70.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.02003/1.729, allocations: 5.479 MB / 0.7215 GB, free: 70.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/1.729, allocations: 50.69 kB / 0.7215 GB, free: 70.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003419/1.729, allocations: 100.3 kB / 0.7216 GB, free: 70.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/1.73, allocations: 135.9 kB / 0.7217 GB, free: 70.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006571/1.736, allocations: 1.081 MB / 0.7228 GB, free: 70 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003095/1.737, allocations: 199.3 kB / 0.723 GB, free: 69.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007909/1.744, allocations: 294.9 kB / 0.7233 GB, free: 69.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/1.746, allocations: 279.8 kB / 0.7235 GB, free: 69.93 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 () * Number of clocked 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.005363/1.752, allocations: 1.384 MB / 0.7249 GB, free: 69.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009634/1.753, allocations: 248.2 kB / 0.7251 GB, free: 69.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/1.756, allocations: 1.216 MB / 0.7263 GB, free: 68.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.068e-05/1.756, allocations: 17.97 kB / 0.7263 GB, free: 68.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.756, allocations: 0.9375 kB / 0.7263 GB, free: 68.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/1.756, allocations: 8.109 kB / 0.7263 GB, free: 68.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/1.773, allocations: 4.417 MB / 0.7307 GB, free: 66.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.861e-05/1.773, allocations: 6.672 kB / 0.7307 GB, free: 66.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/1.775, allocations: 215 kB / 0.7309 GB, free: 66.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.024e-05/1.775, allocations: 8.812 kB / 0.7309 GB, free: 66.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/1.775, allocations: 23.09 kB / 0.7309 GB, free: 66.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-05/1.775, allocations: 8.781 kB / 0.7309 GB, free: 66.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.595e-05/1.775, allocations: 12.84 kB / 0.7309 GB, free: 66.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005386/1.781, allocations: 2.137 MB / 0.733 GB, free: 65.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/1.783, allocations: 467.6 kB / 0.7334 GB, free: 65.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008383/1.784, allocations: 24.69 kB / 0.7335 GB, free: 65.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/1.786, allocations: 73.44 kB / 0.7335 GB, free: 65.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/1.786, allocations: 73.8 kB / 0.7336 GB, free: 65.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/1.787, allocations: 37.53 kB / 0.7336 GB, free: 65.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006937/1.794, allocations: 1.845 MB / 0.7354 GB, free: 64.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.794, allocations: 1.312 kB / 0.7354 GB, free: 64.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008513/1.802, allocations: 0.636 MB / 0.7361 GB, free: 64.7 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 () * Number of clocked 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.000772/1.803, allocations: 155.8 kB / 0.7362 GB, free: 64.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01032/1.813, allocations: 3.229 MB / 0.7394 GB, free: 63.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.972e-05/1.813, allocations: 0 / 0.7394 GB, free: 63.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/1.816, allocations: 0.785 MB / 0.7401 GB, free: 63.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006639/1.822, allocations: 260.7 kB / 0.7404 GB, free: 63.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/1.841, allocations: 6.906 MB / 0.7471 GB, free: 59.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004141/1.845, allocations: 2.22 MB / 0.7493 GB, free: 58.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/1.847, allocations: 209 kB / 0.7495 GB, free: 58.56 MB / 490.7 MB Notification: Performance of SimCode: time 1.974e-06/1.847, allocations: 0 / 0.7495 GB, free: 58.56 MB / 490.7 MB Notification: Performance of Templates: time 0.09072/1.937, allocations: 36.89 MB / 0.7855 GB, free: 48.77 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches