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.0008515/0.0008515, allocations: 96.66 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 206.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.7 MB / 247.5 MB, free: 9.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1882/0.1881, allocations: 46.19 MB / 345.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002455, allocations: 11.98 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 63.56 MB / 483.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01283/0.121, allocations: 13.8 MB / 497.5 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008534/0.1296, allocations: 4.467 MB / 0.4902 GB, free: 1.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.1314, allocations: 59.81 kB / 0.4903 GB, free: 1.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008733/0.1323, allocations: 278.7 kB / 0.4905 GB, free: 1.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.1353, allocations: 1.214 MB / 0.4917 GB, free: 304 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1365, allocations: 495.1 kB / 0.4922 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004017/0.1405, allocations: 3.495 MB / 0.4956 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.1427, allocations: 1.475 MB / 0.4971 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009758/0.1437, allocations: 0.6184 MB / 0.4977 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.1452, allocations: 1.164 MB / 0.4988 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.1454, allocations: 80 kB / 0.4989 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.147, allocations: 0.9242 MB / 0.4998 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008384/0.1479, allocations: 0.9659 MB / 0.5007 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.1489, allocations: 1.17 MB / 0.5019 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.1519, allocations: 2.99 MB / 0.5048 GB, free: 2.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.152, allocations: 7.938 kB / 0.5048 GB, free: 2.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.152, allocations: 4 kB / 0.5048 GB, free: 2.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.556e-05/0.152, allocations: 0 / 0.5048 GB, free: 2.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.004266/0.1563, allocations: 2.446 MB / 0.5072 GB, free: 356 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1564, allocations: 8.875 kB / 0.5072 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2295/0.3858, allocations: 1.682 MB / 0.5088 GB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.3889, allocations: 1.307 MB / 0.5101 GB, free: 20.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.3891, allocations: 123.5 kB / 0.5102 GB, free: 20.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007258/0.3899, allocations: 165.4 kB / 0.5104 GB, free: 20.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.4019, allocations: 6.47 MB / 0.5167 GB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.402, allocations: 30.75 kB / 0.5167 GB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004835/0.4025, allocations: 84.64 kB / 0.5168 GB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003007/0.4055, allocations: 1.437 MB / 0.5182 GB, free: 18.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.417, allocations: 5.743 MB / 0.5238 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/0.4426, allocations: 26.77 MB / 0.55 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004311/0.447, allocations: 2.133 MB / 0.5521 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.4484, allocations: 1.041 MB / 0.5531 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.4486, allocations: 174.8 kB / 0.5532 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.4487, allocations: 49.45 kB / 0.5533 GB, free: 9.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.277e-06/0.4487, allocations: 0 / 0.5533 GB, free: 9.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01638/0.4651, allocations: 6.34 MB / 0.5595 GB, free: 2.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.4652, allocations: 143.3 kB / 0.5596 GB, free: 2.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/0.4697, allocations: 2.89 MB / 0.5624 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002057/0.47, allocations: 38.41 kB / 0.5625 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.4715, allocations: 2.104 MB / 0.5645 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000554/0.4721, allocations: 454.4 kB / 0.565 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/0.4726, allocations: 382.5 kB / 0.5653 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.4727, allocations: 301.1 kB / 0.5656 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/0.4751, allocations: 1.426 MB / 0.567 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004082/0.4792, allocations: 4.301 MB / 0.5712 GB, free: 5.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006676/0.4859, allocations: 6.214 MB / 0.5773 GB, free: 14.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.702e-05/0.486, allocations: 28 kB / 0.5773 GB, free: 14.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008765/0.4948, allocations: 5.503 MB / 0.5827 GB, free: 8.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/0.4949, allocations: 52.19 kB / 0.5827 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/0.495, allocations: 104 kB / 0.5828 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.4952, allocations: 136 kB / 0.583 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004183/0.4994, allocations: 1.224 MB / 0.5841 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001762/0.4996, allocations: 207.2 kB / 0.5843 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/0.5023, allocations: 239.5 kB / 0.5846 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005019/0.5029, allocations: 284 kB / 0.5848 GB, free: 6.371 MB / 430.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.002269/0.5051, allocations: 1.386 MB / 0.5862 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005272/0.5057, allocations: 236.9 kB / 0.5864 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.5079, allocations: 1.237 MB / 0.5876 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.508, allocations: 12 kB / 0.5876 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.508, allocations: 0 / 0.5876 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.508, allocations: 11.92 kB / 0.5877 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008519/0.5165, allocations: 4.55 MB / 0.5921 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.5166, allocations: 7.984 kB / 0.5921 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.5185, allocations: 367.8 kB / 0.5925 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-05/0.5185, allocations: 12 kB / 0.5925 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.406e-05/0.5186, allocations: 24 kB / 0.5925 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.555e-05/0.5187, allocations: 11.98 kB / 0.5925 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.5187, allocations: 8.594 kB / 0.5925 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.5216, allocations: 2.154 MB / 0.5946 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006764/0.5223, allocations: 313.8 kB / 0.5949 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/0.5227, allocations: 20.05 kB / 0.5949 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.5238, allocations: 64.47 kB / 0.595 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.524, allocations: 67.73 kB / 0.5951 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.5241, allocations: 43.2 kB / 0.5951 GB, free: 11.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003235/0.5273, allocations: 1.811 MB / 0.5969 GB, free: 9.863 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5273, allocations: 4 kB / 0.5969 GB, free: 9.859 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003341/0.5307, allocations: 0.6175 MB / 0.5975 GB, free: 9.246 MB / 446.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.000378/0.5311, allocations: 150.3 kB / 0.5976 GB, free: 9.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005061/0.5361, allocations: 3.272 MB / 0.6008 GB, free: 5.859 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.5362, allocations: 0 / 0.6008 GB, free: 5.859 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.5372, allocations: 0.7937 MB / 0.6016 GB, free: 5.066 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/0.5405, allocations: 269.6 kB / 0.6018 GB, free: 4.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.5513, allocations: 7.069 MB / 0.6087 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002401/0.5538, allocations: 2.204 MB / 0.6109 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008063/0.5546, allocations: 211.4 kB / 0.6111 GB, free: 11.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5546, allocations: 0 / 0.6111 GB, free: 11.2 MB / 462.1 MB Notification: Performance of Templates: time 0.05267/0.6073, allocations: 36.62 MB / 0.6469 GB, free: 6.621 MB / 494.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