Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 115.6 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 212.9 kB / 23.74 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2181/0.2181, allocations: 46.95 MB / 360.9 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3228, allocations: 66.03 MB / 0.5606 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01642/0.3392, allocations: 14.72 MB / 0.575 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3495, allocations: 4.715 MB / 0.5796 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/0.352, allocations: 119.4 kB / 0.5797 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006516/0.3586, allocations: 3.154 MB / 0.5828 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005423/0.364, allocations: 2.086 MB / 0.5848 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.3662, allocations: 1.01 MB / 0.5858 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01008/0.3763, allocations: 6.964 MB / 0.5926 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004328/0.3806, allocations: 2.859 MB / 0.5954 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.3842, allocations: 1.854 MB / 0.5972 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004584/0.3888, allocations: 2.828 MB / 0.6 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.3898, allocations: 360 kB / 0.6003 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.392, allocations: 0.9092 MB / 0.6012 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003014/0.395, allocations: 2.357 MB / 0.6035 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003908/0.399, allocations: 2.386 MB / 0.6059 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008734/0.4077, allocations: 6.97 MB / 0.6127 GB, free: 14.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4077, allocations: 4 kB / 0.6127 GB, free: 14.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4077, allocations: 0 / 0.6127 GB, free: 14.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001927/0.4079, allocations: 0 / 0.6127 GB, free: 14.92 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.014/0.4219, allocations: 5.488 MB / 0.618 GB, free: 9.367 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4219, allocations: 16.02 kB / 0.618 GB, free: 9.352 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00118/0.4231, allocations: 0.5158 MB / 0.6186 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09558/0.5187, allocations: 8.215 MB / 0.6266 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.5297, allocations: 5.126 MB / 0.6316 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.5299, allocations: 205.6 kB / 0.6318 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006658/0.5305, allocations: 291.8 kB / 0.6321 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.5433, allocations: 6.91 MB / 0.6388 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/0.5434, allocations: 59.59 kB / 0.6389 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/0.5438, allocations: 123.9 kB / 0.639 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/0.5453, allocations: 0.9978 MB / 0.64 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.5556, allocations: 4.943 MB / 0.6448 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03671/0.5923, allocations: 27.18 MB / 0.6713 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.5949, allocations: 0.7232 MB / 0.672 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.5952, allocations: 216.4 kB / 0.6722 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.5953, allocations: 11.98 kB / 0.6722 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.5953, allocations: 38.56 kB / 0.6723 GB, free: 340 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.806e-06/0.5953, allocations: 3.938 kB / 0.6723 GB, free: 336 kB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007061/0.6024, allocations: 1.962 MB / 0.6742 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.6025, allocations: 243.3 kB / 0.6744 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008405/0.611, allocations: 4.761 MB / 0.6791 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/0.611, allocations: 29.7 kB / 0.6791 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00255/0.6136, allocations: 2.845 MB / 0.6819 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.6138, allocations: 202.8 kB / 0.6821 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008888/0.6147, allocations: 0.7263 MB / 0.6828 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6148, allocations: 301.1 kB / 0.6831 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.6161, allocations: 0.7915 MB / 0.6839 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/0.6195, allocations: 3.421 MB / 0.6872 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005434/0.625, allocations: 4.546 MB / 0.6916 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-05/0.625, allocations: 28 kB / 0.6917 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007771/0.6328, allocations: 4.068 MB / 0.6956 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.6329, allocations: 52 kB / 0.6957 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/0.633, allocations: 92 kB / 0.6958 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.6331, allocations: 124 kB / 0.6959 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.6356, allocations: 0.8538 MB / 0.6967 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001464/0.6357, allocations: 179.3 kB / 0.6969 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/0.6391, allocations: 0.5508 MB / 0.6974 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003844/0.6395, allocations: 236 kB / 0.6977 GB, free: 3.574 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 449 * Array equations: 0 * 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.002608/0.6421, allocations: 1.625 MB / 0.6992 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008307/0.6429, allocations: 397.8 kB / 0.6996 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007831/0.6437, allocations: 393.2 kB / 0.7 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.6437, allocations: 8 kB / 0.7 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.6437, allocations: 48 / 0.7 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.6437, allocations: 7.922 kB / 0.7 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008654/0.6524, allocations: 4.732 MB / 0.7046 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/0.6524, allocations: 16 kB / 0.7046 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.6528, allocations: 115.8 kB / 0.7048 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.999e-05/0.6528, allocations: 20.75 kB / 0.7048 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.6529, allocations: 28 kB / 0.7048 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.151e-05/0.6529, allocations: 28.55 kB / 0.7048 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.926e-05/0.6529, allocations: 27.81 kB / 0.7049 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.6547, allocations: 1.252 MB / 0.7061 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.656, allocations: 433 kB / 0.7065 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007957/0.6568, allocations: 28 kB / 0.7065 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.6582, allocations: 35.97 kB / 0.7066 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.6583, allocations: 83.55 kB / 0.7066 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.6584, allocations: 40 kB / 0.7067 GB, free: 9.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006087/0.6644, allocations: 3.132 MB / 0.7097 GB, free: 6.715 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6644, allocations: 0 / 0.7097 GB, free: 6.715 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004358/0.6688, allocations: 0.8344 MB / 0.7105 GB, free: 5.879 MB / 0.545 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 (61): * Single equations (assignments): 61 * Array equations: 0 * 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.002088/0.6709, allocations: 1.841 MB / 0.7123 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003342/0.6742, allocations: 1.871 MB / 0.7142 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.6742, allocations: 3.984 kB / 0.7142 GB, free: 1.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.6746, allocations: 258.3 kB / 0.7144 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/0.678, allocations: 0.673 MB / 0.7151 GB, free: 1.043 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3124/0.9904, allocations: 34.72 MB / 0.749 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/0.9925, allocations: 2.846 MB / 0.7518 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002356/0.9949, allocations: 1.158 MB / 0.7529 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/0.9964, allocations: 1.698 MB / 0.7546 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.233e-06/0.9964, allocations: 0 / 0.7546 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/1.104, allocations: 69.63 MB / 0.8226 GB, free: 70.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.05/21.15, allocations: 2.672 kB / 0.8226 GB, free: 70.4 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 25.17612287704833]