Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_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.001315/0.001315, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001396/0.001396, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1784/0.1784, allocations: 44.17 MB / 336.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.72 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08517/0.08634, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02249/0.1089, allocations: 28.84 MB / 497.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00973/0.1186, allocations: 5.632 MB / 0.4913 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003181/0.1218, allocations: 115.8 kB / 0.4914 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.1242, allocations: 1.281 MB / 0.4927 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.1264, allocations: 1.183 MB / 0.4938 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1267, allocations: 79.8 kB / 0.4939 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003358/0.1301, allocations: 4.11 MB / 0.4979 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.132, allocations: 1.753 MB / 0.4996 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1333, allocations: 0.9336 MB / 0.5005 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.1351, allocations: 1.569 MB / 0.5021 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004248/0.1355, allocations: 155.9 kB / 0.5022 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009292/0.1364, allocations: 455.3 kB / 0.5027 GB, free: 476 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1722/0.3086, allocations: 1.399 MB / 0.504 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.3102, allocations: 1.7 MB / 0.5057 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004672/0.3149, allocations: 5.209 MB / 0.5108 GB, free: 12.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3149, allocations: 1.344 kB / 0.5108 GB, free: 12.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3149, allocations: 0 / 0.5108 GB, free: 12.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.672e-05/0.315, allocations: 1.094 kB / 0.5108 GB, free: 12.44 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.00486/0.3198, allocations: 3.673 MB / 0.5144 GB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3199, allocations: 9.938 kB / 0.5144 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007069/0.3206, allocations: 0.6799 MB / 0.515 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00882/0.3294, allocations: 2.978 MB / 0.5179 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.3318, allocations: 1.546 MB / 0.5194 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.3319, allocations: 181.1 kB / 0.5196 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003879/0.3323, allocations: 226.9 kB / 0.5198 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.3437, allocations: 9.708 MB / 0.5293 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.3438, allocations: 20.72 kB / 0.5293 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.3441, allocations: 111.2 kB / 0.5294 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003197/0.3473, allocations: 2.442 MB / 0.5318 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.3607, allocations: 8.809 MB / 0.5404 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.3993, allocations: 30.67 MB / 0.5704 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/0.404, allocations: 3.273 MB / 0.5736 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.4052, allocations: 0.918 MB / 0.5745 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/0.4052, allocations: 19.56 kB / 0.5745 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.4053, allocations: 47.56 kB / 0.5745 GB, free: 14.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.507e-06/0.4053, allocations: 0 / 0.5745 GB, free: 14.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.006838/0.4121, allocations: 3.368 MB / 0.5778 GB, free: 11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.4122, allocations: 64.39 kB / 0.5779 GB, free: 10.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/0.4164, allocations: 3.131 MB / 0.5809 GB, free: 7.773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.26e-05/0.4165, allocations: 44.12 kB / 0.581 GB, free: 7.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001703/0.4182, allocations: 2.673 MB / 0.5836 GB, free: 5.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005137/0.4188, allocations: 0.5636 MB / 0.5842 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.42, allocations: 0.9712 MB / 0.5851 GB, free: 3.516 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.4201, allocations: 309.1 kB / 0.5854 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.4222, allocations: 1.532 MB / 0.5869 GB, free: 1.672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/0.4259, allocations: 4.446 MB / 0.5912 GB, free: 11.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006206/0.4321, allocations: 6.541 MB / 0.5976 GB, free: 4.254 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.924e-05/0.4322, allocations: 32 kB / 0.5977 GB, free: 4.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.007984/0.4402, allocations: 5.83 MB / 0.6033 GB, free: 15.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.4403, allocations: 52 kB / 0.6034 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.4404, allocations: 100 kB / 0.6035 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.4405, allocations: 136 kB / 0.6036 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/0.4432, allocations: 1.06 MB / 0.6047 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001416/0.4434, allocations: 203.7 kB / 0.6048 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.446, allocations: 0.6839 MB / 0.6055 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/0.4463, allocations: 299 kB / 0.6058 GB, free: 12.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,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 (588): * Single equations (assignments): 582 * 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.002602/0.4489, allocations: 1.939 MB / 0.6077 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.4492, allocations: 256.6 kB / 0.6079 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00052/0.4498, allocations: 331.8 kB / 0.6083 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.4498, allocations: 23.36 kB / 0.6083 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.4498, allocations: 3.938 kB / 0.6083 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4498, allocations: 3.984 kB / 0.6083 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008729/0.4586, allocations: 6.886 MB / 0.615 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.4586, allocations: 8 kB / 0.615 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/0.4592, allocations: 175.8 kB / 0.6152 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.4592, allocations: 8 kB / 0.6152 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/0.4593, allocations: 28 kB / 0.6152 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.4593, allocations: 22.73 kB / 0.6152 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4594, allocations: 10.72 kB / 0.6153 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.4617, allocations: 2.249 MB / 0.6174 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.4621, allocations: 352.1 kB / 0.6178 GB, free: 256 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.4624, allocations: 28.67 kB / 0.6178 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.4631, allocations: 47.89 kB / 0.6179 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.4632, allocations: 77.95 kB / 0.6179 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.4633, allocations: 54.33 kB / 0.618 GB, free: 56 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002281/0.4656, allocations: 1.983 MB / 0.6199 GB, free: 14.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4656, allocations: 0 / 0.6199 GB, free: 14.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00289/0.4685, allocations: 1.014 MB / 0.6209 GB, free: 13.06 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (100): * Single equations (assignments): 94 * 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.002752/0.4713, allocations: 2.9 MB / 0.6237 GB, free: 10.06 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004077/0.4754, allocations: 3.558 MB / 0.6272 GB, free: 6.551 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4754, allocations: 4 kB / 0.6272 GB, free: 6.547 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009899/0.4764, allocations: 0.9161 MB / 0.6281 GB, free: 5.629 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.4777, allocations: 307.8 kB / 0.6284 GB, free: 5.336 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04298/0.5207, allocations: 38.16 MB / 0.6657 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002933/0.5236, allocations: 3.018 MB / 0.6686 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003427/0.5271, allocations: 1.722 MB / 0.6703 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/0.5288, allocations: 1.542 MB / 0.6718 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of SimCode: time 1.724e-06/0.5288, allocations: 0 / 0.6718 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.532/4.061, allocations: 47.98 MB / 0.7187 GB, free: 208.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/4.061, allocations: 196.3 kB / 0.7189 GB, free: 208.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.675/7.736, allocations: 1.281 kB / 0.7189 GB, free: 208.5 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches