Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_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.001133/0.001133, allocations: 113.2 kB / 16.41 MB, free: 6.488 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.00117/0.00117, allocations: 190.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.19/0.19, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 59.91 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.0901, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008476/0.09861, allocations: 7.518 MB / 0.4947 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005843/0.1045, allocations: 3.33 MB / 0.498 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008572/0.1054, allocations: 35.88 kB / 0.498 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.1071, allocations: 0.7976 MB / 0.4988 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.1099, allocations: 1.347 MB / 0.5001 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1109, allocations: 0.5262 MB / 0.5006 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002639/0.1136, allocations: 2.578 MB / 0.5031 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.1148, allocations: 1.241 MB / 0.5043 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008071/0.1157, allocations: 0.7822 MB / 0.5051 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.1169, allocations: 1.129 MB / 0.5062 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.1172, allocations: 140 kB / 0.5063 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.1185, allocations: 0.9321 MB / 0.5072 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007879/0.1193, allocations: 1.028 MB / 0.5082 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.1203, allocations: 1.23 MB / 0.5095 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.1245, allocations: 4.104 MB / 0.5135 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1245, allocations: 0 / 0.5135 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1245, allocations: 0 / 0.5135 GB, free: 1.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.357e-05/0.1246, allocations: 0 / 0.5135 GB, free: 1.496 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.004955/0.1296, allocations: 3.053 MB / 0.5164 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1296, allocations: 15.89 kB / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004823/0.1301, allocations: 458.5 kB / 0.5169 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005936/0.1361, allocations: 1.68 MB / 0.5185 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/0.1395, allocations: 1.812 MB / 0.5203 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.1396, allocations: 127.4 kB / 0.5204 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003824/0.14, allocations: 159.8 kB / 0.5206 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009187/0.1492, allocations: 6.456 MB / 0.5269 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.1493, allocations: 31.75 kB / 0.5269 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/0.1496, allocations: 83.89 kB / 0.527 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002431/0.1521, allocations: 1.445 MB / 0.5284 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.215/0.3671, allocations: 5.728 MB / 0.534 GB, free: 35.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03763/0.4047, allocations: 26.78 MB / 0.5601 GB, free: 16.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006197/0.411, allocations: 2.14 MB / 0.5622 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.4128, allocations: 1.037 MB / 0.5632 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.413, allocations: 175.5 kB / 0.5634 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4131, allocations: 50.83 kB / 0.5635 GB, free: 14.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.308e-06/0.4131, allocations: 0 / 0.5635 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01628/0.4294, allocations: 6.575 MB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.4294, allocations: 136.8 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/0.4331, allocations: 2.927 MB / 0.5729 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/0.4332, allocations: 40.98 kB / 0.5729 GB, free: 9.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008779/0.4341, allocations: 2.198 MB / 0.5751 GB, free: 8.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.4344, allocations: 473 kB / 0.5755 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007962/0.4352, allocations: 0.8982 MB / 0.5764 GB, free: 7.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.4352, allocations: 301.1 kB / 0.5767 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.4368, allocations: 1.43 MB / 0.5781 GB, free: 5.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.4392, allocations: 4.287 MB / 0.5823 GB, free: 240 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006335/0.4456, allocations: 6.191 MB / 0.5883 GB, free: 8.613 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.657e-05/0.4456, allocations: 32 kB / 0.5883 GB, free: 8.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009188/0.4548, allocations: 5.498 MB / 0.5937 GB, free: 3.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.455, allocations: 56.03 kB / 0.5938 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001664/0.4552, allocations: 100 kB / 0.5939 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.4553, allocations: 136 kB / 0.594 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004332/0.4597, allocations: 1.216 MB / 0.5952 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001573/0.4599, allocations: 200.9 kB / 0.5954 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/0.4627, allocations: 243.7 kB / 0.5956 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004781/0.4632, allocations: 280 kB / 0.5959 GB, free: 0.8672 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 (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.002063/0.4653, allocations: 1.399 MB / 0.5972 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.4658, allocations: 254.3 kB / 0.5975 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.4679, allocations: 1.241 MB / 0.5987 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/0.4679, allocations: 15.94 kB / 0.5987 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.4679, allocations: 4 kB / 0.5987 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.4679, allocations: 3.984 kB / 0.5987 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008616/0.4766, allocations: 4.561 MB / 0.6032 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.4766, allocations: 4 kB / 0.6032 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/0.4785, allocations: 371.8 kB / 0.6035 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.4785, allocations: 16 kB / 0.6035 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.422e-05/0.4786, allocations: 20 kB / 0.6036 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/0.4786, allocations: 8 kB / 0.6036 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/0.4786, allocations: 11.94 kB / 0.6036 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.4815, allocations: 2.167 MB / 0.6057 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.4826, allocations: 475.1 kB / 0.6061 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005266/0.4831, allocations: 20.84 kB / 0.6062 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.4843, allocations: 63.92 kB / 0.6062 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.4844, allocations: 67.52 kB / 0.6063 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-05/0.4845, allocations: 36 kB / 0.6063 GB, free: 5.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003218/0.4877, allocations: 1.835 MB / 0.6081 GB, free: 4.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4877, allocations: 3.938 kB / 0.6081 GB, free: 4.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00345/0.4912, allocations: 0.6288 MB / 0.6087 GB, free: 3.496 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.003215/0.4944, allocations: 2.798 MB / 0.6115 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004994/0.4994, allocations: 3.266 MB / 0.6147 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.4995, allocations: 0.75 kB / 0.6147 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.5006, allocations: 0.8005 MB / 0.6154 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.5028, allocations: 268.9 kB / 0.6157 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04924/0.5521, allocations: 29.92 MB / 0.6449 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/0.5549, allocations: 2.206 MB / 0.6471 GB, free: 8.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003309/0.5582, allocations: 1.461 MB / 0.6485 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001861/0.5601, allocations: 1.085 MB / 0.6496 GB, free: 5.602 MB / 494.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5601, allocations: 0 / 0.6496 GB, free: 5.602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07654/0.6366, allocations: 41.44 MB / 0.69 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.26/16.9, allocations: 0 / 0.69 GB, free: 12.16 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches