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.001582/0.001582, allocations: 104.6 kB / 16.4 MB, free: 5.984 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.001836/0.001836, allocations: 188.6 kB / 17.33 MB, free: 5.586 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.359/1.359, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2073/0.2073, allocations: 43.52 MB / 314.1 MB, free: 448 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.00158/0.00158, allocations: 70.03 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09824, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008523/0.1068, allocations: 7.514 MB / 0.4947 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005906/0.1127, allocations: 3.334 MB / 0.498 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009423/0.1137, allocations: 31.94 kB / 0.498 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.1157, allocations: 0.8014 MB / 0.4988 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.1189, allocations: 1.315 MB / 0.5001 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.1202, allocations: 0.5301 MB / 0.5006 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003671/0.1239, allocations: 2.59 MB / 0.5031 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.126, allocations: 1.229 MB / 0.5043 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.1276, allocations: 0.7861 MB / 0.5051 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.1294, allocations: 1.133 MB / 0.5062 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004628/0.1299, allocations: 140 kB / 0.5063 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.1319, allocations: 0.9321 MB / 0.5072 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.1334, allocations: 1.024 MB / 0.5082 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002156/0.1356, allocations: 1.238 MB / 0.5094 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00547/0.1411, allocations: 4.079 MB / 0.5134 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1411, allocations: 0 / 0.5134 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1411, allocations: 0 / 0.5134 GB, free: 1.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001399/0.1413, allocations: 0 / 0.5134 GB, free: 1.516 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.006889/0.1482, allocations: 2.976 MB / 0.5163 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1482, allocations: 15.89 kB / 0.5163 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009256/0.1492, allocations: 454.5 kB / 0.5168 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/0.1552, allocations: 1.662 MB / 0.5184 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.159, allocations: 1.804 MB / 0.5202 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.1592, allocations: 123.4 kB / 0.5203 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007677/0.16, allocations: 159.8 kB / 0.5204 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.1711, allocations: 6.464 MB / 0.5267 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.103e-05/0.1712, allocations: 31.75 kB / 0.5268 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004391/0.1717, allocations: 87.83 kB / 0.5269 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002477/0.1741, allocations: 1.441 MB / 0.5283 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2285/0.4026, allocations: 5.721 MB / 0.5338 GB, free: 35.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02858/0.4313, allocations: 26.73 MB / 0.56 GB, free: 16.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/0.4353, allocations: 2.142 MB / 0.562 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.4366, allocations: 1.04 MB / 0.5631 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.4368, allocations: 179.9 kB / 0.5632 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4368, allocations: 49.95 kB / 0.5633 GB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.506e-06/0.4368, allocations: 1.125 kB / 0.5633 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01544/0.4523, allocations: 6.437 MB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.4523, allocations: 136.8 kB / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.4557, allocations: 2.915 MB / 0.5725 GB, free: 10.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.4558, allocations: 41.58 kB / 0.5726 GB, free: 9.984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008426/0.4567, allocations: 2.11 MB / 0.5746 GB, free: 8.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.457, allocations: 456.2 kB / 0.5751 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008017/0.4578, allocations: 0.8932 MB / 0.576 GB, free: 7.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.4578, allocations: 301.1 kB / 0.5762 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.4594, allocations: 1.412 MB / 0.5776 GB, free: 6.113 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.4617, allocations: 4.291 MB / 0.5818 GB, free: 380 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006249/0.468, allocations: 6.186 MB / 0.5879 GB, free: 8.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.656e-05/0.4681, allocations: 32 kB / 0.5879 GB, free: 8.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008101/0.4762, allocations: 5.489 MB / 0.5932 GB, free: 3.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/0.4763, allocations: 55.98 kB / 0.5933 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.975e-05/0.4764, allocations: 100 kB / 0.5934 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.4765, allocations: 136 kB / 0.5935 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/0.4803, allocations: 1.226 MB / 0.5947 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001392/0.4804, allocations: 199 kB / 0.5949 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.4829, allocations: 239.6 kB / 0.5951 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.4832, allocations: 284 kB / 0.5954 GB, free: 1.016 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.001744/0.4849, allocations: 1.391 MB / 0.5968 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/0.4854, allocations: 240.8 kB / 0.597 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.4872, allocations: 1.238 MB / 0.5982 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.4873, allocations: 19.92 kB / 0.5982 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.4873, allocations: 4 kB / 0.5982 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4873, allocations: 7.984 kB / 0.5982 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007233/0.4945, allocations: 4.555 MB / 0.6027 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.4946, allocations: 4 kB / 0.6027 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.4963, allocations: 375.8 kB / 0.603 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/0.4963, allocations: 8 kB / 0.6031 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.4964, allocations: 23.98 kB / 0.6031 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.4964, allocations: 8 kB / 0.6031 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.4964, allocations: 11.94 kB / 0.6031 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.499, allocations: 2.155 MB / 0.6052 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008768/0.4999, allocations: 462.5 kB / 0.6056 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.5002, allocations: 27.92 kB / 0.6057 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008631/0.5011, allocations: 59.92 kB / 0.6057 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.5012, allocations: 59.81 kB / 0.6058 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.5013, allocations: 39.98 kB / 0.6058 GB, free: 6.152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002692/0.504, allocations: 1.835 MB / 0.6076 GB, free: 4.312 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.504, allocations: 0 / 0.6076 GB, free: 4.312 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00355/0.5076, allocations: 0.6224 MB / 0.6082 GB, free: 3.695 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.003245/0.5108, allocations: 2.795 MB / 0.6109 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005483/0.5163, allocations: 3.274 MB / 0.6141 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.5164, allocations: 0 / 0.6141 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.5175, allocations: 0.7957 MB / 0.6149 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.5197, allocations: 273.1 kB / 0.6152 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03991/0.5597, allocations: 29.8 MB / 0.6443 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/0.5621, allocations: 2.214 MB / 0.6464 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003053/0.5651, allocations: 1.459 MB / 0.6479 GB, free: 7.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/0.5667, allocations: 1.081 MB / 0.6489 GB, free: 5.941 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5667, allocations: 0 / 0.6489 GB, free: 5.941 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07528/0.642, allocations: 42.1 MB / 0.69 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/16.84, allocations: 4.062 kB / 0.69 GB, free: 11.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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