Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 205.4 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 226.5 MB / 245.4 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007989/0.0007989, allocations: 95.47 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3649/0.3649, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002612, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3349, allocations: 62.96 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.4806, allocations: 103.9 MB / 0.6199 GB, free: 1.355 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.4809, allocations: 79.95 kB / 0.62 GB, free: 1.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1599/0.6409, allocations: 58.9 MB / 0.6775 GB, free: 5.922 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6409, allocations: 4 kB / 0.6775 GB, free: 5.918 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001243/0.6411, allocations: 51.94 kB / 0.6776 GB, free: 5.867 MB / 490.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.008408/0.6495, allocations: 2.654 MB / 0.6802 GB, free: 3.148 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.6495, allocations: 12.03 kB / 0.6802 GB, free: 3.137 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008563/0.6581, allocations: 1.943 MB / 0.6821 GB, free: 1.188 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3365/0.9947, allocations: 2.044 MB / 0.6841 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.9949, allocations: 180.7 kB / 0.6842 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007906/0.9957, allocations: 243.8 kB / 0.6845 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009873/1.006, allocations: 6.892 MB / 0.6912 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/1.006, allocations: 46.31 kB / 0.6912 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/1.006, allocations: 125.5 kB / 0.6914 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000894/1.007, allocations: 0.7152 MB / 0.6921 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009549/1.017, allocations: 5.868 MB / 0.6978 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03139/1.048, allocations: 33.67 MB / 0.7307 GB, free: 76.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/1.052, allocations: 2.094 MB / 0.7327 GB, free: 75.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/1.054, allocations: 1.035 MB / 0.7337 GB, free: 74.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/1.054, allocations: 174.4 kB / 0.7339 GB, free: 74.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.054, allocations: 43.94 kB / 0.7339 GB, free: 74.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 3.676e-06/1.054, allocations: 0 / 0.7339 GB, free: 74.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.013/1.067, allocations: 6.077 MB / 0.7399 GB, free: 72.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/1.067, allocations: 144.3 kB / 0.74 GB, free: 71.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/1.071, allocations: 2.905 MB / 0.7428 GB, free: 70.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/1.071, allocations: 41.33 kB / 0.7429 GB, free: 70.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/1.072, allocations: 2.102 MB / 0.7449 GB, free: 69.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/1.073, allocations: 454.9 kB / 0.7454 GB, free: 69.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/1.073, allocations: 83.69 kB / 0.7454 GB, free: 68.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/1.073, allocations: 0.4905 MB / 0.7459 GB, free: 68.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/1.075, allocations: 1.421 MB / 0.7473 GB, free: 68.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/1.078, allocations: 4.275 MB / 0.7515 GB, free: 63.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005446/1.084, allocations: 6.179 MB / 0.7575 GB, free: 58.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.803e-05/1.084, allocations: 33.22 kB / 0.7576 GB, free: 58.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.008777/1.092, allocations: 5.47 MB / 0.7629 GB, free: 56.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.093, allocations: 49.19 kB / 0.7629 GB, free: 56.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000199/1.093, allocations: 101 kB / 0.763 GB, free: 56.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/1.093, allocations: 137.6 kB / 0.7632 GB, free: 56.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/1.097, allocations: 1.086 MB / 0.7642 GB, free: 56.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001734/1.097, allocations: 201.3 kB / 0.7644 GB, free: 56.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/1.1, allocations: 283 kB / 0.7647 GB, free: 56.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005273/1.101, allocations: 277.5 kB / 0.765 GB, free: 55.99 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.002226/1.103, allocations: 1.391 MB / 0.7663 GB, free: 55.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/1.104, allocations: 235 kB / 0.7665 GB, free: 55.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/1.105, allocations: 1.229 MB / 0.7677 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/1.105, allocations: 11.47 kB / 0.7677 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.105, allocations: 7.391 kB / 0.7678 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.105, allocations: 2.484 kB / 0.7678 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007894/1.113, allocations: 4.41 MB / 0.7721 GB, free: 52.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.113, allocations: 7.938 kB / 0.7721 GB, free: 52.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/1.114, allocations: 206.4 kB / 0.7723 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/1.114, allocations: 11.75 kB / 0.7723 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/1.115, allocations: 23.22 kB / 0.7723 GB, free: 52.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/1.115, allocations: 18.52 kB / 0.7723 GB, free: 52.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.115, allocations: 3.938 kB / 0.7723 GB, free: 52.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/1.117, allocations: 2.143 MB / 0.7744 GB, free: 51.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/1.117, allocations: 315.4 kB / 0.7747 GB, free: 51.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/1.118, allocations: 25.19 kB / 0.7747 GB, free: 51.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009178/1.119, allocations: 73.25 kB / 0.7748 GB, free: 51.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.119, allocations: 69.98 kB / 0.7749 GB, free: 51.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/1.119, allocations: 40.62 kB / 0.7749 GB, free: 51.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00256/1.121, allocations: 1.83 MB / 0.7767 GB, free: 50.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.121, allocations: 0 / 0.7767 GB, free: 50.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003367/1.125, allocations: 0.6394 MB / 0.7773 GB, free: 50.74 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.0003303/1.125, allocations: 179.9 kB / 0.7775 GB, free: 50.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004595/1.13, allocations: 3.222 MB / 0.7806 GB, free: 48.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.13, allocations: 0 / 0.7806 GB, free: 48.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000858/1.131, allocations: 0.7848 MB / 0.7814 GB, free: 48.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/1.134, allocations: 261.8 kB / 0.7817 GB, free: 47.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009769/1.144, allocations: 6.595 MB / 0.7881 GB, free: 41.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/1.146, allocations: 2.213 MB / 0.7903 GB, free: 39.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0037/1.15, allocations: 1.469 MB / 0.7917 GB, free: 39.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/1.151, allocations: 167.4 kB / 0.7919 GB, free: 38.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/1.151, allocations: 4 kB / 0.7919 GB, free: 38.88 MB / 490.7 MB Notification: Performance of Templates: time 0.04187/1.193, allocations: 20.71 MB / 0.8121 GB, free: 22.88 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches