Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.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.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",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.001607/0.001607, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001785/0.001786, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.295/1.295, 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.2062/0.2062, allocations: 43.52 MB / 314.1 MB, free: 440 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.001583/0.001583, allocations: 69.47 kB / 441.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1071, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01621/0.1233, allocations: 17.06 MB / 0.5041 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008505/0.1319, allocations: 3.89 MB / 0.5079 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/0.1348, allocations: 99.81 kB / 0.508 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00503/0.14, allocations: 2.172 MB / 0.5101 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006749/0.1468, allocations: 2.514 MB / 0.5125 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.148, allocations: 295.5 kB / 0.5128 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009214/0.1572, allocations: 6.368 MB / 0.519 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005433/0.1627, allocations: 3.322 MB / 0.5223 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00381/0.1665, allocations: 2.129 MB / 0.5244 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004094/0.1707, allocations: 2.791 MB / 0.5271 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001485/0.1722, allocations: 392 kB / 0.5275 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.1747, allocations: 0.7959 MB / 0.5282 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2242/0.399, allocations: 2.793 MB / 0.531 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005756/0.4048, allocations: 3.347 MB / 0.5342 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.4198, allocations: 10.71 MB / 0.5447 GB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.4199, allocations: 0 / 0.5447 GB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.4199, allocations: 3.922 kB / 0.5447 GB, free: 6.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005444/0.4204, allocations: 0 / 0.5447 GB, free: 6.652 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.02235/0.4428, allocations: 7.039 MB / 0.5516 GB, free: 3.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.4429, allocations: 13.3 kB / 0.5516 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004507/0.4474, allocations: 1.276 MB / 0.5528 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02031/0.4677, allocations: 5.857 MB / 0.5586 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009688/0.4774, allocations: 3.291 MB / 0.5618 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003378/0.4778, allocations: 327.3 kB / 0.5621 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0024/0.4802, allocations: 418.5 kB / 0.5625 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0345/0.5148, allocations: 18.89 MB / 0.5809 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.515, allocations: 37.66 kB / 0.581 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001866/0.5168, allocations: 199.5 kB / 0.5812 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008363/0.5252, allocations: 4.749 MB / 0.5858 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03862/0.5639, allocations: 17.53 MB / 0.6029 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1024/0.6663, allocations: 60.85 MB / 0.6623 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01564/0.682, allocations: 8.423 MB / 0.6706 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004328/0.6863, allocations: 2.583 MB / 0.6731 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02633/0.7127, allocations: 11.87 MB / 0.6847 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.7128, allocations: 52.56 kB / 0.6847 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 8.185e-06/0.7128, allocations: 0 / 0.6847 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.02001/0.7328, allocations: 7.516 MB / 0.6921 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.7329, allocations: 110.9 kB / 0.6922 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01232/0.7453, allocations: 5.668 MB / 0.6977 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005216/0.7458, allocations: 60.75 kB / 0.6978 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004467/0.7503, allocations: 5.076 MB / 0.7027 GB, free: 9.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001837/0.7522, allocations: 1.205 MB / 0.7039 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005599/0.7578, allocations: 1.904 MB / 0.7058 GB, free: 5.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.7579, allocations: 305.1 kB / 0.706 GB, free: 5.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005951/0.7639, allocations: 3.212 MB / 0.7092 GB, free: 2.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/0.7747, allocations: 8.645 MB / 0.7176 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0157/0.7904, allocations: 12.91 MB / 0.7302 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002001/0.7907, allocations: 56 kB / 0.7303 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02472/0.8154, allocations: 11.65 MB / 0.7417 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.8157, allocations: 84 kB / 0.7417 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003431/0.816, allocations: 192 kB / 0.7419 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.8164, allocations: 255.9 kB / 0.7422 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007194/0.8236, allocations: 2.074 MB / 0.7442 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004228/0.8241, allocations: 374.6 kB / 0.7445 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007847/0.8319, allocations: 1.318 MB / 0.7458 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002239/0.8342, allocations: 0.5616 MB / 0.7464 GB, free: 7.727 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.008815/0.8431, allocations: 3.701 MB / 0.75 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/0.8443, allocations: 489.5 kB / 0.7505 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.8463, allocations: 0.645 MB / 0.7511 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001166/0.8465, allocations: 54.27 kB / 0.7511 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/0.8465, allocations: 7.984 kB / 0.7512 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/0.8465, allocations: 11.91 kB / 0.7512 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2641/1.111, allocations: 12.63 MB / 0.7635 GB, free: 204 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.058e-05/1.111, allocations: 14.91 kB / 0.7635 GB, free: 204 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.113, allocations: 419.6 kB / 0.7639 GB, free: 204 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.915e-05/1.113, allocations: 22.28 kB / 0.7639 GB, free: 204 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003925/1.113, allocations: 61.25 kB / 0.764 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-05/1.113, allocations: 34.12 kB / 0.764 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/1.113, allocations: 23.53 kB / 0.7641 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006996/1.12, allocations: 4.638 MB / 0.7686 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/1.122, allocations: 0.5631 MB / 0.7691 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/1.124, allocations: 61.02 kB / 0.7692 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/1.126, allocations: 127.5 kB / 0.7693 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006438/1.127, allocations: 178.8 kB / 0.7695 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004085/1.127, allocations: 95.02 kB / 0.7696 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007551/1.135, allocations: 3.501 MB / 0.773 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.91e-07/1.135, allocations: 0 / 0.773 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009098/1.144, allocations: 1.988 MB / 0.7749 GB, free: 199.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.006889/1.151, allocations: 5.312 MB / 0.7801 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009989/1.161, allocations: 7.34 MB / 0.7873 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.161, allocations: 3.938 kB / 0.7873 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002731/1.164, allocations: 2.007 MB / 0.7893 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/1.169, allocations: 0.6302 MB / 0.7899 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0976/1.266, allocations: 68.07 MB / 0.8563 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008004/1.275, allocations: 5.417 MB / 0.8616 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007255/1.282, allocations: 3.546 MB / 0.8651 GB, free: 109.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00509/1.287, allocations: 3.327 MB / 0.8683 GB, free: 106.5 MB / 0.5919 GB Notification: Performance of SimCode: time 8.52e-07/1.287, allocations: 0 / 0.8683 GB, free: 106.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/1.413, allocations: 92.63 MB / 0.9588 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.52/23.93, allocations: 0 / 0.9588 GB, free: 13.82 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches