Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 197.5 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.5 MB / 244.1 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000845/0.000845, allocations: 110.5 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2951/0.2951, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3145, allocations: 62.95 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4393, allocations: 104 MB / 0.618 GB, free: 1.406 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4396, allocations: 75.97 kB / 0.618 GB, free: 1.332 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.148/0.5877, allocations: 58.9 MB / 0.6756 GB, free: 5.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5877, allocations: 0 / 0.6756 GB, free: 5.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001132/0.5878, allocations: 51.94 kB / 0.6756 GB, free: 5.93 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.008795/0.5966, allocations: 2.654 MB / 0.6782 GB, free: 3.211 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5967, allocations: 8.031 kB / 0.6782 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/0.6097, allocations: 1.947 MB / 0.6801 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2581/0.8679, allocations: 2.039 MB / 0.6821 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.8681, allocations: 187.3 kB / 0.6823 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009451/0.8691, allocations: 243.9 kB / 0.6825 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.8796, allocations: 6.891 MB / 0.6892 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.641e-05/0.8797, allocations: 45.66 kB / 0.6893 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00036/0.8801, allocations: 126.2 kB / 0.6894 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008082/0.8809, allocations: 0.7165 MB / 0.6901 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009264/0.8902, allocations: 5.872 MB / 0.6958 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03066/0.9209, allocations: 33.67 MB / 0.7287 GB, free: 76.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/0.9249, allocations: 2.091 MB / 0.7308 GB, free: 75.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.9263, allocations: 1.034 MB / 0.7318 GB, free: 74.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.9265, allocations: 178 kB / 0.7319 GB, free: 74.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.9265, allocations: 39.73 kB / 0.732 GB, free: 74.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 4.248e-06/0.9265, allocations: 2.531 kB / 0.732 GB, free: 74.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.01527/0.9418, allocations: 6.073 MB / 0.7379 GB, free: 72.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.9419, allocations: 140.3 kB / 0.738 GB, free: 72.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.9455, allocations: 2.911 MB / 0.7409 GB, free: 71.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.9457, allocations: 37.52 kB / 0.7409 GB, free: 71.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009796/0.9467, allocations: 2.104 MB / 0.743 GB, free: 69.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.9471, allocations: 457.1 kB / 0.7434 GB, free: 69.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.9473, allocations: 90.94 kB / 0.7435 GB, free: 69.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.9475, allocations: 0.49 MB / 0.744 GB, free: 68.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.9493, allocations: 1.414 MB / 0.7454 GB, free: 68.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.952, allocations: 4.279 MB / 0.7495 GB, free: 63.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004877/0.9568, allocations: 6.179 MB / 0.7556 GB, free: 58.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-05/0.9569, allocations: 33.22 kB / 0.7556 GB, free: 58.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.007652/0.9646, allocations: 5.466 MB / 0.7609 GB, free: 56.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/0.9647, allocations: 47.69 kB / 0.761 GB, free: 56.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.703e-05/0.9648, allocations: 103.3 kB / 0.7611 GB, free: 56.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.92e-05/0.9649, allocations: 134.4 kB / 0.7612 GB, free: 56.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/0.9677, allocations: 1.085 MB / 0.7623 GB, free: 56.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001089/0.9679, allocations: 198.2 kB / 0.7625 GB, free: 56.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/0.9709, allocations: 291.8 kB / 0.7627 GB, free: 56.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004394/0.9714, allocations: 285.5 kB / 0.763 GB, free: 56.16 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.002332/0.9737, allocations: 1.379 MB / 0.7644 GB, free: 55.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005725/0.9743, allocations: 238.6 kB / 0.7646 GB, free: 55.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.9762, allocations: 1.225 MB / 0.7658 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.9763, allocations: 17.44 kB / 0.7658 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.9763, allocations: 3.703 kB / 0.7658 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.9763, allocations: 7.031 kB / 0.7658 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00776/0.9841, allocations: 4.414 MB / 0.7701 GB, free: 53.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.9841, allocations: 3.969 kB / 0.7701 GB, free: 53.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000867/0.985, allocations: 211.8 kB / 0.7703 GB, free: 53.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.985, allocations: 10.97 kB / 0.7703 GB, free: 53.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.9851, allocations: 23.97 kB / 0.7704 GB, free: 53.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.9851, allocations: 15.17 kB / 0.7704 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9851, allocations: 7.438 kB / 0.7704 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.9872, allocations: 2.136 MB / 0.7725 GB, free: 51.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/0.9879, allocations: 312 kB / 0.7728 GB, free: 51.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004409/0.9883, allocations: 31.28 kB / 0.7728 GB, free: 51.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.9894, allocations: 71.52 kB / 0.7729 GB, free: 51.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.9895, allocations: 70.16 kB / 0.7729 GB, free: 51.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-05/0.9896, allocations: 34.17 kB / 0.773 GB, free: 51.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002933/0.9925, allocations: 1.837 MB / 0.7748 GB, free: 51 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9926, allocations: 4 kB / 0.7748 GB, free: 50.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003581/0.9961, allocations: 0.6362 MB / 0.7754 GB, free: 50.91 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.0004182/0.9966, allocations: 169.9 kB / 0.7755 GB, free: 50.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004601/1.001, allocations: 3.227 MB / 0.7787 GB, free: 49.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.001, allocations: 1.938 kB / 0.7787 GB, free: 49.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008515/1.002, allocations: 0.7808 MB / 0.7795 GB, free: 48.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/1.006, allocations: 270.4 kB / 0.7797 GB, free: 48.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009954/1.016, allocations: 6.872 MB / 0.7864 GB, free: 42.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/1.018, allocations: 2.211 MB / 0.7886 GB, free: 40.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008081/1.019, allocations: 206.2 kB / 0.7888 GB, free: 40.21 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/1.019, allocations: 7.938 kB / 0.7888 GB, free: 40.2 MB / 490.7 MB Notification: Performance of Templates: time 0.04772/1.066, allocations: 36.85 MB / 0.8248 GB, free: 8.484 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches