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.00079/0.00079, allocations: 94.31 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009526/0.0009527, allocations: 207.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.17/1.17, allocations: 227.7 MB / 246.8 MB, free: 11.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1719/0.1719, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002434/0.0002434, allocations: 4 kB / 419.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09257, allocations: 63.57 MB / 483.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01164/0.1042, allocations: 13.79 MB / 497 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006831/0.1111, allocations: 4.475 MB / 0.4897 GB, free: 1.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008309/0.112, allocations: 55.81 kB / 0.4897 GB, free: 1.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.1125, allocations: 278.6 kB / 0.49 GB, free: 1.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.1145, allocations: 1.214 MB / 0.4912 GB, free: 220 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008033/0.1153, allocations: 491.1 kB / 0.4917 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002991/0.1183, allocations: 3.503 MB / 0.4951 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.1199, allocations: 1.475 MB / 0.4965 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/0.1206, allocations: 0.6223 MB / 0.4971 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.1217, allocations: 1.156 MB / 0.4983 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1219, allocations: 80 kB / 0.4983 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.1231, allocations: 0.932 MB / 0.4992 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007366/0.1239, allocations: 0.9698 MB / 0.5002 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008212/0.1247, allocations: 1.177 MB / 0.5013 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.1277, allocations: 3.756 MB / 0.505 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1277, allocations: 0 / 0.505 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1277, allocations: 0 / 0.505 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.1277, allocations: 0 / 0.505 GB, free: 1.992 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.1704/0.2982, allocations: 2.443 MB / 0.5074 GB, free: 39.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2982, allocations: 9.75 kB / 0.5074 GB, free: 39.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001144/0.2994, allocations: 461.8 kB / 0.5078 GB, free: 39.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006266/0.3056, allocations: 1.708 MB / 0.5095 GB, free: 39.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.3081, allocations: 1.535 MB / 0.511 GB, free: 39.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.3082, allocations: 123.8 kB / 0.5111 GB, free: 39.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/0.3085, allocations: 158.4 kB / 0.5113 GB, free: 39.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007954/0.3165, allocations: 6.467 MB / 0.5176 GB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.9e-05/0.3166, allocations: 37.45 kB / 0.5176 GB, free: 36.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/0.3168, allocations: 81.62 kB / 0.5177 GB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002341/0.3191, allocations: 1.434 MB / 0.5191 GB, free: 35.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008419/0.3276, allocations: 5.745 MB / 0.5247 GB, free: 33.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01843/0.346, allocations: 26.77 MB / 0.5509 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.3492, allocations: 2.139 MB / 0.553 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009076/0.3502, allocations: 1.039 MB / 0.554 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.3503, allocations: 173.8 kB / 0.5541 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.3503, allocations: 45.14 kB / 0.5542 GB, free: 4.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.705e-06/0.3503, allocations: 0 / 0.5542 GB, free: 4.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.0126/0.3629, allocations: 6.353 MB / 0.5604 GB, free: 14.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.363, allocations: 141 kB / 0.5605 GB, free: 14.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.3663, allocations: 2.893 MB / 0.5633 GB, free: 11.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/0.3664, allocations: 43.19 kB / 0.5634 GB, free: 11.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.3676, allocations: 2.098 MB / 0.5654 GB, free: 8.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.368, allocations: 464 kB / 0.5659 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/0.3684, allocations: 376.5 kB / 0.5662 GB, free: 8.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3685, allocations: 305.1 kB / 0.5665 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.3704, allocations: 1.418 MB / 0.5679 GB, free: 6.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003724/0.3742, allocations: 4.283 MB / 0.5721 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005854/0.38, allocations: 6.197 MB / 0.5781 GB, free: 9.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.563e-05/0.3801, allocations: 32 kB / 0.5782 GB, free: 9.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.007093/0.3872, allocations: 5.479 MB / 0.5835 GB, free: 3.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.096e-05/0.3873, allocations: 52.25 kB / 0.5836 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.828e-05/0.3873, allocations: 104 kB / 0.5837 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.3875, allocations: 140 kB / 0.5838 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003662/0.3911, allocations: 1.216 MB / 0.585 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001417/0.3913, allocations: 199.2 kB / 0.5852 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.3934, allocations: 235.6 kB / 0.5854 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/0.3938, allocations: 289 kB / 0.5857 GB, free: 1.32 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.00162/0.3954, allocations: 1.385 MB / 0.587 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.3957, allocations: 244.7 kB / 0.5873 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.3975, allocations: 1.237 MB / 0.5885 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.3975, allocations: 12.78 kB / 0.5885 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3975, allocations: 4 kB / 0.5885 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.3975, allocations: 7.984 kB / 0.5885 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006254/0.4038, allocations: 4.553 MB / 0.5929 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.4038, allocations: 4 kB / 0.593 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.4055, allocations: 363.9 kB / 0.5933 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.4055, allocations: 12 kB / 0.5933 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.4056, allocations: 24 kB / 0.5933 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/0.4056, allocations: 15.92 kB / 0.5933 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4056, allocations: 4 kB / 0.5934 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.408, allocations: 2.161 MB / 0.5955 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.4084, allocations: 305.8 kB / 0.5958 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.4086, allocations: 28 kB / 0.5958 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/0.4094, allocations: 54.19 kB / 0.5958 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.4096, allocations: 68.67 kB / 0.5959 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.4096, allocations: 36 kB / 0.5959 GB, free: 6.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002292/0.4119, allocations: 1.823 MB / 0.5977 GB, free: 4.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.412, allocations: 0 / 0.5977 GB, free: 4.805 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002605/0.4146, allocations: 0.6146 MB / 0.5983 GB, free: 4.195 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.002709/0.4173, allocations: 2.791 MB / 0.601 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004396/0.4217, allocations: 3.254 MB / 0.6042 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4217, allocations: 0 / 0.6042 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009866/0.4227, allocations: 0.7957 MB / 0.605 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.4255, allocations: 264.8 kB / 0.6052 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03904/0.4645, allocations: 33.42 MB / 0.6379 GB, free: 6.285 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/0.4666, allocations: 2.202 MB / 0.64 GB, free: 4.051 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003079/0.4697, allocations: 1.459 MB / 0.6415 GB, free: 2.586 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/0.471, allocations: 1.081 MB / 0.6425 GB, free: 1.504 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.471, allocations: 0 / 0.6425 GB, free: 1.504 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/0.5282, allocations: 42.85 MB / 0.6844 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.5284, allocations: 184 kB / 0.6845 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/2.993, allocations: 0 / 0.6845 GB, free: 6.59 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