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.001353/0.001353, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001812/0.001812, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 77.09 kB / 418.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1262, allocations: 62.45 MB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009324/0.1356, allocations: 7.449 MB / 488.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006902/0.1426, allocations: 3.356 MB / 491.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.1439, allocations: 31.94 kB / 491.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.1462, allocations: 0.8053 MB / 492.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.1501, allocations: 1.292 MB / 493.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.1518, allocations: 0.5262 MB / 494.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004379/0.1562, allocations: 2.597 MB / 496.8 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.1586, allocations: 1.233 MB / 498 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.1601, allocations: 0.7627 MB / 498.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.162, allocations: 1.117 MB / 499.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006432/0.1626, allocations: 144 kB / 0.4883 GB, free: 1.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.1648, allocations: 0.9243 MB / 0.4892 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.1662, allocations: 1.013 MB / 0.4902 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.1683, allocations: 1.211 MB / 0.4914 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006012/0.1744, allocations: 3.839 MB / 0.4951 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1744, allocations: 0 / 0.4951 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1744, allocations: 0 / 0.4951 GB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001732/0.1746, allocations: 0 / 0.4951 GB, free: 10.9 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.007859/0.1825, allocations: 2.938 MB / 0.498 GB, free: 7.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.1825, allocations: 12.02 kB / 0.498 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006247/0.1888, allocations: 1.643 MB / 0.4996 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.1916, allocations: 1.308 MB / 0.5009 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.1917, allocations: 123.4 kB / 0.501 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006135/0.1924, allocations: 179.9 kB / 0.5012 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2629/0.4553, allocations: 6.447 MB / 0.5075 GB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.009e-05/0.4554, allocations: 32.89 kB / 0.5075 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.4557, allocations: 83.61 kB / 0.5076 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002989/0.4587, allocations: 1.438 MB / 0.509 GB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.4707, allocations: 5.731 MB / 0.5146 GB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02966/0.5004, allocations: 26.79 MB / 0.5407 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/0.5044, allocations: 2.144 MB / 0.5428 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.5056, allocations: 1.047 MB / 0.5438 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.5058, allocations: 177.6 kB / 0.544 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.5058, allocations: 46.17 kB / 0.5441 GB, free: 12.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.507e-06/0.5058, allocations: 0 / 0.5441 GB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.0138/0.5196, allocations: 6.363 MB / 0.5503 GB, free: 7.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.5197, allocations: 144.9 kB / 0.5504 GB, free: 7.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/0.5227, allocations: 2.881 MB / 0.5532 GB, free: 4.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/0.5228, allocations: 41.7 kB / 0.5533 GB, free: 4.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007823/0.5236, allocations: 2.106 MB / 0.5553 GB, free: 2.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.5238, allocations: 449.2 kB / 0.5557 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007873/0.5246, allocations: 0.9005 MB / 0.5566 GB, free: 1.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.861e-05/0.5247, allocations: 301.1 kB / 0.5569 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.5264, allocations: 1.426 MB / 0.5583 GB, free: 15.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/0.5302, allocations: 4.299 MB / 0.5625 GB, free: 9.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006957/0.5372, allocations: 6.207 MB / 0.5686 GB, free: 2.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.612e-05/0.5373, allocations: 28 kB / 0.5686 GB, free: 2.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008467/0.5457, allocations: 5.502 MB / 0.574 GB, free: 12.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.5458, allocations: 48 kB / 0.574 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/0.546, allocations: 104 kB / 0.5741 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.5462, allocations: 136 kB / 0.5742 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/0.5504, allocations: 1.228 MB / 0.5754 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001883/0.5506, allocations: 200.2 kB / 0.5756 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/0.5536, allocations: 243.6 kB / 0.5759 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005263/0.5542, allocations: 282.5 kB / 0.5761 GB, free: 10.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002339/0.5565, allocations: 1.395 MB / 0.5775 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005563/0.5571, allocations: 232.9 kB / 0.5777 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.5592, allocations: 1.249 MB / 0.5789 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/0.5593, allocations: 19.94 kB / 0.579 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.5593, allocations: 0 / 0.579 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.5593, allocations: 3.984 kB / 0.579 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00923/0.5686, allocations: 4.551 MB / 0.5834 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/0.5686, allocations: 8.031 kB / 0.5834 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/0.5706, allocations: 367.3 kB / 0.5838 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/0.5707, allocations: 12 kB / 0.5838 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.5708, allocations: 16 kB / 0.5838 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.609e-05/0.5708, allocations: 11.98 kB / 0.5838 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.5708, allocations: 11.94 kB / 0.5838 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.5735, allocations: 2.161 MB / 0.5859 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006264/0.5742, allocations: 302 kB / 0.5862 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004511/0.5746, allocations: 23.98 kB / 0.5862 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.5758, allocations: 59.92 kB / 0.5863 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.5759, allocations: 67.75 kB / 0.5864 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.576, allocations: 39.98 kB / 0.5864 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003039/0.5791, allocations: 1.811 MB / 0.5882 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5791, allocations: 0 / 0.5882 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003321/0.5824, allocations: 0.6146 MB / 0.5888 GB, free: 13.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000387/0.5828, allocations: 161.6 kB / 0.5889 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005382/0.5882, allocations: 3.484 MB / 0.5923 GB, free: 9.594 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.5882, allocations: 0 / 0.5923 GB, free: 9.594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.5893, allocations: 0.7982 MB / 0.5931 GB, free: 8.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.5912, allocations: 275.2 kB / 0.5934 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.6014, allocations: 5.892 MB / 0.5991 GB, free: 2.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002815/0.6043, allocations: 2.206 MB / 0.6013 GB, free: 308 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/0.6052, allocations: 207.4 kB / 0.6015 GB, free: 100 kB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6053, allocations: 4 kB / 0.6015 GB, free: 96 kB / 430.1 MB Notification: Performance of Templates: time 0.05806/0.6633, allocations: 37.12 MB / 0.6377 GB, free: 11.02 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches