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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 99.94 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001257, allocations: 196.8 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.7 MB / 246.4 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.19 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.000396, allocations: 8 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 63.55 MB / 482.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01358/0.1474, allocations: 12.91 MB / 495.3 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00838/0.1559, allocations: 4.169 MB / 499.5 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.158, allocations: 55.88 kB / 499.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.1597, allocations: 0.6182 MB / 0.4884 GB, free: 2.742 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.1654, allocations: 2.101 MB / 0.4905 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1668, allocations: 443.2 kB / 0.4909 GB, free: 208 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.1705, allocations: 2.773 MB / 0.4936 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.1728, allocations: 1.401 MB / 0.495 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.1743, allocations: 0.6966 MB / 0.4956 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.1762, allocations: 1.145 MB / 0.4968 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004378/0.1767, allocations: 80 kB / 0.4968 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.1784, allocations: 0.7839 MB / 0.4976 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.1795, allocations: 0.9349 MB / 0.4985 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009231/0.1804, allocations: 496 kB / 0.499 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003704/0.1842, allocations: 2.986 MB / 0.5019 GB, free: 4.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1842, allocations: 0 / 0.5019 GB, free: 4.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1842, allocations: 4 kB / 0.5019 GB, free: 4.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001259/0.1843, allocations: 4 kB / 0.5019 GB, free: 4.852 MB / 382.1 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.005475/0.1898, allocations: 2.462 MB / 0.5043 GB, free: 2.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.1899, allocations: 12.03 kB / 0.5043 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006271/0.1961, allocations: 1.697 MB / 0.506 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2398/0.4359, allocations: 1.284 MB / 0.5072 GB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.4361, allocations: 121.5 kB / 0.5074 GB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004286/0.4366, allocations: 158.8 kB / 0.5075 GB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.4476, allocations: 6.455 MB / 0.5138 GB, free: 36.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.312e-05/0.4477, allocations: 31.47 kB / 0.5138 GB, free: 36.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.448, allocations: 85.31 kB / 0.5139 GB, free: 36.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002499/0.4505, allocations: 1.434 MB / 0.5153 GB, free: 35.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.4612, allocations: 5.715 MB / 0.5209 GB, free: 34.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/0.4849, allocations: 26.76 MB / 0.547 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/0.4884, allocations: 2.145 MB / 0.5491 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.4894, allocations: 1.031 MB / 0.5501 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.4896, allocations: 174 kB / 0.5503 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.4896, allocations: 52.8 kB / 0.5504 GB, free: 8.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.015e-06/0.4896, allocations: 0 / 0.5504 GB, free: 8.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01324/0.5029, allocations: 6.338 MB / 0.5565 GB, free: 1.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.503, allocations: 137 kB / 0.5567 GB, free: 1.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/0.5074, allocations: 2.869 MB / 0.5595 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.5076, allocations: 37.7 kB / 0.5595 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002079/0.5097, allocations: 2.099 MB / 0.5616 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/0.5102, allocations: 455.5 kB / 0.562 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.5104, allocations: 97.27 kB / 0.5621 GB, free: 11.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003263/0.5107, allocations: 0.4959 MB / 0.5626 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/0.513, allocations: 1.406 MB / 0.5639 GB, free: 9.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004787/0.5178, allocations: 4.287 MB / 0.5681 GB, free: 4.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/0.5218, allocations: 2.403 MB / 0.5705 GB, free: 1.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.716e-05/0.5219, allocations: 32 kB / 0.5705 GB, free: 1.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008722/0.5306, allocations: 5.46 MB / 0.5758 GB, free: 12.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/0.5307, allocations: 48 kB / 0.5759 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.89e-05/0.5308, allocations: 108 kB / 0.576 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.5309, allocations: 148 kB / 0.5761 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/0.5348, allocations: 1.226 MB / 0.5773 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001545/0.535, allocations: 199.2 kB / 0.5775 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.5375, allocations: 256.7 kB / 0.5778 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/0.5378, allocations: 277.2 kB / 0.578 GB, free: 10.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (557): * Single equations (assignments): 554 * 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.001907/0.5398, allocations: 1.384 MB / 0.5794 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/0.5402, allocations: 236.9 kB / 0.5796 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.5422, allocations: 1.233 MB / 0.5808 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.5423, allocations: 13.25 kB / 0.5808 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5423, allocations: 0 / 0.5808 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5423, allocations: 7.984 kB / 0.5808 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007393/0.5497, allocations: 4.544 MB / 0.5853 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.5497, allocations: 4 kB / 0.5853 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.5513, allocations: 371.3 kB / 0.5856 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/0.5514, allocations: 8 kB / 0.5856 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.5515, allocations: 31.94 kB / 0.5857 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/0.5515, allocations: 18.27 kB / 0.5857 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5515, allocations: 4 kB / 0.5857 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.5543, allocations: 2.155 MB / 0.5878 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.5549, allocations: 309.8 kB / 0.5881 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.5551, allocations: 20 kB / 0.5881 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.5559, allocations: 68.75 kB / 0.5882 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.5561, allocations: 71.81 kB / 0.5882 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/0.5562, allocations: 32.94 kB / 0.5883 GB, free: 15.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00285/0.559, allocations: 1.799 MB / 0.59 GB, free: 13.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.559, allocations: 0 / 0.59 GB, free: 13.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004056/0.5631, allocations: 0.6196 MB / 0.5906 GB, free: 13.02 MB / 430.1 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.0004075/0.5635, allocations: 155.8 kB / 0.5908 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005623/0.5691, allocations: 3.237 MB / 0.5939 GB, free: 9.656 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.5692, allocations: 4 kB / 0.5939 GB, free: 9.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.5703, allocations: 0.7866 MB / 0.5947 GB, free: 8.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.5724, allocations: 254.8 kB / 0.595 GB, free: 8.621 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.5864, allocations: 6.532 MB / 0.6013 GB, free: 1.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.5887, allocations: 2.211 MB / 0.6035 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003758/0.5925, allocations: 1.463 MB / 0.6049 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000556/0.5931, allocations: 175.4 kB / 0.6051 GB, free: 14.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.412e-06/0.5931, allocations: 3.938 kB / 0.6051 GB, free: 14.11 MB / 446.1 MB Notification: Performance of Templates: time 0.04028/0.6334, allocations: 20.47 MB / 0.6251 GB, free: 9.746 MB / 462.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches