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.001377/0.001377, allocations: 110.8 kB / 16.41 MB, free: 6.027 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.001389/0.001389, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.484/1.484, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.221/0.221, allocations: 43.52 MB / 314.1 MB, free: 468 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.001538/0.001538, allocations: 71.89 kB / 441.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1203, allocations: 57.79 MB / 499.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01099/0.1314, allocations: 7.511 MB / 0.4947 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008229/0.1397, allocations: 3.338 MB / 0.498 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.1412, allocations: 31.94 kB / 0.498 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.1437, allocations: 0.8014 MB / 0.4988 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004664/0.1484, allocations: 1.319 MB / 0.5001 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.1501, allocations: 0.5262 MB / 0.5006 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004293/0.1544, allocations: 2.594 MB / 0.5031 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.1567, allocations: 1.229 MB / 0.5043 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.1584, allocations: 0.7783 MB / 0.5051 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.1602, allocations: 1.137 MB / 0.5062 GB, free: 9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005956/0.1608, allocations: 140 kB / 0.5063 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.1629, allocations: 0.9321 MB / 0.5072 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.1641, allocations: 1.024 MB / 0.5082 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.166, allocations: 1.23 MB / 0.5094 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005271/0.1713, allocations: 4.083 MB / 0.5134 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1713, allocations: 0 / 0.5134 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1713, allocations: 0 / 0.5134 GB, free: 1.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001266/0.1715, allocations: 4 kB / 0.5134 GB, free: 1.562 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.007327/0.1788, allocations: 2.969 MB / 0.5163 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.1789, allocations: 11.89 kB / 0.5163 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009931/0.1799, allocations: 466.4 kB / 0.5168 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006248/0.1861, allocations: 1.662 MB / 0.5184 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/0.1901, allocations: 1.8 MB / 0.5202 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.1903, allocations: 123.4 kB / 0.5203 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00068/0.191, allocations: 167.8 kB / 0.5204 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.2016, allocations: 6.456 MB / 0.5267 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/0.2017, allocations: 27.75 kB / 0.5268 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004858/0.2023, allocations: 87.89 kB / 0.5268 GB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002581/0.2048, allocations: 1.448 MB / 0.5283 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2202/0.425, allocations: 5.719 MB / 0.5338 GB, free: 35.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02903/0.4541, allocations: 26.74 MB / 0.56 GB, free: 16.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/0.4585, allocations: 2.137 MB / 0.562 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.4599, allocations: 1.037 MB / 0.5631 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.4601, allocations: 179.5 kB / 0.5632 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.4601, allocations: 51.23 kB / 0.5633 GB, free: 14.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.478e-06/0.4601, allocations: 0.6094 kB / 0.5633 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01493/0.4751, allocations: 6.432 MB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.4752, allocations: 138.1 kB / 0.5697 GB, free: 11.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/0.4785, allocations: 2.919 MB / 0.5725 GB, free: 10.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.4786, allocations: 43.64 kB / 0.5726 GB, free: 10 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00088/0.4795, allocations: 2.106 MB / 0.5746 GB, free: 8.156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.4798, allocations: 452.1 kB / 0.5751 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000873/0.4807, allocations: 0.8933 MB / 0.5759 GB, free: 7.277 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.4808, allocations: 304.8 kB / 0.5762 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.4825, allocations: 1.427 MB / 0.5776 GB, free: 6.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.4851, allocations: 4.283 MB / 0.5818 GB, free: 476 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006756/0.4918, allocations: 6.191 MB / 0.5879 GB, free: 8.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-05/0.4919, allocations: 33.69 kB / 0.5879 GB, free: 8.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009058/0.501, allocations: 5.487 MB / 0.5932 GB, free: 3.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.5011, allocations: 52 kB / 0.5933 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.665e-05/0.5012, allocations: 100 kB / 0.5934 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.5013, allocations: 136 kB / 0.5935 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004056/0.5054, allocations: 1.22 MB / 0.5947 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002256/0.5056, allocations: 199.2 kB / 0.5949 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/0.5083, allocations: 236.4 kB / 0.5951 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003394/0.5087, allocations: 288 kB / 0.5954 GB, free: 1.109 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.001837/0.5105, allocations: 1.391 MB / 0.5968 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/0.5109, allocations: 240.8 kB / 0.597 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.513, allocations: 1.238 MB / 0.5982 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/0.513, allocations: 12 kB / 0.5982 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.513, allocations: 7.938 kB / 0.5982 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.513, allocations: 12.61 kB / 0.5982 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008122/0.5212, allocations: 4.557 MB / 0.6027 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.5212, allocations: 7.984 kB / 0.6027 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/0.5231, allocations: 377.5 kB / 0.603 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.5231, allocations: 8 kB / 0.6031 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/0.5232, allocations: 20 kB / 0.6031 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.5232, allocations: 15.98 kB / 0.6031 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.5233, allocations: 7.938 kB / 0.6031 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.5259, allocations: 2.155 MB / 0.6052 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009776/0.5269, allocations: 457.7 kB / 0.6056 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/0.5273, allocations: 26.31 kB / 0.6057 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5284, allocations: 59.92 kB / 0.6057 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.5285, allocations: 64.08 kB / 0.6058 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/0.5286, allocations: 36 kB / 0.6058 GB, free: 6.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003873/0.5325, allocations: 1.839 MB / 0.6076 GB, free: 4.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5325, allocations: 3.938 kB / 0.6076 GB, free: 4.402 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00367/0.5362, allocations: 0.6274 MB / 0.6082 GB, free: 3.781 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.003277/0.5395, allocations: 2.783 MB / 0.6109 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005834/0.5453, allocations: 3.269 MB / 0.6141 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.5454, allocations: 3.938 kB / 0.6141 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.5467, allocations: 0.7999 MB / 0.6149 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.5492, allocations: 274.6 kB / 0.6152 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04475/0.594, allocations: 29.8 MB / 0.6443 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/0.5969, allocations: 2.21 MB / 0.6464 GB, free: 8.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003662/0.6006, allocations: 1.459 MB / 0.6479 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/0.6026, allocations: 1.085 MB / 0.6489 GB, free: 6.027 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6026, allocations: 0 / 0.6489 GB, free: 6.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07747/0.6801, allocations: 41.43 MB / 0.6894 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.11/18.79, allocations: 0 / 0.6894 GB, free: 12.59 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