Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 109.3 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1814/0.1814, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.56 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08331/0.08448, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.007367/0.09188, allocations: 7.477 MB / 478.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0049/0.0968, allocations: 3.333 MB / 481.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005811/0.0974, allocations: 31.94 kB / 481.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.09881, allocations: 0.7975 MB / 482.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.1011, allocations: 1.326 MB / 483.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.102, allocations: 0.534 MB / 484.2 MB, free: 104 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002411/0.1044, allocations: 2.57 MB / 486.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.1056, allocations: 1.241 MB / 488 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007759/0.1064, allocations: 0.7705 MB / 488.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.1075, allocations: 1.125 MB / 489.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.1077, allocations: 136 kB / 490 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.1089, allocations: 0.9477 MB / 491 MB, free: 9.289 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007011/0.1096, allocations: 1.024 MB / 492 MB, free: 8.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008383/0.1104, allocations: 1.223 MB / 493.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.1132, allocations: 4.056 MB / 497.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1133, allocations: 8 kB / 497.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1133, allocations: 0 / 497.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.1133, allocations: 0 / 497.3 MB, free: 2.953 MB / 366.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.003652/0.1169, allocations: 2.957 MB / 0.4885 GB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.117, allocations: 11.97 kB / 0.4885 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/0.1219, allocations: 1.643 MB / 0.4901 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.1241, allocations: 1.348 MB / 0.4915 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/0.1242, allocations: 127.4 kB / 0.4916 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.1245, allocations: 171.9 kB / 0.4917 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006816/0.1313, allocations: 6.456 MB / 0.498 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/0.1314, allocations: 31.73 kB / 0.4981 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.1316, allocations: 83.89 kB / 0.4982 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002007/0.1336, allocations: 1.441 MB / 0.4996 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1385/0.2721, allocations: 5.721 MB / 0.5051 GB, free: 44.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/0.2963, allocations: 26.71 MB / 0.5312 GB, free: 25.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.2998, allocations: 2.146 MB / 0.5333 GB, free: 24.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.3008, allocations: 1.041 MB / 0.5343 GB, free: 23.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.301, allocations: 178.9 kB / 0.5345 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.301, allocations: 48.05 kB / 0.5346 GB, free: 23.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.176e-06/0.301, allocations: 0 / 0.5346 GB, free: 23.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01192/0.3129, allocations: 6.366 MB / 0.5408 GB, free: 19.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.313, allocations: 140.4 kB / 0.5409 GB, free: 19.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.3156, allocations: 2.894 MB / 0.5437 GB, free: 18.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/0.3157, allocations: 37.7 kB / 0.5438 GB, free: 18.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007173/0.3164, allocations: 2.104 MB / 0.5458 GB, free: 16.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.3167, allocations: 457.4 kB / 0.5463 GB, free: 15.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007466/0.3174, allocations: 0.896 MB / 0.5471 GB, free: 14.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.3175, allocations: 301.1 kB / 0.5474 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.3189, allocations: 1.431 MB / 0.5488 GB, free: 13.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.3211, allocations: 4.303 MB / 0.553 GB, free: 7.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/0.3251, allocations: 6.21 MB / 0.5591 GB, free: 15.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-05/0.3252, allocations: 31.98 kB / 0.5591 GB, free: 15.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.006938/0.3321, allocations: 5.502 MB / 0.5645 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.3322, allocations: 48 kB / 0.5645 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-05/0.3323, allocations: 100 kB / 0.5646 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/0.3324, allocations: 140 kB / 0.5648 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/0.3359, allocations: 1.228 MB / 0.566 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001458/0.3361, allocations: 199.6 kB / 0.5662 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.3383, allocations: 247.5 kB / 0.5664 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/0.3385, allocations: 283.1 kB / 0.5667 GB, free: 7.922 MB / 398.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.001467/0.34, allocations: 1.392 MB / 0.568 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.3403, allocations: 240.8 kB / 0.5683 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.342, allocations: 1.239 MB / 0.5695 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.342, allocations: 15.98 kB / 0.5695 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.342, allocations: 4 kB / 0.5695 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.342, allocations: 3.984 kB / 0.5695 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006458/0.3485, allocations: 4.551 MB / 0.5739 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.3485, allocations: 4 kB / 0.5739 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.3501, allocations: 383.3 kB / 0.5743 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.3501, allocations: 8 kB / 0.5743 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/0.3502, allocations: 23.69 kB / 0.5743 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.3502, allocations: 8 kB / 0.5743 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.3502, allocations: 7.938 kB / 0.5743 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.3524, allocations: 2.157 MB / 0.5764 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.3528, allocations: 309.8 kB / 0.5767 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.353, allocations: 20 kB / 0.5768 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/0.3538, allocations: 67.3 kB / 0.5768 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3539, allocations: 75.55 kB / 0.5769 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/0.354, allocations: 32 kB / 0.5769 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002037/0.3561, allocations: 1.819 MB / 0.5787 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3561, allocations: 0 / 0.5787 GB, free: 11.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0026/0.3587, allocations: 0.6263 MB / 0.5793 GB, free: 10.76 MB / 414.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.0002673/0.359, allocations: 167.7 kB / 0.5795 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004113/0.3631, allocations: 3.275 MB / 0.5827 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3631, allocations: 4 kB / 0.5827 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.364, allocations: 0.7853 MB / 0.5834 GB, free: 6.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.3653, allocations: 272.5 kB / 0.5837 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.3718, allocations: 5.557 MB / 0.5891 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.3736, allocations: 2.213 MB / 0.5913 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002521/0.3762, allocations: 1.459 MB / 0.5927 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.3766, allocations: 167.4 kB / 0.5929 GB, free: 12.79 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3766, allocations: 0 / 0.5929 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Templates: time 0.8287/1.205, allocations: 18.16 MB / 0.6106 GB, free: 10.73 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches