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: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001589/0.001589, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2098/0.2098, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3479, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008859/0.3568, allocations: 7.477 MB / 0.5257 GB, free: 14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007164/0.364, allocations: 3.338 MB / 0.529 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.3653, allocations: 32.88 kB / 0.529 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.3674, allocations: 0.7953 MB / 0.5298 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.371, allocations: 1.347 MB / 0.5311 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.3724, allocations: 0.5267 MB / 0.5316 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003419/0.3758, allocations: 2.566 MB / 0.5341 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.3777, allocations: 1.244 MB / 0.5353 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.3791, allocations: 0.7751 MB / 0.5361 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.381, allocations: 1.13 MB / 0.5372 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.3815, allocations: 139.2 kB / 0.5373 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.3836, allocations: 0.9518 MB / 0.5382 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.3847, allocations: 1.022 MB / 0.5392 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.3863, allocations: 1.219 MB / 0.5404 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005048/0.3914, allocations: 4.069 MB / 0.5444 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3914, allocations: 4 kB / 0.5444 GB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3914, allocations: 0 / 0.5444 GB, free: 1.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.408e-05/0.3916, allocations: 4 kB / 0.5444 GB, free: 1.426 MB / 398.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.005733/0.3973, allocations: 2.972 MB / 0.5473 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3973, allocations: 8.031 kB / 0.5473 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007481/0.3981, allocations: 458.5 kB / 0.5478 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006088/0.4042, allocations: 1.662 MB / 0.5494 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/0.4076, allocations: 1.652 MB / 0.551 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.4077, allocations: 123.4 kB / 0.5511 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004616/0.4082, allocations: 167.7 kB / 0.5513 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009959/0.4182, allocations: 6.456 MB / 0.5576 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.838e-05/0.4183, allocations: 39.64 kB / 0.5576 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.4186, allocations: 79.89 kB / 0.5577 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002548/0.4211, allocations: 1.437 MB / 0.5591 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.4321, allocations: 5.732 MB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03246/0.4646, allocations: 26.71 MB / 0.5908 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/0.469, allocations: 2.145 MB / 0.5929 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.4704, allocations: 1.035 MB / 0.5939 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/0.4707, allocations: 182.5 kB / 0.5941 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.4707, allocations: 42.89 kB / 0.5941 GB, free: 12.83 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.066e-06/0.4707, allocations: 0 / 0.5941 GB, free: 12.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01702/0.4878, allocations: 6.376 MB / 0.6003 GB, free: 6.422 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/0.4879, allocations: 148.8 kB / 0.6005 GB, free: 6.246 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004813/0.4927, allocations: 2.902 MB / 0.6033 GB, free: 3.332 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.4929, allocations: 45.69 kB / 0.6033 GB, free: 3.281 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.4945, allocations: 2.098 MB / 0.6054 GB, free: 1.152 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005832/0.4951, allocations: 458.2 kB / 0.6058 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/0.4965, allocations: 0.8965 MB / 0.6067 GB, free: 15.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4966, allocations: 301.1 kB / 0.607 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/0.499, allocations: 1.418 MB / 0.6084 GB, free: 14.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00488/0.5039, allocations: 4.291 MB / 0.6126 GB, free: 8.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007158/0.5111, allocations: 6.191 MB / 0.6186 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-05/0.5112, allocations: 28 kB / 0.6186 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009672/0.5209, allocations: 5.488 MB / 0.624 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/0.521, allocations: 48.19 kB / 0.624 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/0.5212, allocations: 108 kB / 0.6241 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.5213, allocations: 136 kB / 0.6243 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004293/0.5256, allocations: 1.216 MB / 0.6255 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001882/0.5258, allocations: 203.2 kB / 0.6257 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/0.5288, allocations: 247.5 kB / 0.6259 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007302/0.5296, allocations: 280 kB / 0.6262 GB, free: 8.961 MB / 494.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.00298/0.5326, allocations: 1.38 MB / 0.6275 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006142/0.5332, allocations: 240.9 kB / 0.6277 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.5354, allocations: 1.238 MB / 0.6289 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-05/0.5355, allocations: 15.94 kB / 0.629 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5355, allocations: 4 kB / 0.629 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.5355, allocations: 3.984 kB / 0.629 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008731/0.5443, allocations: 4.565 MB / 0.6334 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.5443, allocations: 4 kB / 0.6334 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002225/0.5465, allocations: 375.8 kB / 0.6338 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.138e-05/0.5466, allocations: 12 kB / 0.6338 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.5467, allocations: 24 kB / 0.6338 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/0.5467, allocations: 11.94 kB / 0.6338 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5468, allocations: 4 kB / 0.6338 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.5497, allocations: 2.159 MB / 0.6359 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/0.5505, allocations: 305.8 kB / 0.6362 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.5509, allocations: 20 kB / 0.6363 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.552, allocations: 63.92 kB / 0.6363 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.5521, allocations: 67.8 kB / 0.6364 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/0.5522, allocations: 32 kB / 0.6364 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003318/0.5556, allocations: 1.823 MB / 0.6382 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5556, allocations: 4.281 kB / 0.6382 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003717/0.5593, allocations: 0.6365 MB / 0.6388 GB, free: 11.76 MB / 0.4981 GB 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.00355/0.5629, allocations: 2.795 MB / 0.6415 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005462/0.5683, allocations: 3.266 MB / 0.6447 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5684, allocations: 0 / 0.6447 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.5696, allocations: 0.7892 MB / 0.6455 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.5717, allocations: 262.2 kB / 0.6458 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04661/0.6184, allocations: 29.72 MB / 0.6748 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003427/0.6218, allocations: 2.214 MB / 0.6769 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003761/0.6256, allocations: 1.463 MB / 0.6784 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00196/0.6276, allocations: 1.073 MB / 0.6794 GB, free: 14.07 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/0.6276, allocations: 4 kB / 0.6794 GB, free: 14.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08121/0.7089, allocations: 41.31 MB / 0.7198 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/17.03, allocations: 10.88 kB / 0.7198 GB, free: 4.965 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > 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