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.001984/0.001984, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002414/0.002414, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.228/0.228, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.002067/0.002067, allocations: 71.91 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3586, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01535/0.374, allocations: 12.7 MB / 0.573 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.3847, allocations: 4.486 MB / 0.5774 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.3873, allocations: 119.4 kB / 0.5775 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006349/0.3936, allocations: 3.014 MB / 0.5804 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005604/0.3992, allocations: 2.098 MB / 0.5825 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.4013, allocations: 1.022 MB / 0.5835 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009676/0.411, allocations: 6.953 MB / 0.5903 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004031/0.415, allocations: 2.852 MB / 0.593 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003323/0.4183, allocations: 1.846 MB / 0.5949 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004737/0.4231, allocations: 2.699 MB / 0.5975 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.4241, allocations: 356 kB / 0.5978 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.4263, allocations: 0.8819 MB / 0.5987 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.4291, allocations: 2.353 MB / 0.601 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003219/0.4324, allocations: 1.881 MB / 0.6028 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009306/0.4417, allocations: 7.025 MB / 0.6097 GB, free: 1.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4417, allocations: 0 / 0.6097 GB, free: 1.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4417, allocations: 0 / 0.6097 GB, free: 1.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002209/0.4419, allocations: 0 / 0.6097 GB, free: 1.734 MB / 446.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.01603/0.4579, allocations: 5.494 MB / 0.615 GB, free: 12.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.458, allocations: 8.031 kB / 0.6151 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001241/0.4592, allocations: 0.5081 MB / 0.6156 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1108/0.5701, allocations: 8.226 MB / 0.6236 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01739/0.5874, allocations: 5.13 MB / 0.6286 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.5878, allocations: 211.9 kB / 0.6288 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001286/0.5891, allocations: 283.8 kB / 0.6291 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.6051, allocations: 6.989 MB / 0.6359 GB, free: 6.148 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.6053, allocations: 59.59 kB / 0.6359 GB, free: 6.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004241/0.6057, allocations: 123.9 kB / 0.6361 GB, free: 5.969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001764/0.6075, allocations: 1.009 MB / 0.6371 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.6187, allocations: 4.916 MB / 0.6419 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03918/0.6578, allocations: 26.17 MB / 0.6674 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.6606, allocations: 0.7153 MB / 0.6681 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.6609, allocations: 208.3 kB / 0.6683 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.6609, allocations: 11.94 kB / 0.6683 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/0.661, allocations: 42.56 kB / 0.6684 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.755e-06/0.661, allocations: 0 / 0.6684 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.00725/0.6683, allocations: 1.97 MB / 0.6703 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.6684, allocations: 243.3 kB / 0.6705 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009074/0.6775, allocations: 4.905 MB / 0.6753 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.973e-05/0.6776, allocations: 37.7 kB / 0.6753 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002708/0.6803, allocations: 2.841 MB / 0.6781 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.6805, allocations: 202.7 kB / 0.6783 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009724/0.6815, allocations: 0.7225 MB / 0.679 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6816, allocations: 301.1 kB / 0.6793 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.683, allocations: 0.7992 MB / 0.6801 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/0.6866, allocations: 3.493 MB / 0.6835 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005472/0.6921, allocations: 4.542 MB / 0.6879 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-05/0.6921, allocations: 28 kB / 0.688 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007344/0.6995, allocations: 4.071 MB / 0.6919 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/0.6995, allocations: 47.98 kB / 0.692 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.6996, allocations: 96 kB / 0.6921 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.6998, allocations: 120.8 kB / 0.6922 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.7022, allocations: 0.8541 MB / 0.693 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001594/0.7023, allocations: 187.8 kB / 0.6932 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/0.7058, allocations: 0.5547 MB / 0.6937 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003384/0.7061, allocations: 236 kB / 0.694 GB, free: 7.074 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.002614/0.7087, allocations: 1.617 MB / 0.6955 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008558/0.7096, allocations: 401.4 kB / 0.6959 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007788/0.7104, allocations: 397.2 kB / 0.6963 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.7104, allocations: 8.359 kB / 0.6963 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.7104, allocations: 3.938 kB / 0.6963 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.7104, allocations: 4 kB / 0.6963 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008444/0.7188, allocations: 4.565 MB / 0.7008 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.7188, allocations: 20.19 kB / 0.7008 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.7192, allocations: 115.8 kB / 0.7009 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.89e-05/0.7192, allocations: 16 kB / 0.7009 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.7193, allocations: 28 kB / 0.701 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.189e-05/0.7193, allocations: 23.92 kB / 0.701 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-05/0.7193, allocations: 27.81 kB / 0.701 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.721, allocations: 1.256 MB / 0.7022 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.7222, allocations: 425.1 kB / 0.7026 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004618/0.7227, allocations: 31.98 kB / 0.7027 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00099/0.7237, allocations: 35.92 kB / 0.7027 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.7238, allocations: 91.55 kB / 0.7028 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.7238, allocations: 28 kB / 0.7028 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005237/0.7291, allocations: 3.144 MB / 0.7059 GB, free: 10.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7291, allocations: 0 / 0.7059 GB, free: 10.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003467/0.7325, allocations: 0.8267 MB / 0.7067 GB, free: 9.555 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.002041/0.7346, allocations: 1.844 MB / 0.7085 GB, free: 7.492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003466/0.7381, allocations: 1.875 MB / 0.7103 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.7381, allocations: 0 / 0.7103 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.7384, allocations: 262.4 kB / 0.7106 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/0.7421, allocations: 0.6726 MB / 0.7112 GB, free: 4.715 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3165/1.059, allocations: 34.7 MB / 0.7451 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002717/1.061, allocations: 2.301 MB / 0.7474 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002588/1.064, allocations: 1.159 MB / 0.7485 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/1.066, allocations: 1.694 MB / 0.7501 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/1.066, allocations: 0 / 0.7501 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/1.173, allocations: 68.47 MB / 0.817 GB, free: 75.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.07/17.24, allocations: 7.984 kB / 0.817 GB, free: 75.57 MB / 0.5606 GB " [Timeout remaining time 643] (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: 21.463857363909483]