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: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008667/0.0008668, allocations: 92.5 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009874/0.0009874, allocations: 201.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1914/0.1914, allocations: 46.19 MB / 345.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002606, allocations: 11.98 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01431/0.1351, allocations: 13.8 MB / 497 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008592/0.1437, allocations: 4.479 MB / 0.4897 GB, free: 1.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.1455, allocations: 59.81 kB / 0.4897 GB, free: 1.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009078/0.1465, allocations: 278.6 kB / 0.49 GB, free: 1.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.1495, allocations: 1.207 MB / 0.4912 GB, free: 164 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1506, allocations: 491.1 kB / 0.4917 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003973/0.1546, allocations: 3.503 MB / 0.4951 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.157, allocations: 1.463 MB / 0.4965 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.1582, allocations: 0.6301 MB / 0.4971 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.16, allocations: 1.16 MB / 0.4983 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004468/0.1605, allocations: 80 kB / 0.4983 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.1623, allocations: 0.932 MB / 0.4992 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.1635, allocations: 0.9698 MB / 0.5002 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.1655, allocations: 1.177 MB / 0.5013 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005945/0.1715, allocations: 3.749 MB / 0.505 GB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1716, allocations: 4 kB / 0.505 GB, free: 1.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1716, allocations: 0 / 0.505 GB, free: 1.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001296/0.1717, allocations: 0 / 0.505 GB, free: 1.941 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.2184/0.3901, allocations: 2.442 MB / 0.5074 GB, free: 39.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3902, allocations: 10.09 kB / 0.5074 GB, free: 39.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001061/0.3912, allocations: 461.6 kB / 0.5078 GB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006586/0.3978, allocations: 1.707 MB / 0.5095 GB, free: 39.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.401, allocations: 1.534 MB / 0.511 GB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.4012, allocations: 130 kB / 0.5111 GB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006857/0.4019, allocations: 160.1 kB / 0.5113 GB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.4153, allocations: 6.464 MB / 0.5176 GB, free: 35.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/0.4156, allocations: 38.61 kB / 0.5176 GB, free: 35.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007295/0.4163, allocations: 85.27 kB / 0.5177 GB, free: 35.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00302/0.4193, allocations: 1.436 MB / 0.5191 GB, free: 35.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.4299, allocations: 5.747 MB / 0.5247 GB, free: 33.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/0.4554, allocations: 26.76 MB / 0.5509 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/0.459, allocations: 2.143 MB / 0.553 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.4601, allocations: 1.035 MB / 0.554 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.4602, allocations: 177.8 kB / 0.5541 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.4603, allocations: 47.44 kB / 0.5542 GB, free: 4.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.035e-06/0.4603, allocations: 0 / 0.5542 GB, free: 4.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01463/0.4749, allocations: 6.35 MB / 0.5604 GB, free: 13.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.4751, allocations: 144.9 kB / 0.5605 GB, free: 13.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.4798, allocations: 2.893 MB / 0.5633 GB, free: 10.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.4799, allocations: 37.7 kB / 0.5634 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.4815, allocations: 2.103 MB / 0.5654 GB, free: 8.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.482, allocations: 458.7 kB / 0.5659 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/0.4825, allocations: 380.9 kB / 0.5662 GB, free: 7.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.4826, allocations: 309.1 kB / 0.5665 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/0.4849, allocations: 1.414 MB / 0.5679 GB, free: 6.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004212/0.4891, allocations: 4.291 MB / 0.5721 GB, free: 456 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006982/0.4961, allocations: 6.193 MB / 0.5781 GB, free: 8.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.186e-05/0.4962, allocations: 28 kB / 0.5782 GB, free: 8.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009027/0.5052, allocations: 5.482 MB / 0.5835 GB, free: 3.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.5053, allocations: 56.02 kB / 0.5836 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.5055, allocations: 104 kB / 0.5837 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.5056, allocations: 132 kB / 0.5838 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/0.5096, allocations: 1.22 MB / 0.585 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001757/0.5098, allocations: 199.2 kB / 0.5852 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.5123, allocations: 240.6 kB / 0.5854 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000371/0.5127, allocations: 281.1 kB / 0.5857 GB, free: 1.094 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 (553): * Single equations (assignments): 550 * 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.001879/0.5146, allocations: 1.384 MB / 0.587 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/0.5151, allocations: 236.9 kB / 0.5873 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.5171, allocations: 1.245 MB / 0.5885 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.5171, allocations: 12 kB / 0.5885 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.5171, allocations: 0 / 0.5885 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5172, allocations: 12.12 kB / 0.5885 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007404/0.5246, allocations: 4.554 MB / 0.5929 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.5246, allocations: 4 kB / 0.593 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.5264, allocations: 367.9 kB / 0.5933 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.5265, allocations: 8 kB / 0.5933 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-05/0.5266, allocations: 29.62 kB / 0.5933 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.5266, allocations: 13.56 kB / 0.5934 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5266, allocations: 8 kB / 0.5934 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.5292, allocations: 2.156 MB / 0.5955 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/0.5298, allocations: 309.8 kB / 0.5958 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.5302, allocations: 20.94 kB / 0.5958 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.5312, allocations: 59.92 kB / 0.5958 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5313, allocations: 67.8 kB / 0.5959 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-05/0.5314, allocations: 37.09 kB / 0.5959 GB, free: 6.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003009/0.5344, allocations: 1.819 MB / 0.5977 GB, free: 4.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5344, allocations: 4 kB / 0.5977 GB, free: 4.578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003146/0.5376, allocations: 0.6116 MB / 0.5983 GB, free: 3.973 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.003117/0.5407, allocations: 2.791 MB / 0.601 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004924/0.5457, allocations: 3.245 MB / 0.6042 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.5457, allocations: 4.25 kB / 0.6042 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.5467, allocations: 0.7964 MB / 0.605 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/0.5499, allocations: 263.7 kB / 0.6052 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0483/0.5983, allocations: 33.42 MB / 0.6379 GB, free: 6.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/0.601, allocations: 2.206 MB / 0.64 GB, free: 3.824 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003683/0.6047, allocations: 1.452 MB / 0.6415 GB, free: 2.367 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/0.6063, allocations: 1.085 MB / 0.6425 GB, free: 1.281 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6063, allocations: 0 / 0.6425 GB, free: 1.281 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07204/0.6783, allocations: 42.84 MB / 0.6843 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.6786, allocations: 184.6 kB / 0.6845 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/3.602, allocations: 0 / 0.6845 GB, free: 6.367 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > 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