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.001135/0.001135, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008323/0.0008322, allocations: 95.27 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3513/0.3513, allocations: 45.23 MB / 394.7 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 8 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3223, allocations: 63.25 MB / 0.5192 GB, free: 37.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4437, allocations: 104 MB / 0.6207 GB, free: 15.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.444, allocations: 75.97 kB / 0.6208 GB, free: 15.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1483/0.5923, allocations: 60.23 MB / 0.6796 GB, free: 2.641 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5924, allocations: 0 / 0.6796 GB, free: 2.641 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.987e-05/0.5924, allocations: 48 kB / 0.6797 GB, free: 2.594 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.2605/0.8529, allocations: 2.729 MB / 0.6823 GB, free: 103.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.853, allocations: 12.86 kB / 0.6823 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008958/0.8619, allocations: 1.976 MB / 0.6843 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007964/0.8699, allocations: 2.725 MB / 0.6869 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.8701, allocations: 185 kB / 0.6871 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005902/0.8707, allocations: 243.1 kB / 0.6873 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.8813, allocations: 6.897 MB / 0.6941 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.8814, allocations: 45.78 kB / 0.6941 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003869/0.8818, allocations: 125.5 kB / 0.6942 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008773/0.8827, allocations: 0.7217 MB / 0.6949 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009498/0.8922, allocations: 5.896 MB / 0.7007 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03123/0.9235, allocations: 33.67 MB / 0.7336 GB, free: 75.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/0.9274, allocations: 2.102 MB / 0.7356 GB, free: 74.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.9276, allocations: 175.6 kB / 0.7358 GB, free: 74.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.9276, allocations: 50.98 kB / 0.7359 GB, free: 74.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 3.406e-06/0.9277, allocations: 0 / 0.7359 GB, free: 74.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.01278/0.9404, allocations: 6.333 MB / 0.742 GB, free: 71.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.9405, allocations: 144 kB / 0.7422 GB, free: 71.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/0.9437, allocations: 2.598 MB / 0.7447 GB, free: 70.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.33e-05/0.9438, allocations: 44.58 kB / 0.7448 GB, free: 70.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008769/0.9446, allocations: 2.117 MB / 0.7468 GB, free: 68.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.9449, allocations: 451.8 kB / 0.7473 GB, free: 68.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.9451, allocations: 85.09 kB / 0.7473 GB, free: 68.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.9453, allocations: 0.4933 MB / 0.7478 GB, free: 67.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.947, allocations: 1.417 MB / 0.7492 GB, free: 67.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/0.9497, allocations: 4.262 MB / 0.7534 GB, free: 63.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.9526, allocations: 2.398 MB / 0.7557 GB, free: 62.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.904e-05/0.9527, allocations: 29.47 kB / 0.7557 GB, free: 62.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.007932/0.9606, allocations: 5.477 MB / 0.7611 GB, free: 60.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/0.9607, allocations: 46.19 kB / 0.7611 GB, free: 60.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.101e-05/0.9608, allocations: 103.6 kB / 0.7612 GB, free: 60.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.9609, allocations: 153.1 kB / 0.7614 GB, free: 60.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/0.9637, allocations: 1.08 MB / 0.7624 GB, free: 59.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001206/0.9639, allocations: 202.8 kB / 0.7626 GB, free: 59.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.967, allocations: 288.4 kB / 0.7629 GB, free: 59.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003883/0.9674, allocations: 280.1 kB / 0.7632 GB, free: 59.73 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.002166/0.9695, allocations: 1.391 MB / 0.7645 GB, free: 59.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/0.97, allocations: 239.7 kB / 0.7648 GB, free: 58.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.9717, allocations: 1.216 MB / 0.7659 GB, free: 58.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.9718, allocations: 14.22 kB / 0.766 GB, free: 58.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.9718, allocations: 0 / 0.766 GB, free: 58.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.9718, allocations: 11.62 kB / 0.766 GB, free: 58.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006702/0.9785, allocations: 4.406 MB / 0.7703 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.9785, allocations: 9.438 kB / 0.7703 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.9794, allocations: 217.4 kB / 0.7705 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.9794, allocations: 6.281 kB / 0.7705 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/0.9795, allocations: 29.47 kB / 0.7705 GB, free: 56.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.9795, allocations: 13.16 kB / 0.7705 GB, free: 56.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9795, allocations: 10.75 kB / 0.7705 GB, free: 56.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.9816, allocations: 2.583 MB / 0.7731 GB, free: 54.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.9822, allocations: 319.8 kB / 0.7734 GB, free: 54.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.9824, allocations: 20.44 kB / 0.7734 GB, free: 54.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008693/0.9833, allocations: 73 kB / 0.7735 GB, free: 54.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.9834, allocations: 68.69 kB / 0.7735 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.9835, allocations: 39.69 kB / 0.7736 GB, free: 54.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002561/0.9861, allocations: 1.829 MB / 0.7753 GB, free: 54.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9861, allocations: 2.734 kB / 0.7754 GB, free: 54.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004675/0.9908, allocations: 0.6403 MB / 0.776 GB, free: 53.62 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.0004096/0.9912, allocations: 168.6 kB / 0.7761 GB, free: 53.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004496/0.9957, allocations: 3.23 MB / 0.7793 GB, free: 50.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.9957, allocations: 0 / 0.7793 GB, free: 50.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/0.9965, allocations: 0.785 MB / 0.7801 GB, free: 49.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.9979, allocations: 246.2 kB / 0.7803 GB, free: 49.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008602/1.007, allocations: 6.558 MB / 0.7867 GB, free: 43.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/1.008, allocations: 2.266 MB / 0.7889 GB, free: 41.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003157/1.011, allocations: 1.465 MB / 0.7903 GB, free: 41.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/1.012, allocations: 170 kB / 0.7905 GB, free: 40.86 MB / 490.7 MB Notification: Performance of SimCode: time 2.715e-06/1.012, allocations: 0 / 0.7905 GB, free: 40.86 MB / 490.7 MB Notification: Performance of Templates: time 0.03395/1.046, allocations: 20.68 MB / 0.8107 GB, free: 22.75 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/jenkins/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