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.001278/0.001278, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.7 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 76.72 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1271, allocations: 62.44 MB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008959/0.1361, allocations: 7.455 MB / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006349/0.1425, allocations: 3.364 MB / 490.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008112/0.1433, allocations: 35.88 kB / 490.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.1453, allocations: 0.7937 MB / 491.7 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.1485, allocations: 1.292 MB / 492.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1496, allocations: 0.5301 MB / 493.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002959/0.1526, allocations: 2.59 MB / 496.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.1543, allocations: 1.233 MB / 497.3 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.1556, allocations: 0.7627 MB / 498.1 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.1575, allocations: 1.121 MB / 499.2 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004727/0.1579, allocations: 140 kB / 499.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.1599, allocations: 0.9243 MB / 0.4885 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.1613, allocations: 1.009 MB / 0.4895 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.1634, allocations: 1.211 MB / 0.4907 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005132/0.1686, allocations: 3.843 MB / 0.4944 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1686, allocations: 4 kB / 0.4944 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1686, allocations: 0 / 0.4944 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00018/0.1688, allocations: 0 / 0.4944 GB, free: 10.89 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.00781/0.1766, allocations: 2.93 MB / 0.4973 GB, free: 7.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1767, allocations: 8.031 kB / 0.4973 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006178/0.1829, allocations: 1.651 MB / 0.4989 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.1855, allocations: 1.312 MB / 0.5002 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.1856, allocations: 123.4 kB / 0.5003 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000508/0.1862, allocations: 167.9 kB / 0.5005 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2238/0.41, allocations: 6.459 MB / 0.5068 GB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.4101, allocations: 32.75 kB / 0.5068 GB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004714/0.4106, allocations: 82.97 kB / 0.5069 GB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0033/0.4139, allocations: 1.44 MB / 0.5083 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.4256, allocations: 5.727 MB / 0.5139 GB, free: 35.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02886/0.4545, allocations: 26.79 MB / 0.5401 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/0.4583, allocations: 2.139 MB / 0.5422 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009646/0.4593, allocations: 1.049 MB / 0.5432 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.4594, allocations: 173.1 kB / 0.5433 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.4595, allocations: 50 kB / 0.5434 GB, free: 12.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.296e-06/0.4595, allocations: 0 / 0.5434 GB, free: 12.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01305/0.4725, allocations: 6.364 MB / 0.5496 GB, free: 7.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.4726, allocations: 140.9 kB / 0.5497 GB, free: 7.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.4754, allocations: 2.885 MB / 0.5526 GB, free: 4.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.4755, allocations: 41.7 kB / 0.5526 GB, free: 4.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007897/0.4763, allocations: 2.103 MB / 0.5547 GB, free: 2.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.4766, allocations: 453.1 kB / 0.5551 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007921/0.4774, allocations: 0.9005 MB / 0.556 GB, free: 1.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.4774, allocations: 301.1 kB / 0.5562 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.4792, allocations: 1.426 MB / 0.5576 GB, free: 15.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004199/0.4834, allocations: 4.303 MB / 0.5618 GB, free: 9.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007523/0.4909, allocations: 6.213 MB / 0.5679 GB, free: 2.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-05/0.491, allocations: 28 kB / 0.5679 GB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00892/0.4999, allocations: 5.496 MB / 0.5733 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.929e-05/0.5001, allocations: 52.06 kB / 0.5734 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/0.5002, allocations: 104 kB / 0.5735 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.5003, allocations: 132 kB / 0.5736 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/0.5043, allocations: 1.224 MB / 0.5748 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001569/0.5045, allocations: 199.2 kB / 0.575 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/0.5073, allocations: 247.5 kB / 0.5752 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/0.5077, allocations: 284 kB / 0.5755 GB, free: 10.36 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.001838/0.5095, allocations: 1.384 MB / 0.5768 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.51, allocations: 236.9 kB / 0.577 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.5119, allocations: 1.246 MB / 0.5783 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.5119, allocations: 16.08 kB / 0.5783 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.512, allocations: 7.984 kB / 0.5783 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.512, allocations: 7.984 kB / 0.5783 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007448/0.5194, allocations: 4.551 MB / 0.5827 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.5195, allocations: 4 kB / 0.5827 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/0.5214, allocations: 367.3 kB / 0.5831 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/0.5214, allocations: 8 kB / 0.5831 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/0.5215, allocations: 20 kB / 0.5831 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.5215, allocations: 11.98 kB / 0.5831 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.5215, allocations: 12.25 kB / 0.5831 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.524, allocations: 2.162 MB / 0.5853 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/0.5245, allocations: 298 kB / 0.5855 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.5248, allocations: 31.97 kB / 0.5856 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008781/0.5257, allocations: 55.88 kB / 0.5856 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.5258, allocations: 75.73 kB / 0.5857 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.294e-05/0.5259, allocations: 35.98 kB / 0.5857 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002483/0.5284, allocations: 1.811 MB / 0.5875 GB, free: 13.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5284, allocations: 3.938 kB / 0.5875 GB, free: 13.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003487/0.5319, allocations: 0.6185 MB / 0.5881 GB, free: 13.2 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.0003864/0.5323, allocations: 157.6 kB / 0.5883 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005419/0.5378, allocations: 3.484 MB / 0.5917 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.5378, allocations: 4.125 kB / 0.5917 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.5389, allocations: 0.7883 MB / 0.5924 GB, free: 8.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.5407, allocations: 281 kB / 0.5927 GB, free: 8.531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/0.5499, allocations: 5.609 MB / 0.5982 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/0.5522, allocations: 2.209 MB / 0.6003 GB, free: 0.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003522/0.5557, allocations: 1.459 MB / 0.6018 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/0.5563, allocations: 179.3 kB / 0.6019 GB, free: 14.94 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5563, allocations: 0 / 0.6019 GB, free: 14.94 MB / 446.1 MB Notification: Performance of Templates: time 0.04386/0.6002, allocations: 21.96 MB / 0.6234 GB, free: 9.035 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