Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.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.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",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.0009097/0.0009096, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 187.4 kB / 16.92 MB, free: 6.891 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.417/1.417, allocations: 205.4 MB / 223.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3402/0.3402, allocations: 43.58 MB / 315 MB, free: 9.109 MB / 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.0005425/0.0005425, allocations: 16 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.237/0.3494, allocations: 28.26 MB / 471.8 MB, free: 32.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.3614, allocations: 5.627 MB / 477.4 MB, free: 30.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005022/0.3665, allocations: 114 kB / 477.5 MB, free: 30.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.3677, allocations: 429.5 kB / 478 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.3708, allocations: 1.212 MB / 479.2 MB, free: 29.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.3711, allocations: 71.31 kB / 479.2 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00383/0.375, allocations: 4.219 MB / 483.5 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.3777, allocations: 2.153 MB / 485.6 MB, free: 27.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.379, allocations: 0.8943 MB / 486.5 MB, free: 27.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.3806, allocations: 1.511 MB / 488 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003197/0.381, allocations: 125.6 kB / 488.1 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.3819, allocations: 421.1 kB / 488.6 MB, free: 27.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.3829, allocations: 1.412 MB / 490 MB, free: 26.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.384, allocations: 1.712 MB / 491.7 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0064/0.3904, allocations: 5.191 MB / 496.9 MB, free: 23.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3905, allocations: 0 / 496.9 MB, free: 23.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.3905, allocations: 1.219 kB / 496.9 MB, free: 23.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002727/0.3908, allocations: 0 / 496.9 MB, free: 23.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.007492/0.3983, allocations: 3.056 MB / 499.9 MB, free: 21.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.3983, allocations: 9.438 kB / 499.9 MB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001716/0.4001, allocations: 0.7004 MB / 0.4889 GB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.4109, allocations: 3.065 MB / 0.4919 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/0.4147, allocations: 1.564 MB / 0.4934 GB, free: 20.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.4149, allocations: 181 kB / 0.4936 GB, free: 20.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006908/0.4156, allocations: 231.1 kB / 0.4938 GB, free: 20.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/0.4315, allocations: 9.925 MB / 0.5035 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.106e-05/0.4316, allocations: 20.34 kB / 0.5035 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003733/0.432, allocations: 114.9 kB / 0.5036 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004082/0.4361, allocations: 2.528 MB / 0.5061 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.4524, allocations: 8.911 MB / 0.5148 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05034/0.5027, allocations: 31.51 MB / 0.5456 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005751/0.5085, allocations: 3.301 MB / 0.5488 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.5101, allocations: 0.9279 MB / 0.5497 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.007e-05/0.5101, allocations: 20.98 kB / 0.5497 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.5102, allocations: 43.56 kB / 0.5498 GB, free: 1.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 6.412e-06/0.5102, allocations: 0 / 0.5498 GB, free: 1.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.008141/0.5184, allocations: 3.393 MB / 0.5531 GB, free: 14.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.5184, allocations: 86.11 kB / 0.5532 GB, free: 13.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006326/0.5248, allocations: 3.18 MB / 0.5563 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.525, allocations: 49.81 kB / 0.5563 GB, free: 10.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002117/0.5271, allocations: 2.743 MB / 0.559 GB, free: 7.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007482/0.5279, allocations: 0.5746 MB / 0.5596 GB, free: 7.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008149/0.5287, allocations: 432.8 kB / 0.56 GB, free: 6.859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.5288, allocations: 301.1 kB / 0.5603 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002521/0.5313, allocations: 1.54 MB / 0.5618 GB, free: 5.016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004734/0.5361, allocations: 4.54 MB / 0.5662 GB, free: 14.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007486/0.5436, allocations: 6.635 MB / 0.5727 GB, free: 6.879 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.417e-05/0.5437, allocations: 32 kB / 0.5727 GB, free: 6.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.009961/0.5537, allocations: 5.906 MB / 0.5785 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.904e-05/0.5538, allocations: 55.94 kB / 0.5785 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001663/0.554, allocations: 104 kB / 0.5786 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.5541, allocations: 140 kB / 0.5788 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/0.5574, allocations: 1.084 MB / 0.5798 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001793/0.5575, allocations: 211.1 kB / 0.58 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/0.5611, allocations: 0.6877 MB / 0.5807 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005217/0.5616, allocations: 304.8 kB / 0.581 GB, free: 14.35 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 27 (arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 593 * Array equations: 6 * 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.003795/0.5654, allocations: 1.977 MB / 0.5829 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004799/0.5659, allocations: 264.5 kB / 0.5832 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008451/0.5668, allocations: 336.3 kB / 0.5835 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/0.5668, allocations: 16 kB / 0.5835 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.5668, allocations: 11.86 kB / 0.5835 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.5669, allocations: 7.984 kB / 0.5835 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.5809, allocations: 7.126 MB / 0.5905 GB, free: 4.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/0.5809, allocations: 8 kB / 0.5905 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.5817, allocations: 179.7 kB / 0.5907 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/0.5817, allocations: 8 kB / 0.5907 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.441e-05/0.5818, allocations: 35.92 kB / 0.5907 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.076e-05/0.5819, allocations: 15.94 kB / 0.5907 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.5819, allocations: 11.94 kB / 0.5907 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.585, allocations: 2.283 MB / 0.593 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009505/0.586, allocations: 365.3 kB / 0.5933 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006807/0.5866, allocations: 31.92 kB / 0.5933 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.5879, allocations: 39.97 kB / 0.5934 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.588, allocations: 84.44 kB / 0.5935 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.5882, allocations: 51.98 kB / 0.5935 GB, free: 1.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004172/0.5923, allocations: 2.016 MB / 0.5955 GB, free: 15.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5924, allocations: 0 / 0.5955 GB, free: 15.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005042/0.5974, allocations: 1.039 MB / 0.5965 GB, free: 14.13 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (102): * Single equations (assignments): 96 * Array equations: 6 * 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.003814/0.6012, allocations: 2.944 MB / 0.5994 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006414/0.6077, allocations: 3.59 MB / 0.6029 GB, free: 7.508 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.6077, allocations: 0 / 0.6029 GB, free: 7.508 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.6089, allocations: 0.9332 MB / 0.6038 GB, free: 6.578 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/0.6134, allocations: 305.5 kB / 0.6041 GB, free: 6.285 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2824/0.8958, allocations: 39 MB / 0.6422 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003245/0.8991, allocations: 3.074 MB / 0.6452 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003418/0.9025, allocations: 1.738 MB / 0.6469 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/0.9044, allocations: 1.593 MB / 0.6484 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.523e-06/0.9044, allocations: 0 / 0.6484 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09106/0.9955, allocations: 48.19 MB / 0.6955 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/0.9957, allocations: 208.5 kB / 0.6957 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/3.951, allocations: 0 / 0.6957 GB, free: 114.9 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches