Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 176.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008509/0.0008509, allocations: 95.84 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3132/0.3132, allocations: 44.21 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 12 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3445, allocations: 61.89 MB / 0.5095 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.4701, allocations: 103.1 MB / 0.6102 GB, free: 8.008 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4704, allocations: 75.97 kB / 0.6103 GB, free: 7.934 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1514/0.6218, allocations: 59.46 MB / 0.6684 GB, free: 12.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6219, allocations: 4 kB / 0.6684 GB, free: 12.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.879e-05/0.622, allocations: 44 kB / 0.6684 GB, free: 11.97 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.005871/0.6279, allocations: 2.716 MB / 0.6711 GB, free: 9.195 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.6279, allocations: 12.03 kB / 0.6711 GB, free: 9.184 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007903/0.6358, allocations: 1.981 MB / 0.673 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009558/0.6454, allocations: 3.228 MB / 0.6762 GB, free: 3.914 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.6457, allocations: 184.7 kB / 0.6763 GB, free: 3.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008497/0.6465, allocations: 239.8 kB / 0.6766 GB, free: 3.496 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2787/0.9253, allocations: 6.9 MB / 0.6833 GB, free: 99.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.9254, allocations: 42.12 kB / 0.6833 GB, free: 99.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003855/0.9258, allocations: 125.7 kB / 0.6835 GB, free: 99.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008728/0.9267, allocations: 0.7183 MB / 0.6842 GB, free: 99.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.9372, allocations: 5.892 MB / 0.6899 GB, free: 99.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02752/0.9648, allocations: 33.68 MB / 0.7228 GB, free: 76.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/0.9683, allocations: 2.107 MB / 0.7249 GB, free: 75.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.9685, allocations: 185.1 kB / 0.725 GB, free: 75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.9686, allocations: 45.77 kB / 0.7251 GB, free: 74.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 4.038e-06/0.9686, allocations: 0 / 0.7251 GB, free: 74.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.01409/0.9827, allocations: 6.326 MB / 0.7313 GB, free: 72.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.9828, allocations: 143.2 kB / 0.7314 GB, free: 72.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/0.988, allocations: 2.603 MB / 0.7339 GB, free: 71.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.9883, allocations: 39.64 kB / 0.734 GB, free: 71.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.9897, allocations: 2.105 MB / 0.736 GB, free: 69.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006246/0.9904, allocations: 454.9 kB / 0.7365 GB, free: 69.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.9906, allocations: 85.31 kB / 0.7365 GB, free: 69.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003256/0.9909, allocations: 499.7 kB / 0.737 GB, free: 68.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/0.9934, allocations: 1.424 MB / 0.7384 GB, free: 68.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004388/0.9978, allocations: 4.255 MB / 0.7426 GB, free: 64.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00407/1.002, allocations: 2.414 MB / 0.7449 GB, free: 63.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.109e-05/1.002, allocations: 29.75 kB / 0.745 GB, free: 63.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.008428/1.01, allocations: 5.472 MB / 0.7503 GB, free: 61.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/1.011, allocations: 49.88 kB / 0.7503 GB, free: 61.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/1.011, allocations: 100.2 kB / 0.7504 GB, free: 61.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/1.011, allocations: 147.2 kB / 0.7506 GB, free: 61.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/1.014, allocations: 1.086 MB / 0.7516 GB, free: 61.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001108/1.014, allocations: 201.4 kB / 0.7518 GB, free: 60.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/1.018, allocations: 299.6 kB / 0.7521 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004871/1.018, allocations: 277.8 kB / 0.7524 GB, free: 60.86 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.002177/1.02, allocations: 1.39 MB / 0.7537 GB, free: 60.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005112/1.021, allocations: 238.5 kB / 0.754 GB, free: 60.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/1.022, allocations: 1.227 MB / 0.7552 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/1.022, allocations: 11.5 kB / 0.7552 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.022, allocations: 7.75 kB / 0.7552 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.022, allocations: 6.469 kB / 0.7552 GB, free: 59.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/1.029, allocations: 4.39 MB / 0.7595 GB, free: 57.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.029, allocations: 4.125 kB / 0.7595 GB, free: 57.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008548/1.03, allocations: 220.2 kB / 0.7597 GB, free: 57.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.03, allocations: 7.531 kB / 0.7597 GB, free: 57.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/1.03, allocations: 30.48 kB / 0.7597 GB, free: 57.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/1.03, allocations: 11.53 kB / 0.7597 GB, free: 57.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.03, allocations: 3.656 kB / 0.7597 GB, free: 57.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/1.032, allocations: 2.591 MB / 0.7623 GB, free: 56.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/1.033, allocations: 314.6 kB / 0.7626 GB, free: 55.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/1.033, allocations: 30.48 kB / 0.7626 GB, free: 55.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008969/1.034, allocations: 75.78 kB / 0.7627 GB, free: 55.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.034, allocations: 64.06 kB / 0.7627 GB, free: 55.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/1.034, allocations: 41.12 kB / 0.7628 GB, free: 55.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002539/1.037, allocations: 1.834 MB / 0.7646 GB, free: 55.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.037, allocations: 0 / 0.7646 GB, free: 55.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003709/1.041, allocations: 0.6373 MB / 0.7652 GB, free: 55.11 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.0003457/1.041, allocations: 158.1 kB / 0.7653 GB, free: 55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00422/1.045, allocations: 3.231 MB / 0.7685 GB, free: 53.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.045, allocations: 0 / 0.7685 GB, free: 53.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008145/1.046, allocations: 0.78 MB / 0.7693 GB, free: 53.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/1.048, allocations: 254.8 kB / 0.7695 GB, free: 53.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009443/1.057, allocations: 6.565 MB / 0.7759 GB, free: 50.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/1.059, allocations: 2.259 MB / 0.7781 GB, free: 49.15 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003485/1.063, allocations: 1.462 MB / 0.7795 GB, free: 49.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/1.063, allocations: 174.7 kB / 0.7797 GB, free: 49.03 MB / 490.7 MB Notification: Performance of SimCode: time 1.773e-06/1.063, allocations: 0 / 0.7797 GB, free: 49.03 MB / 490.7 MB Notification: Performance of Templates: time 0.0366/1.1, allocations: 20.69 MB / 0.7999 GB, free: 38.04 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches