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.001319/0.001319, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 80.48 kB / 417.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1351, allocations: 62.45 MB / 480.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.0175/0.1527, allocations: 14.38 MB / 494.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.1628, allocations: 4.434 MB / 499 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.1655, allocations: 51.88 kB / 499.1 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.1677, allocations: 0.7515 MB / 499.8 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.1712, allocations: 1.207 MB / 0.4893 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.1726, allocations: 0.4952 MB / 0.4898 GB, free: 184 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004121/0.1767, allocations: 2.621 MB / 0.4923 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.179, allocations: 1.295 MB / 0.4936 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.1804, allocations: 0.7743 MB / 0.4944 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.1824, allocations: 1.265 MB / 0.4956 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004276/0.1828, allocations: 140 kB / 0.4957 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.1849, allocations: 0.9399 MB / 0.4967 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.1862, allocations: 1.032 MB / 0.4977 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.1877, allocations: 1.23 MB / 0.4989 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004532/0.1923, allocations: 3.08 MB / 0.5019 GB, free: 3.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.1923, allocations: 0 / 0.5019 GB, free: 3.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.368e-06/0.1923, allocations: 3.984 kB / 0.5019 GB, free: 3.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000125/0.1925, allocations: 0 / 0.5019 GB, free: 3.754 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.007441/0.1999, allocations: 2.93 MB / 0.5047 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.2, allocations: 8.031 kB / 0.5047 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.247/0.447, allocations: 1.648 MB / 0.5064 GB, free: 41.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.45, allocations: 1.316 MB / 0.5076 GB, free: 40.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.4502, allocations: 124.9 kB / 0.5078 GB, free: 40.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005659/0.4507, allocations: 159.9 kB / 0.5079 GB, free: 40.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.4612, allocations: 6.455 MB / 0.5142 GB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.693e-05/0.4613, allocations: 32.59 kB / 0.5142 GB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002902/0.4616, allocations: 90.05 kB / 0.5143 GB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002802/0.4644, allocations: 1.433 MB / 0.5157 GB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.4753, allocations: 5.736 MB / 0.5213 GB, free: 35.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02544/0.5008, allocations: 26.79 MB / 0.5475 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/0.5048, allocations: 2.139 MB / 0.5496 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.506, allocations: 1.042 MB / 0.5506 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.5062, allocations: 174.5 kB / 0.5508 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.5062, allocations: 46.83 kB / 0.5508 GB, free: 7.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.586e-06/0.5062, allocations: 8 kB / 0.5508 GB, free: 7.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01311/0.5193, allocations: 6.368 MB / 0.557 GB, free: 1.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.5194, allocations: 137 kB / 0.5572 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/0.5234, allocations: 2.881 MB / 0.56 GB, free: 13.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00023/0.5237, allocations: 41.7 kB / 0.56 GB, free: 13.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.5254, allocations: 2.098 MB / 0.5621 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005352/0.526, allocations: 466.3 kB / 0.5625 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/0.5271, allocations: 0.8889 MB / 0.5634 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5273, allocations: 309 kB / 0.5637 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.5294, allocations: 1.422 MB / 0.5651 GB, free: 8.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004623/0.5341, allocations: 4.299 MB / 0.5693 GB, free: 2.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00819/0.5423, allocations: 6.213 MB / 0.5753 GB, free: 11.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.34e-05/0.5424, allocations: 32 kB / 0.5754 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01067/0.5531, allocations: 5.495 MB / 0.5807 GB, free: 5.789 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/0.5533, allocations: 50.5 kB / 0.5808 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/0.5534, allocations: 100.9 kB / 0.5809 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.5535, allocations: 136 kB / 0.581 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.5579, allocations: 1.228 MB / 0.5822 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001935/0.5581, allocations: 199.2 kB / 0.5824 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/0.561, allocations: 247.4 kB / 0.5826 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004347/0.5615, allocations: 280 kB / 0.5829 GB, free: 3.57 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.002115/0.5636, allocations: 1.401 MB / 0.5843 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/0.5641, allocations: 240.9 kB / 0.5845 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.5662, allocations: 1.23 MB / 0.5857 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/0.5662, allocations: 12 kB / 0.5857 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.5662, allocations: 0 / 0.5857 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.5663, allocations: 11.97 kB / 0.5857 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007789/0.5741, allocations: 4.551 MB / 0.5902 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.5741, allocations: 8 kB / 0.5902 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.5759, allocations: 371.3 kB / 0.5905 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.5759, allocations: 8 kB / 0.5905 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.989e-05/0.576, allocations: 27.81 kB / 0.5906 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.576, allocations: 9.688 kB / 0.5906 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/0.576, allocations: 7.938 kB / 0.5906 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.5793, allocations: 2.161 MB / 0.5927 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000702/0.58, allocations: 305.8 kB / 0.593 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/0.5802, allocations: 16 kB / 0.593 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/0.5812, allocations: 63.91 kB / 0.5931 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.5813, allocations: 71.8 kB / 0.5931 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.5814, allocations: 36 kB / 0.5932 GB, free: 8.848 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002942/0.5844, allocations: 1.815 MB / 0.5949 GB, free: 7.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5844, allocations: 0 / 0.5949 GB, free: 7.027 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003419/0.5878, allocations: 0.6146 MB / 0.5955 GB, free: 6.418 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.0003929/0.5882, allocations: 160.3 kB / 0.5957 GB, free: 6.258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0057/0.5939, allocations: 3.488 MB / 0.5991 GB, free: 2.801 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.594, allocations: 0 / 0.5991 GB, free: 2.801 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.5951, allocations: 0.7942 MB / 0.5999 GB, free: 2.008 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.5969, allocations: 272.8 kB / 0.6001 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.6077, allocations: 7.044 MB / 0.607 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.6102, allocations: 2.206 MB / 0.6092 GB, free: 8.363 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009226/0.6111, allocations: 203.4 kB / 0.6094 GB, free: 8.164 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6111, allocations: 4 kB / 0.6094 GB, free: 8.16 MB / 446.1 MB Notification: Performance of Templates: time 0.06303/0.6742, allocations: 37.12 MB / 0.6456 GB, free: 3.09 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